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

📄 ftp.h

📁 prozgui是一款Linxu下著名的下载工具
💻 H
字号:
/****************************************************************************** libprozilla - a download accelerator library Copyright (C) 2001 Kalum Somaratna This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA******************************************************************************//* FTP support. *//* $Id: ftp.h,v 1.33 2001/07/11 23:19:41 kalum Exp $ */#ifndef FTP_H#define FTP_H#include "common.h"#include "url.h"#include "connection.h"#ifdef __cplusplusextern "C" {#endif  int ftp_check_msg(connection_t * connection, int len);  int ftp_read_msg(connection_t * connection, int len);  uerr_t ftp_send_msg(connection_t * connection, const char *format, ...);  uerr_t ftp_get_line(connection_t * connection, char *line);  uerr_t ftp_ascii(connection_t * connection);  uerr_t ftp_binary(connection_t * connection);  uerr_t ftp_port(connection_t * connection, const char *command);  uerr_t ftp_list(connection_t * connection, const char *file);  uerr_t ftp_retr(connection_t * connection, const char *file);  uerr_t ftp_pasv(connection_t * connection, unsigned char *addr);  uerr_t ftp_rest(connection_t * connection, long bytes);  uerr_t ftp_cwd(connection_t * connection, const char *dir);  uerr_t ftp_pwd(connection_t * connection, const char *dir);  uerr_t ftp_size(connection_t * connection, const char *file, long *size);  uerr_t ftp_connect_to_server(connection_t * connection, const char *name,			       int port);  uerr_t ftp_get_listen_socket(connection_t * connection,			       int *listen_sock);  uerr_t ftp_login(connection_t * connection, const char *username,		   const char *passwd);  boolean ftp_use_proxy(connection_t * connection);  uerr_t proz_ftp_get_url_info(connection_t * connection);  uerr_t ftp_setup_data_sock_1(connection_t * connection,			       boolean * passive_mode);  uerr_t ftp_setup_data_sock_2(connection_t * connection,			       boolean * passive_mode);  uerr_t ftp_get_url_info_loop(connection_t * connection);  uerr_t ftp_get_url_info_from_http_proxy(connection_t * connection);#ifdef __cplusplus}#endif#endif				/* FTP_H */

⌨️ 快捷键说明

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