mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-04 02:44:44 +00:00
Deprecated ftpclient module.
This commit is contained in:
@@ -13,7 +13,12 @@ import sockets, strutils, parseutils, times, os, asyncio
|
||||
from asyncnet import nil
|
||||
from rawsockets import nil
|
||||
from asyncdispatch import PFuture
|
||||
|
||||
## **Note**: This module is deprecated since version 0.11.3.
|
||||
## You should use the async version of this module
|
||||
## `asyncftpclient <asyncftpclient.html>`_.
|
||||
##
|
||||
## ----
|
||||
##
|
||||
## This module **partially** implements an FTP client as specified
|
||||
## by `RFC 959 <http://tools.ietf.org/html/rfc959>`_.
|
||||
##
|
||||
@@ -36,6 +41,8 @@ from asyncdispatch import PFuture
|
||||
## **Warning:** The API of this module is unstable, and therefore is subject
|
||||
## to change.
|
||||
|
||||
{.deprecated.}
|
||||
|
||||
type
|
||||
FtpBase*[SockType] = ref FtpBaseObj[SockType]
|
||||
FtpBaseObj*[SockType] = object
|
||||
|
||||
@@ -82,6 +82,8 @@ News
|
||||
result = $x & y
|
||||
|
||||
echo f(0, "abc")
|
||||
- The ``ftpclient`` module is now deprecated in favour of the
|
||||
``asyncdispatch`` module.
|
||||
|
||||
|
||||
Library Additions
|
||||
|
||||
Reference in New Issue
Block a user