Deprecated ftpclient module.

This commit is contained in:
Dominik Picheta 2015-09-17 23:05:16 +01:00
commit 0f933bbf55
2 changed files with 10 additions and 1 deletions

View file

@ -13,7 +13,12 @@ import sockets, strutils, parseutils, times, os, asyncio
from asyncnet import nil from asyncnet import nil
from rawsockets import nil from rawsockets import nil
from asyncdispatch import PFuture 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 ## This module **partially** implements an FTP client as specified
## by `RFC 959 <http://tools.ietf.org/html/rfc959>`_. ## 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 ## **Warning:** The API of this module is unstable, and therefore is subject
## to change. ## to change.
{.deprecated.}
type type
FtpBase*[SockType] = ref FtpBaseObj[SockType] FtpBase*[SockType] = ref FtpBaseObj[SockType]
FtpBaseObj*[SockType] = object FtpBaseObj*[SockType] = object

View file

@ -82,6 +82,8 @@ News
result = $x & y result = $x & y
echo f(0, "abc") echo f(0, "abc")
- The ``ftpclient`` module is now deprecated in favour of the
``asyncdispatch`` module.
Library Additions Library Additions