?? ftpcmain.c
字號:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "tcplib.h"
//===================================================
int main(void)
{ int len;
char *server="202.114.6.48";
int port=21;
char *user="hls";
char *pass="123";
char *lfile="d:\\temp\\a.txt";
char *rfile="book/b.txt";
char *rfile1="book/a.txt";
init_tcplib();
settcpdebug(0);
ftpdownload(server,port,user,pass,rfile,lfile,180);
//ftpupload(server,port,user,pass,rfile1,lfile,180);
return 0;
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -