- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
ftpcli.h
资源名称:export.zip [点击查看]
上传用户:hepax88
上传日期:2007-01-03
资源大小:1101k
文件大小:1k
源码类别:
TCP/IP协议栈
开发平台:
Visual C++
- #ifndef _FTPCLI_H
- #define _FTPCLI_H
- #include <stdio.h>
- #ifndef _FTP_H
- #include "ftp.h"
- #endif
- #ifndef _SESSION_H
- #include "session.h"
- #endif
- #define LINELEN 256 /* Length of user command buffer */
- /* Per-session FTP client control block */
- struct ftpcli {
- FILE *control;
- FILE *data;
- char state;
- #define COMMAND_STATE 0 /* Awaiting user command */
- #define SENDING_STATE 1 /* Sending data to user */
- #define RECEIVING_STATE 2 /* Storing data from user */
- uint16 verbose; /* Transfer verbosity level */
- int batch; /* Command batching flag */
- int abort; /* Aborted transfer flag */
- int update; /* Compare with MD5 during mput/mget */
- char type; /* Transfer type */
- char typesent; /* Last type command sent to server */
- int logbsize; /* Logical byte size for logical type */
- FILE *fp; /* File descriptor being transferred */
- char buf[LINELEN]; /* Command buffer */
- char line[LINELEN]; /* Last response from server */
- struct session *session;
- };
- #endif /* _FTPCLI_H */