ftpdwl0.h

来自「C语言源代码及相关资料」· C头文件 代码 · 共 18 行

H
18
字号
#ifndef	__FTP_DWL_H__
#define	__FTP_DWL_H__

typedef	int	(*CALLBACK_FTP) ( unsigned char * p, int nbytes, int seek );

int		ftp_get_response   ( int ctrl, unsigned char * presponse, int size, int timeout );

int		ftp_login          ( int ctrl, unsigned char * pusername, unsigned char * ppassword );

int		ftp_set_pasv       ( int ctrl );
int		ftp_get_pasv_param ( unsigned char * presponse, unsigned char * pip, int * pport );

int		ftp_get_file       ( int ctrl, int data, unsigned char * pfilename, int start, int size, CALLBACK_FTP fn );

int		ftp_dwl ( unsigned char * pip, int port, unsigned char * pusername, unsigned char * ppassword, unsigned char * pfilename, int start, int size, CALLBACK_FTP fn );

#endif//__FTP_DWL_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?