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

📄 downfromftp.h

📁 linux下http和ftp下载工具
💻 H
字号:
/***********************************************************************
* File name: DownFromHTTP.h
* Author: Version: Date: likun
* Description: 
*
* Others:
* Function List:
* 1. ....
* History:
* 1. Date:2008-3-21
* Author:likun create this file
* Modification:
* 2. ...
*************************************************************************/

#ifndef __DOWNFROMFTP_H__
#define __DOWNFROMFTP_H__
#include "Dload.h"

#ifdef __cplusplus
extern "C" {
#endif

/*FTP断点续传文件扩展名*/
#define DLOAD_FTPBRFILE_EXT "ftpbrfile"

extern int FtpStartTask(HDLProtocolHandle hProtocolHandle);
extern int FtpPauseTask(HDLProtocolHandle hProtocolHandle);
extern int FtpDelTask(HDLProtocolHandle hProtocolHandle);
extern int FtpResumeTask(HDLProtocolHandle hProtocolHandle);
extern int FtpGetTaskInfo(HDLProtocolHandle hProtocolHandle, DLoadTaskPubInfo *pDloadTaskPub);
extern int FtpRegFinishCallback(HDLProtocolHandle hProtocolHandle, int (*fnDLoadFinish)(void *));
extern int FtpSerUserPasswd(HDLProtocolHandle hProtocolHandle, char *UserName, char *PassWd);
extern int FtpInitFileInfoFromFile(HDLProtocolHandle *phProtocolHandle, const char *file);
extern int FtpInitFileInfoFromUrl(HDLProtocolHandle *phProtocolHandle, DLoadUrlInfo *pUrlInfo);
extern int FtpUnInitFileInfoFromUrl(HDLProtocolHandle phProtocolHandle);

#ifdef _cplusplus
}
#endif

#endif


⌨️ 快捷键说明

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