資源簡介
FTP(File Transfer Protocol)協議主要用來在網絡上進行文件傳輸。FTP通訊除了有一個默認的端口21外,還有其他端口,同城兩個端口同時進行數據傳輸。一個是默認的端口(通常為21),主要進行控制連接,即進行命令協議及服務器端響應碼的傳輸。另一個非標準端口主要進行數據,上傳下載文件等。
代碼片段和文件信息
//?ftptest.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“ftptest.h“
#include?“ftptestDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CFtptestApp
BEGIN_MESSAGE_MAP(CFtptestApp?CWinApp)
//{{AFX_MSG_MAP(CFtptestApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CFtptestApp?construction
CFtptestApp::CFtptestApp()
{
//?TODO:?add?construction?code
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2171??2008-06-12?11:29??ftptest\ftptest.cpp
?????文件???????4308??2008-06-14?14:23??ftptest\ftptest.dsp
?????文件???????1335??2008-06-12?11:29??ftptest\ftptest.h
?????文件???????5040??2008-06-12?11:29??ftptest\ftptest.rc
?????文件???????4486??2008-06-12?13:32??ftptest\ftptestDlg.cpp
?????文件???????1454??2008-06-12?13:23??ftptest\ftptestDlg.h
?????文件???????2216??2008-06-14?14:45??ftptest\FtpThread.cpp
?????文件???????1337??2008-06-12?11:38??ftptest\FtpThread.h
?????文件???????3597??2008-06-12?11:29??ftptest\ReadMe.txt
?????文件????????575??2008-06-12?11:29??ftptest\Resource.h
?????文件????????209??2008-06-12?11:29??ftptest\StdAfx.cpp
?????文件???????1124??2008-06-12?11:38??ftptest\StdAfx.h
?????文件???????1078??2008-06-12?11:29??ftptest\res\ftptest.ico
?????文件????????399??2008-06-12?11:29??ftptest\res\ftptest.rc2
?????目錄??????????0??2008-11-09?20:55??ftptest\res
?????目錄??????????0??2008-11-09?20:55??ftptest
-----------?---------??----------?-----??----
????????????????29329????????????????????16
- 上一篇:基于RRT及其改進型的路徑規劃算法
- 下一篇:windows api 大全(比較全)
評論
共有 條評論