在ftplib-3.1-1-linux.tar.gz,修改了一个BUG,和增加了一个函数

源代码在线查看: ftpsize.html

软件大小: 74 K
上传用户: teasler111
关键词: ftplib linux 3.1 BUG
下载地址: 免注册下载 普通下载 VIP

相关代码

								FtpSize												FtpSize				Determine size of remote file.								SYNOPSIS								#include <ftplib.h>				int FtpSize(char *path, int *size, char mode, netbuf *nControl);												PARAMETERS												path				A pointer to a buffer where the result should be returned.								size				A pointer to an int where the size will be returned.								mode				Specifies the transfer mode as FTPLIB_ASCII or FTPLIB_IMAGE.								nControl				A handle returned by FtpConnect().																DESCRIPTION				FtpSize() attempts to determine the size of a remote file.								RETURN VALUE				If a good response is received and the size is successfully parsed out				of the result, 1 is returned.  Otherwise, 0 is returned.								Some servers may not support the SIZE command.  If this request fails,				the size may be available in the response to a RETR (				href=FtpOpen.html>FtpOpen() with typ=FTPLIB_FILE_READ).																			

相关资源