⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 htftp.h

📁 www工具包. 这是W3C官方支持的www支撑库. 其中提供通用目的的客户端的WebAPI: complete HTTP/1.1 (with caching, pipelining, PUT, POS
💻 H
字号:
/*					W3C Sample Code Library libwww FTP CLIENT!FTP access functions!*//***	(c) COPYRIGHT MIT 1995.**	Please first read the full copyright statement in the file COPYRIGH.*//*This is the FTP load module that handles all communication withFTP-servers. This module is implemented by HTFTP.c, and it isa part of the W3CSample Code Library.*/#ifndef HTFTP_H#define HTFTP_H#include "HTProt.h"extern HTProtCallback HTLoadFTP;typedef enum _FTPServerType {    FTP_GENERIC 	= 0x1,    FTP_MACHTEN		= 0x2,    FTP_UNIX		= 0x4,    FTP_VMS		= 0x8,    FTP_CMS		= 0x10,    FTP_DCTS		= 0x20,    FTP_TCPC		= 0x40,    FTP_PETER_LEWIS	= 0x80,    FTP_NCSA		= 0x200,    FTP_WINNT		= 0x400,    FTP_UNSURE		= 0x8000} FTPServerType;#define MAX_FTP_LINE	128			 /* Don't use more than this *//*.  Global Transfer Mode.Can be used to set the default transfer mode overruling what may beindicated in the FTP URL.Added by Neil Griffin, GAIN Software*/typedef enum _FTPTransferMode {    FTP_DEFAULT_TRANSFER_MODE   = 0,    FTP_ASCII_TRANSFER_MODE     = 1,    FTP_BINARY_TRANSFER_MODE    = 2,    FTP_DIR_TRANSFER_MODE       = 3} FTPTransferMode;extern FTPTransferMode HTFTP_transferMode (void);extern void HTFTP_setTransferMode (FTPTransferMode mode);/*.  Global Control Mode.Can be used to set the default control modes for various FTP settingslike always aski for user name and password, etc.*/typedef enum _FTPControlMode {    FTP_DEFAULT_CONTROL_MODE   = 0,    FTP_ALWAYS_ASK_UID_PW      = 1} FTPControlMode;extern FTPControlMode HTFTP_controlMode (void);extern void HTFTP_setControlMode (FTPControlMode mode);/**/#endif/*@(#) $Id: HTFTP.html,v 2.40 1998/05/19 16:49:26 frystyk Exp $*/

⌨️ 快捷键说明

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