Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
ftp.h
Package: export.zip [view]
Upload User: hepax88
Upload Date: 2007-01-03
Package Size: 1101k
Code Size: 1k
Category:
TCP/IP Stack
Development Platform:
Visual C++
- #ifndef _FTP_H
- #define _FTP_H
- /* Definitions common to both FTP servers and clients */
- enum ftp_type {
- ASCII_TYPE,
- IMAGE_TYPE,
- LOGICAL_TYPE
- };
- /* Verbosity levels for sendfile and recvfile in ftpsubr.c */
- enum verb_level {
- V_QUIET, /* Error messages only */
- V_SHORT, /* Final message only */
- V_NORMAL, /* display control messages */
- V_HASH, /* control messages, hash marks */
- V_STAT /* Full-blown status display */
- };
- /* In ftpsubr.c: */
- long sendfile(FILE *fp,FILE *network,enum ftp_type mode,enum verb_level verb);
- long recvfile(FILE *fp,FILE *network,enum ftp_type mode,enum verb_level verb);
- int isbinary(FILE *fp);
- int md5hash(FILE *fp,uint8 hash[16],int ascii);
- #endif /* _FTP_H */