#include <unistd.h>#include <sys/types.h>#include <sys/socket.h>#include <sys/uio.h>#include <fcntl.h>#include <string.h>#include <errno.h>#include "liboftp.h"#include "sub.h"マクロ定義 | |
| #define | TRANSFER_SEGMENT_SIZE 1024 |
関数 | |
| int | ftp_get_file (LIBOFTP *ftp, const char *fname, const char *local_fname) |
| #define TRANSFER_SEGMENT_SIZE 1024 |
| int ftp_get_file | ( | LIBOFTP * | ftp, | |
| const char * | fname, | |||
| const char * | local_fname | |||
| ) |
ファイル取得してローカルファイルへ
| ftp | LIBOFTPへのポインタ。 | |
| fname | サーバ上のファイル名 | |
| local_fname | ローカルファイル名 |
| int | エラーコード |
1.5.9