當前位置:首頁 » 文件傳輸 » ftp基礎應用視頻
擴展閱讀
webinf下怎麼引入js 2023-08-31 21:54:13
堡壘機怎麼打開web 2023-08-31 21:54:11

ftp基礎應用視頻

發布時間: 2022-08-21 08:31:24

1. FTP有哪些應用

什麼是FTP呢?FTP 是 TCP/IP 協議組中的協議之一,是英文File Transfer Protocol的縮寫。該協議是Internet文件傳送的基礎,它由一系列規格說明文檔組成,目標是提高文件的共享性,提供非直接使用遠程計算機,使存儲介質對用戶透明和可靠高效地傳送數據。簡單的說,FTP就是完成兩台計算機之間的拷貝,從遠程計算機拷貝文件至自己的計算機上,稱之為「下載(download)」文件。若將文件從自己計算機中拷貝至遠程計算機上,則稱之為「上載(upload)」文件。在TCP/IP協議中,FTP標准命令TCP埠號為21,Port方式數據埠為20。FTP協議的任務是從一台計算機將文件傳送到另一台計算機,它與這兩台計算機所處的位置、聯接的方式、甚至是是否使用相同的操作系統無關。假設兩台計算機通過ftp協議對話,並且能訪問Internet, 你可以用ftp命令來傳輸文件。每種操作系統使用上有某一些細微差別,但是每種協議基本的命令結構是相同的。
FTP的傳輸有兩種方式:ASCII傳輸模式和二進制數據傳輸模式。
1.ASCII傳輸方式:假定用戶正在拷貝的文件包含的簡單ASCII碼文本,如果在遠程機器上運行的不是UNIX,當文件傳輸時ftp通常會自動地調整文件的內容以便於把文件解釋成另外那台計算機存儲文本文件的格式。
但是常常有這樣的情況,用戶正在傳輸的文件包含的不是文本文件,它們可能是程序,資料庫,字處理文件或者壓縮文件(盡管字處理文件包含的大部分是文本,其中也包含有指示頁尺寸,字型檔等信息的非列印字元)。在拷貝任何非文本文件之前,用binary 命令告訴ftp逐字拷貝,不要對這些文件進行處理,這也是下面要講的二進制傳輸。
2.二進制傳輸模式:在二進制傳輸中,保存文件的位序,以便原始和拷貝的是逐位一一對應的。即使目的地機器上包含位序列的文件是沒意義的。例如,macintosh以二進制方式傳送可執行文件到Windows系統,在對方系統上,此文件不能執行。
如果你在ASCII方式下傳輸二進制文件,即使不需要也仍會轉譯。這會使傳輸稍微變慢 ,也會損壞數據,使文件變得不能用。(在大多數計算機上,ASCII方式一般假設每一字元的第一有效位無意義,因為ASCII字元組合不使用它。如果你傳輸二進制文件,所有的位都是重要的。)如果你知道這兩台機器是同樣的,則二進制方式對文本文件和數據文件都是有效的。
5. FTP的工作方式
FTP支持兩種模式,一種方式叫做Standard (也就是 PORT方式,主動方式),一種是 Passive (也就是PASV,被動方式)。 Standard模式 FTP的客戶端發送 PORT 命令到FTP伺服器。Passive模式FTP的客戶端發送 PASV命令到 FTP Server。
下面介紹一個這兩種方式的工作原理:
Port模式FTP 客戶端首先和FTP伺服器的TCP 21埠建立連接,通過這個通道發送命令,客戶端需要接收數據的時候在這個通道上發送PORT命令。 PORT命令包含了客戶端用什麼埠接收數據。在傳送數據的時候,伺服器端通過自己的TCP 20埠連接至客戶端的指定埠發送數據。 FTP server必須和客戶端建立一個新的連接用來傳送數據。
Passive模式在建立控制通道的時候和Standard模式類似,但建立連接後發送的不是Port命令,而是Pasv命令。FTP伺服器收到Pasv命令後,隨機打開一個高端埠(埠號大於1024)並且通知客戶端在這個埠上傳送數據的請求,客戶端連接FTP伺服器此埠,然後FTP伺服器將通過這個埠進行數據的傳送,這個時候FTP server不再需要建立一個新的和客戶端之間的連接。
很多防火牆在設置的時候都是不允許接受外部發起的連接的,所以許多位於防火牆後或內網的FTP伺服器不支持PASV模式,因為客戶端無法穿過防火牆打開FTP伺服器的高端埠;而許多內網的客戶端不能用PORT模式登陸FTP伺服器,因為從伺服器的TCP 20無法和內部網路的客戶端建立一個新的連接,造成無法工作。
參考資料:http://e.id666.com

2. FTP的實際應用是怎麼樣的

FTP 能實現遠程共享傳輸的功能 一般用的像windos2003伺服器系統上 一般應用在企業里或者單位里的局內網里 不過現在很少見那些單位用了 學校就常用到 現在企業一般都開發比較先進的網頁簡易性的操作軟體來代替了它

3. ftp命令使用,詳細點

這部分簡要介紹一下TCP/IP的內部結構,為討論與互聯網有關的安全問題打下基礎。TCP/IP協議組之所以流行,部分原因是因為它可以用在各種各樣的信道和底層協議(例如T1和X.25、乙太網以及RS-232串列介面)之上。確切地說,TCP/IP協議是一組包括TCP協議和IP協議,UDP(User Datagram Protocol)協議、ICMP(Internet Control Message Protocol)協議和其他一些協議的協議組。

TCP/IP整體構架概述

TCP/IP協議並不完全符合OSI的七層參考模型。傳統的開放式系統互連參考模型,是一種通信協議的7層抽象的參考模型,其中每一層執行某一特定任務。該模型的目的是使各種硬體在相同的層次上相互通信。這7層是:物理層、數據鏈路層、網路層、傳輸層、話路層、表示層和應用層。而TCP/IP通訊協議採用了4層的層級結構,每一層都呼叫它的下一層所提供的網路來完成自己的需求。這4層分別為:

應用層:應用程序間溝通的層,如簡單電子郵件傳輸(SMTP)、文件傳輸協議(FTP)、網路遠程訪問協議(Telnet)等。

傳輸層:在此層中,它提供了節點間的數據傳送服務,如傳輸控制協議(TCP)、用戶數據報協議(UDP)等,TCP和UDP給數據包加入傳輸數據並把它傳輸到下一層中,這一層負責傳送數據,並且確定數據已被送達並接收。

互連網路層:負責提供基本的數據封包傳送功能,讓每一塊數據包都能夠到達目的主機(但不檢查是否被正確接收),如網際協議(IP)。

網路介面層:對實際的網路媒體的管理,定義如何使用實際網路(如Ethernet、Serial Line等)來傳送數據。

TCP/IP中的協議

以下簡單介紹TCP/IP中的協議都具備什麼樣的功能,都是如何工作的:

1. IP

網際協議IP是TCP/IP的心臟,也是網路層中最重要的協議。

IP層接收由更低層(網路介面層例如乙太網設備驅動程序)發來的數據包,並把該數據包發送到更高層---TCP或UDP層;相反,IP層也把從TCP或UDP層接收來的數據包傳送到更低層。IP數據包是不可靠的,因為IP並沒有做任何事情來確認數據包是按順序發送的或者沒有被破壞。IP數據包中含有發送它的主機的地址(源地址)和接收它的主機的地址(目的地址)。

高層的TCP和UDP服務在接收數據包時,通常假設包中的源地址是有效的。也可以這樣說,IP地址形成了許多服務的認證基礎,這些服務相信數據包是從一個有效的主機發送來的。IP確認包含一個選項,叫作IP source routing,可以用來指定一條源地址和目的地址之間的直接路徑。對於一些TCP和UDP的服務來說,使用了該選項的IP包好象是從路徑上的最後一個系統傳遞過來的,而不是來自於它的真實地點。這個選項是為了測試而存在的,說明了它可以被用來欺騙系統來進行平常是被禁止的連接。那麼,許多依靠IP源地址做確認的服務將產生問題並且會被非法入侵。

2. TCP

如果IP數據包中有已經封好的TCP數據包,那麼IP將把它們向『上』傳送到TCP層。TCP將包排序並進行錯誤檢查,同時實現虛電路間的連接。TCP數據包中包括序號和確認,所以未按照順序收到的包可以被排序,而損壞的包可以被重傳。

TCP將它的信息送到更高層的應用程序,例如Telnet的服務程序和客戶程序。應用程序輪流將信息送回TCP層,TCP層便將它們向下傳送到IP層,設備驅動程序和物理介質,最後到接收方。

面向連接的服務(例如Telnet、FTP、rlogin、X Windows和SMTP)需要高度的可靠性,所以它們使用了TCP。DNS在某些情況下使用TCP(發送和接收域名資料庫),但使用UDP傳送有關單個主機的信息。

3.UDP

UDP與TCP位於同一層,但對於數據包的順序錯誤或重發。因此,UDP不被應用於那些使用虛電路的面向連接的服務,UDP主要用於那些面向查詢---應答的服務,例如NFS。相對於FTP或Telnet,這些服務需要交換的信息量較小。使用UDP的服務包括NTP(網落時間協議)和DNS(DNS也使用TCP)。

欺騙UDP包比欺騙TCP包更容易,因為UDP沒有建立初始化連接(也可以稱為握手)(因為在兩個系統間沒有虛電路),也就是說,與UDP相關的服務面臨著更大的危險。

4.ICMP

ICMP與IP位於同一層,它被用來傳送IP的的控制信息。它主要是用來提供有關通向目的地址的路徑信息。ICMP的『Redirect』信息通知主機通向其他系統的更准確的路徑,而『Unreachable』信息則指出路徑有問題。另外,如果路徑不可用了,ICMP可以使TCP連接『體面地』終止。PING是最常用的基於ICMP的服務。

5. TCP和UDP的埠結構

TCP和UDP服務通常有一個客戶/伺服器的關系,例如,一個Telnet服務進程開始在系統上處於空閑狀態,等待著連接。用戶使用Telnet客戶程序與服務進程建立一個連接。客戶程序向服務進程寫入信息,服務進程讀出信息並發出響應,客戶程序讀出響應並向用戶報告。因而,這個連接是雙工的,可以用來進行讀寫。

兩個系統間的多重Telnet連接是如何相互確認並協調一致呢?TCP或UDP連接唯一地使用每個信息中的如下四項進行確認:

源IP地址 發送包的IP地址。

目的IP地址 接收包的IP地址。

源埠 源系統上的連接的埠。

目的埠 目的系統上的連接的埠。

埠是一個軟體結構,被客戶程序或服務進程用來發送和接收信息。一個埠對應一個16比特的數。服務進程通常使用一個固定的埠,例如,SMTP使用25、Xwindows使用6000。這些埠號是『廣為人知』的,因為在建立與特定的主機或服務的連接時,需要這些地址和目的地址進行通訊。

4. 網路基礎知識視頻教程下載

視頻學習大全--and--小說大全

資源名稱---計算機方面學習視頻資料

PHP視頻教程從入門到精通

http://www.xuexinet.com/document/xuexidetail.asp?id=21

ORACLE內部培訓視頻教學

http://www.xuexinet.com/document/xuexidetail.asp?id=36

常用網路命令音頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=41

新編Premiere.Pro入門與提高

http://www.xuexinet.com/document/xuexidetail.asp?id=53

新概念sql.Server.2000教程

http://www.xuexinet.com/document/xuexidetail.asp?id=71

西北工業大學-編譯原理 48課

http://www.xuexinet.com/document/xuexidetail.asp?id=72

專業工程師拆解筆記本視頻

http://www.xuexinet.com/document/xuexidetail.asp?id=79

Cisco官方出版的CCNA/CCNP教材

http://www.xuexinet.com/document/xuexidetail.asp?id=81

資料庫原理視頻教程在線播放[北京交通大學]

http://www.xuexinet.com/document/xuexidetail.asp?id=86

mysql資料庫視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=87

資料庫原理與應用視頻教程下載[北師大]

http://www.xuexinet.com/document/xuexidetail.asp?id=88

《Visual Foxpro》 31講

http://www.xuexinet.com/document/xuexidetail.asp?id=91

ASP 資料庫編程入門視頻教程*

http://www.xuexinet.com/document/xuexidetail.asp?id=92

PowerBuilder視頻教程在線播放

http://www.xuexinet.com/document/xuexidetail.asp?id=93

VFP6.0視頻教程下載

http://www.xuexinet.com/document/xuexidetail.asp?id=94

數據結構教學錄像c++版

http://www.xuexinet.com/document/xuexidetail.asp?id=95

網頁設計在線教程

http://www.xuexinet.com/document/xuexidetail.asp?id=103

使用Visual Studio .NET進行調試

http://www.xuexinet.com/document/xuexidetail.asp?id=193

protel 2004 光碟教程

http://www.xuexinet.com/document/xuexidetail.asp?id=194

PHP動態網頁製作

http://www.xuexinet.com/document/xuexidetail.asp?id=195

ASP動態網頁製作計

http://www.xuexinet.com/document/xuexidetail.asp?id=196

JSP動態網頁製作

http://www.xuexinet.com/document/xuexidetail.asp?id=197

Perl動態網頁製作

http://www.xuexinet.com/document/xuexidetail.asp?id=200

匯編語言程序設計

http://www.xuexinet.com/document/xuexidetail.asp?id=201

逐步精通資料庫(sql server)

http://www.xuexinet.com/document/xuexidetail.asp?id=202

linux安裝的全程演示錄像(9.0)*

http://www.xuexinet.com/document/xuexidetail.asp?id=203

網路工程考試視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=204

計算機操作系統視頻講座(清華大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=205

101-VF程序設計視頻課程

http://www.xuexinet.com/document/xuexidetail.asp?id=207

介面技術視頻講座

http://www.xuexinet.com/document/xuexidetail.asp?id=208

軟體工程40講 (西北工大)

http://www.xuexinet.com/document/xuexidetail.asp?id=209

使用DM萬用版給硬碟分區 視程

http://www.xuexinet.com/document/xuexidetail.asp?id=210

匯編與微機介面 64講

http://www.xuexinet.com/document/xuexidetail.asp?id=211

手把手教你配置路由器

http://www.xuexinet.com/document/xuexidetail.asp?id=212

VB程序設計視頻講座

http://www.xuexinet.com/document/xuexidetail.asp?id=213

新概念Dreamweaver_mx視頻教程(已失效)

http://www.xuexinet.com/document/xuexidetail.asp?id=217

孫鑫VC++

http://www.xuexinet.com/document/xuexidetail.asp?id=230

邊用邊學visual basic 6

http://www.xuexinet.com/document/xuexidetail.asp?id=236

邊用邊學Powerbuilder編程

http://www.xuexinet.com/document/xuexidetail.asp?id=237

邊用邊學c語言

http://www.xuexinet.com/document/xuexidetail.asp?id=238

邊用邊學Java程序設計基礎

http://www.xuexinet.com/document/xuexidetail.asp?id=239

邊用邊學C++語言基礎教程

http://www.xuexinet.com/document/xuexidetail.asp?id=240

邊用邊學Autocad

http://www.xuexinet.com/document/xuexidetail.asp?id=241

邊用邊學Linux

http://www.xuexinet.com/document/xuexidetail.asp?id=242

Windowsxp中文版入門與提高

http://www.xuexinet.com/document/xuexidetail.asp?id=243

Photoshop CS2 標准教程

http://www.xuexinet.com/document/xuexidetail.asp?id=244

【用Ghost備份和恢復系統】視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=248

硬碟分區與格式化探悉

http://www.xuexinet.com/document/xuexidetail.asp?id=249

WinXp安裝全過程

http://www.xuexinet.com/document/xuexidetail.asp?id=250

winxp優化大全

http://www.xuexinet.com/document/xuexidetail.asp?id=251

使用DM萬用版給硬碟分區

http://www.xuexinet.com/document/xuexidetail.asp?id=252

常用網路命令視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=254

編程之道—JSP資料庫編程入門(iso)

http://www.xuexinet.com/document/xuexidetail.asp?id=255

企業網路系統與集成

http://www.xuexinet.com/document/xuexidetail.asp?id=256

高速寬頻主幹網技術專題視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=257

SQL資料庫視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=260

微軟開發者系列講座---WEB Service高級應用

http://www.xuexinet.com/document/xuexidetail.asp?id=303

Flashmx 2004 視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=314

計算機圖形學

http://www.xuexinet.com/document/xuexidetail.asp?id=316

電子科大--- VB程序設計

http://www.xuexinet.com/document/xuexidetail.asp?id=317

EDA技術

http://www.xuexinet.com/document/xuexidetail.asp?id=318

unix操作系統(電子科技大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=319

多媒體技術(電子科技大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=320

計算機操作系統(電子科技大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=321

計算機網路基礎(電子科技大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=322

計算機系統結構

http://www.xuexinet.com/document/xuexidetail.asp?id=324

計算機組成原理

http://www.xuexinet.com/document/xuexidetail.asp?id=325

嵌入式系統應用與開發技術

http://www.xuexinet.com/document/xuexidetail.asp?id=326

軟體工程(電子科技大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=327

微機原理與介面技術

http://www.xuexinet.com/document/xuexidetail.asp?id=328

洪恩編程之道 delphi7

http://www.xuexinet.com/document/xuexidetail.asp?id=347

不背字根學五筆視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=354

網頁設計(製作)

http://www.xuexinet.com/document/xuexidetail.asp?id=369

程序設計語言

http://www.xuexinet.com/document/xuexidetail.asp?id=410

組成與系統結構

http://www.xuexinet.com/document/xuexidetail.asp?id=411

多媒體技術(西北工業大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=412

匯編與微機介面

http://www.xuexinet.com/document/xuexidetail.asp?id=413

計算機軟體技術基礎

http://www.xuexinet.com/document/xuexidetail.asp?id=414

計算機軟體技術基礎輔導

http://www.xuexinet.com/document/xuexidetail.asp?id=416

網路支付與結算48講(北京交通大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=417

計算機網路[北方交通大學]

http://www.xuexinet.com/document/xuexidetail.asp?id=491

洪恩開天闢地.4.零售版(8CD)

http://www.xuexinet.com/document/xuexidetail.asp?id=535

面向對象C++(陳文宇)(電子科技大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=581

數據結構(羅吳蔓)

http://www.xuexinet.com/document/xuexidetail.asp?id=582

程序設計語言與編譯

http://www.xuexinet.com/document/xuexidetail.asp?id=583

DOS 學習視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=615

計算機網頁設計與製作視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=616

單片機及應用輔導課程

http://www.xuexinet.com/document/xuexidetail.asp?id=618

自己動手建立個人網站

http://www.xuexinet.com/document/xuexidetail.asp?id=619

c語言14講

http://www.xuexinet.com/document/xuexidetail.asp?id=630

高級操作系統(北大-辛辛那提大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=631

邊學邊用Photoshop7.0視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=632

洪恩編程之道 delphi7 視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=633

資料庫應用程序設計

http://www.xuexinet.com/document/xuexidetail.asp?id=634

數字視頻應用教程

http://www.xuexinet.com/document/xuexidetail.asp?id=635

中文AutoCAD 2005基礎操作與實例教程

http://www.xuexinet.com/document/xuexidetail.asp?id=636

3ds max 6標准教程

http://www.xuexinet.com/document/xuexidetail.asp?id=637

Premiere 6.x 標准教程

http://www.xuexinet.com/document/xuexidetail.asp?id=638

華南理工大學-c#和.net技術與應用

http://www.xuexinet.com/document/xuexidetail.asp?id=639

Adobe Photoshop CS2官方視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=640

微計算機技術

http://www.xuexinet.com/document/xuexidetail.asp?id=641

軟體開發工具與環境

http://www.xuexinet.com/document/xuexidetail.asp?id=642

計算機圖像處理

http://www.xuexinet.com/document/xuexidetail.asp?id=653

邊學邊用LINUX

http://www.xuexinet.com/document/xuexidetail.asp?id=654

計算機組成與匯編語言程序設計(趙麗梅)寧波電大

http://www.xuexinet.com/document/xuexidetail.asp?id=665

操作系統(陳訪榮)寧波電大

http://www.xuexinet.com/document/xuexidetail.asp?id=666

計算機網路(馬敏飛)寧波電大

http://www.xuexinet.com/document/xuexidetail.asp?id=667

VB編程與應用(黃文)寧波電大

http://www.xuexinet.com/document/xuexidetail.asp?id=668

Internet和Intranet應用(薛昭旺)寧波電大

http://www.xuexinet.com/document/xuexidetail.asp?id=669

並行程序設計(北大)

http://www.xuexinet.com/document/xuexidetail.asp?id=670

計算機專業英語/寧波電大

http://www.xuexinet.com/document/xuexidetail.asp?id=671

計算機輔助設計Autocad[寧波電大]

http://www.xuexinet.com/document/xuexidetail.asp?id=674

計算機組成原理[寧波電大]

http://www.xuexinet.com/document/xuexidetail.asp?id=675

數據結構(馮姚震)寧波電大

http://www.xuexinet.com/document/xuexidetail.asp?id=676

面向對象程序設計(黃寅)寧波電大

http://www.xuexinet.com/document/xuexidetail.asp?id=677

操作系統(華南理工大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=686

操作系統(華中科大)

http://www.xuexinet.com/document/xuexidetail.asp?id=687

第三代無線數據通訊的前景與機會(華南理工)

http://www.xuexinet.com/document/xuexidetail.asp?id=688

高等計算機的核心技術-並行處理(清華)

http://www.xuexinet.com/document/xuexidetail.asp?id=689

多媒體(華中科大)

http://www.xuexinet.com/document/xuexidetail.asp?id=690

高速網路與移動計算(香港城市大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=691

匯編程序設計(北大)

http://www.xuexinet.com/document/xuexidetail.asp?id=692

計算機網路(華中科大)

http://www.xuexinet.com/document/xuexidetail.asp?id=712

北京交通大學-PASCAL語言程序設計

http://www.xuexinet.com/document/xuexidetail.asp?id=715

JAVA程序設計(北京交通大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=716

演示安裝紅旗Linux

http://www.xuexinet.com/document/xuexidetail.asp?id=719

ASP高級編程課程講解

http://www.xuexinet.com/document/xuexidetail.asp?id=724

計算機體系結構(北京交通大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=790

吉林大學-高等計算機系統結構

http://www.xuexinet.com/document/xuexidetail.asp?id=791

人工智慧導論

http://www.xuexinet.com/document/xuexidetail.asp?id=855

微機組裝與維護

http://www.xuexinet.com/document/xuexidetail.asp?id=856

計算機網路工程

http://www.xuexinet.com/document/xuexidetail.asp?id=857

Internet和Internet應用

http://www.xuexinet.com/document/xuexidetail.asp?id=858

網路資料庫系統概論-SQL Server

http://www.xuexinet.com/document/xuexidetail.asp?id=859

超級注冊表實用大全ISO

http://www.xuexinet.com/document/xuexidetail.asp?id=906

動態網頁製作視頻教程ASP.PHP.JSP.Perl

http://www.xuexinet.com/document/xuexidetail.asp?id=908

浙大-計算機網路

http://www.xuexinet.com/document/xuexidetail.asp?id=930

計算機網路基礎

http://www.xuexinet.com/document/xuexidetail.asp?id=931

Windows 2000 教學[FLASH]200分鍾

http://www.xuexinet.com/document/xuexidetail.asp?id=932

中央電大-網路操作系統

http://www.xuexinet.com/document/xuexidetail.asp?id=933

浙大-計算機應用基礎(2)

http://www.xuexinet.com/document/xuexidetail.asp?id=935

西南交通大學-通信原理

http://www.xuexinet.com/document/xuexidetail.asp?id=936

HTML的全局架構視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=938

Photoshop數碼照片藝術效果100例(精彩版)

http://www.xuexinet.com/document/xuexidetail.asp?id=944

吉林大學-internet網頁設計

http://www.xuexinet.com/document/xuexidetail.asp?id=945

手把手教你學JAVA程序設計[swf][7課]

http://www.xuexinet.com/document/xuexidetail.asp?id=946

台灣國立嘉藝大學-maya中文視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=947

手把手教你學VC程序設計[swf][8課]

http://www.xuexinet.com/document/xuexidetail.asp?id=948

馬鞍山電大-信號處理原理

http://www.xuexinet.com/document/xuexidetail.asp?id=950

[西南師大]計算機網路理論 [19講]

http://www.xuexinet.com/document/xuexidetail.asp?id=961

電子科大-移動通信系統

http://www.xuexinet.com/document/xuexidetail.asp?id=962

北京師范大-多媒體視頻

http://www.xuexinet.com/document/xuexidetail.asp?id=963

C語言(北京交通大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=987

資料庫應用基礎(北京交通大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=988

計算機文化基礎(北京交通大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=990

Powerpoint國外系列精美模版

http://www.xuexinet.com/document/xuexidetail.asp?id=991

計算機組成原理(北京交通大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=992

編譯原理(北京交通大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=996

數據結構(北京交通大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=997

匯編語言(北京交通大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=998

網頁製作技術(北京交通大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=1007

計算機與網路系統安全(北京交通大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=1008

面向對象程序設計與C++(北京交通大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=1009

清華大學 吳企淵計算機操作系統

http://www.xuexinet.com/document/xuexidetail.asp?id=1010

操作系統(北京交通大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=1011

Authorware金鷹視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=1030

金鷹工作室Freehand MX快速入門視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=1031

PowerPoint2003視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=1032

ASP視頻教程下載 北京大學尚俊傑

http://www.xuexinet.com/document/xuexidetail.asp?id=1033

金鷹電腦教程Flash編程視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=1034

資料庫概論(江南大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=1045

軟體工程(江南大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=1046

人工智慧概論(江南大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=1047

計算機組成與結構(江南大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=1048

計算機基礎(江南大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=1049

多媒體技術(江南大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=1050

邊學邊用PowerPoint 2000

http://www.xuexinet.com/document/xuexidetail.asp?id=1062

dreamwaverMX全部教程下載

http://www.xuexinet.com/document/xuexidetail.asp?id=1073

結構計算軟體

http://www.xuexinet.com/document/xuexidetail.asp?id=1074

軟體工程

http://www.xuexinet.com/document/xuexidetail.asp?id=1075

Java語言與WWW技術

http://www.xuexinet.com/document/xuexidetail.asp?id=1076

信息技術專題

http://www.xuexinet.com/document/xuexidetail.asp?id=1077

Internet與Web站點設計

http://www.xuexinet.com/document/xuexidetail.asp?id=1078

多媒體課件製作與應用

http://www.xuexinet.com/document/xuexidetail.asp?id=1079

四川電大 演算法分析與設計(在線播放)

http://www.xuexinet.com/document/xuexidetail.asp?id=1080

計算機應用基礎

http://www.xuexinet.com/document/xuexidetail.asp?id=1081

計算機圖形學基礎

http://www.xuexinet.com/document/xuexidetail.asp?id=1082

多媒體技術基礎與應用IP

http://www.xuexinet.com/document/xuexidetail.asp?id=1083

JAVA 入門視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=1084

Photoshop從頭學起系列教程

http://www.xuexinet.com/document/xuexidetail.asp?id=1085

四川電大 計算機專業英語(在線播放)

http://www.xuexinet.com/document/xuexidetail.asp?id=1088

四川電大 單片機技術(在線播放)

http://www.xuexinet.com/document/xuexidetail.asp?id=1089

四川電大 信息系統測試(在線播放)

http://www.xuexinet.com/document/xuexidetail.asp?id=1090

四川電大 Asp程序設計基礎(在線播放)

http://www.xuexinet.com/document/xuexidetail.asp?id=1091

四川電大 計算機組裝與維護(在線播放)

http://www.xuexinet.com/document/xuexidetail.asp?id=1092

四川電大 Internet網路系統與實踐(在線播放)

http://www.xuexinet.com/document/xuexidetail.asp?id=1093

四川電大 計算機電路基礎(在線播放)

http://www.xuexinet.com/document/xuexidetail.asp?id=1094

吉大 windows程序設計

http://www.xuexinet.com/document/xuexidetail.asp?id=1115

WEB應用系統設計(東南大學)

http://www.xuexinet.com/document/xuexidetail.asp?id=1136

DELPHI程序設計

http://www.xuexinet.com/document/xuexidetail.asp?id=1141

C++語言程序設計視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=1142

JAVA視頻教學

http://www.xuexinet.com/document/xuexidetail.asp?id=1143

delphi7.0視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=1144

BIOS視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=1145

NET系統架構與開發

http://www.xuexinet.com/document/xuexidetail.asp?id=1146

磁碟陣列安裝視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=1147

JAVA語言編程

http://www.xuexinet.com/document/xuexidetail.asp?id=1148

計算機安全視頻培訓

http://www.xuexinet.com/document/xuexidetail.asp?id=1149

PHOTOSHOP7.0 FLASH教程

http://www.xuexinet.com/document/xuexidetail.asp?id=1150

vc++面向對象與可視化程序設計

http://www.xuexinet.com/document/xuexidetail.asp?id=1151

伺服器群組微軟體視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=1152

電腦安裝與維修實用技術

http://www.xuexinet.com/document/xuexidetail.asp?id=1153

Photoshop7.01影像處理(百事達)

http://www.xuexinet.com/document/xuexidetail.asp?id=1154

Microsoft軟體開發過程

http://www.xuexinet.com/document/xuexidetail.asp?id=1155

風之行——Maya大型視頻教學風暴

http://www.xuexinet.com/document/xuexidetail.asp?id=1156

計算機應用基礎視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=1157

單片機技術

http://www.xuexinet.com/document/xuexidetail.asp?id=1158

用SERV_U架設FTP伺服器視頻

http://www.xuexinet.com/document/xuexidetail.asp?id=1159

區域網組網精彩視頻教學

http://www.xuexinet.com/document/xuexidetail.asp?id=1161

動態網頁製作視頻教程ASP.PHP.JSP

http://www.xuexinet.com/document/xuexidetail.asp?id=1162

注冊表使用視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=1163

信息技術及應用遠程培訓

http://www.xuexinet.com/document/xuexidetail.asp?id=1164

vpn服務的設置視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=1165

QQ空間製作視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=1188

錄歌視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=1190

Windows應用程序界面美化(C#)

http://www.xuexinet.com/document/xuexidetail.asp?id=1191

ASP.NET學習視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=1202

吉林大學 操作系統

http://www.xuexinet.com/document/xuexidetail.asp?id=1213

四川電大 大學英語3(在線播放)

http://www.xuexinet.com/document/xuexidetail.asp?id=1239

金鷹 PowerPoint2003視頻教程

http://www.xuexinet.com/document/xuexidetail.asp?id=1242

薄層色譜的製作與應用視頻

http://www.xuexinet.com/document/xu

5. FTP服務的工作機制

FTP(File Tranfer Protocol) 文本傳輸協議,主要用於internet上文件的雙向傳輸,同時ftp也是一種應用程序。
一、特性
基於C/S 結構
雙通道協議:數據和命令連接
數據傳輸格式:二進制(默認)和文本格式
埠:基於tcp服務,數據埠(20)和控制埠(21)

二、模式支持
1、主動模式
主動模式FTP:(伺服器主動連接)客戶端從任意的一個非特權埠N,連接到FTP伺服器的命令埠,也就是21埠。讓後客戶端開始監聽埠N+1,並發送FTP命令「port
N+1」 到ftp伺服器。接著伺服器會從自己的數據埠(20)主動連接到客戶端指定的數據埠(N+1)
以上描述可以在實驗環境下查看
主要方法以上文中已有所描述,下面是在wondows上查看埠的命令
netstat -ant|findstr :21
針對FTP伺服器前面的防火牆雷說,必須允許以下通信才能支持主動方式FTP。
1、 允許任何大於1024的埠到FTP伺服器的21埠。 (客戶端初始化連接)
2、 允許FTP伺服器的21埠到大於1024的埠。(伺服器響應客戶端的控制埠)
3、 允許FTP伺服器的20埠到大於1024埠。(伺服器初始化數據連接到客戶端的數據埠)
4、 允許大於1024埠到ftp伺服器的20埠。(客戶端發送ack響應到伺服器的數據埠)

2、被動模式
為了解決伺服器發起到客戶端的連接問題,人們開發了一種不同的ftp連接方式。這就是所謂的被動方式,或成為PASV,當客戶端通知伺服器它處於被動模式時才啟用。
在被動模式ftp中,命令連接和數據連接由客戶端發起,這樣就可以解決從伺服器到客戶端的數據埠入方向連接被防火牆過濾掉的問題。
當開啟FTP連接時,客戶端打開兩個任意非特權本地埠N,N+1。第一個埠連接伺服器的21埠,但與主動模式的FTP不同,客戶端不會提交PORT命令並允許伺服器來回連它的數據埠,而是提交PASV命令。這樣做的結果是伺服器會開啟一個任意的非特權埠
P,並發送port P命令給客戶端。然後客戶端發起從本地埠N+1到伺服器的埠P的連接用來傳輸數據。

對於伺服器端的防火牆來說,必須允許下面的通訊才能只是被動方式的FTP:
1、 允許從任何大於1024的埠到伺服器的21埠(客戶端初始化連接)
2、 允許伺服器的21埠到任何大於1024的埠(伺服器響應到客戶端的控制埠的連接)
3、 從任何大於1024埠到伺服器的大於1024的埠(客戶端初始化數據連接到伺服器的指定埠)
4、 伺服器的大於1024埠到客戶端的大於1024 的埠(伺服器發送ack響應和數據到客戶端的數據埠。)

三、簡述解釋及抓包分析過程
1、主動模式
命令連接:客戶端任意大於1024埠 N —> 伺服器21埠
數據連接:伺服器20埠 -----> 客戶端 N埠。
2、被動模式
命令連接:客戶端任意大於1024埠N ------> 伺服器21埠
數據連接:客戶端任意大於1024埠N+1 --------> 伺服器埠P
伺服器被動模式數據埠示例:
227 Entering Passive Mode (172,16,0,1,239,20)
伺服器的數據埠為239*256+20=61204 伺服器埠P為61204

四、FTP連接響應碼
1XX:信息 125:數據連接打開
2XX:成功類狀態 200:命令OK 230:登錄成功
3XX:補充類 331:用戶名OK
4XX:客戶端錯誤 425:不能打開數據連接
5XX:伺服器錯誤 530:不能登錄

6. FTP服務有什麼具體應用

FTP伺服器
簡單地說,支持FTP協議的伺服器就是FTP伺服器,下面介紹一下什麼是FTP協議(文件傳輸協議)

一般來說,用戶聯網的首要目的就是實現信息共享,文件傳輸是信息共享非常重要的一個內容之一。Internet上早期實現傳輸文件,並不是一件容易的事,我們知道 Internet是一個非常復雜的計算機環境,有PC,有工作站,有MAC,有大型機,據統計連接在Internet上的計算機已有上千萬台,而這些計算機可能運行不同的操作系統,有運行Unix的伺服器,也有運行Dos、Windows的PC機和運行MacOS的蘋果機等等,而各種操作系統之間的文件交流問題,需要建立一個統一的文件傳輸協議,這就是所謂的FTP。基於不同的操作系統有不同的FTP應用程序,而所有這些應用程序都遵守同一種協議,這樣用戶就可以把自己的文件傳送給別人,或者從其它的用戶環境中獲得文件。

與大多數Internet服務一樣,FTP也是一個客戶機/伺服器系統。用戶通過一個支持FTP協議的客戶機程序,連接到在遠程主機上的FTP伺服器程序。用戶通過客戶機程序向伺服器程序發出命令,伺服器程序執行用戶所發出的命令,並將執行的結果返回到客戶機。比如說,用戶發出一條命令,要求伺服器向用戶傳送某一個文件的一份拷貝,伺服器會響應這條命令,將指定文件送至用戶的機器上。客戶機程序代表用戶接收到這個文件,將其存放在用戶目錄中。

在FTP的使用當中,用戶經常遇到兩個概念:「下載「(Download)和「上載「(Upload)。「下載「文件就是從遠程主機拷貝文件至自己的計算機上;「上載「文件就是將文件從自己的計算機中拷貝至遠程主機上。用Inte

7. FTP使用詳解

1.什麼是FTP(文件傳輸協議)
FILE TRANSFERPROTOCOL(FTP)意為文件傳輸協議,用於管理計算機之間的文件傳送。FTP通常指文件傳輸服務。
FTP是Internet上使用非常廣泛的一種通訊協議。它是由支持Internet文件傳輸的各種規則所組成的集合,這些規則使 Internet用戶可以把文件從一個主機拷貝到另一個主機上,因而為用戶提供了極大的方便和收益。FTP通常也表示用戶執行這個協議所使用的應用程序(例如:凱屋「上當「),從而獲取所需的信息資料。
FTP和其它 Internet服務一樣,也是採用客戶機/伺服器方式。使用方法很簡單,啟動FTP客戶端程序先與遠程主機建立連接,然後向遠程主機發出傳輸命令,遠程主機在收到命令後就給予響應,並執行正確的命令。FTP有一個根本的限制,那就是,如果用戶未被某一FTP主機授權,就不能訪問該主機,實際上是用戶不能遠程登錄(Remote Login)進入該主機。也就是說,如果用戶在某個主機上沒有注冊獲得授權,沒有用戶名和口令,就不能與該主機進行文件的傳輸。而AnonymousFTP(匿名FTP)則取消了這種限制。

2.什麼是Anonymous FTP(匿名文件傳輸)
Anonymous(匿名文件傳輸)能夠使用戶與遠程主機建立連接並以匿名身份從遠程主機上拷貝文件,而不必是該遠程主機的注冊用戶。用戶使用特殊的用戶名「Anonymous」和「guest」就可有限制地訪問遠程主機上公開的文件。現在許多系統要求用戶將Emai1地址作為口令,以便更好地對訪問進行跟綜。出於安全的目的,大部分匿名FTP主機一般只允許遠程用戶下載(download)文件,而不允許上傳 (upload)文件。也就是說,用戶只能從匿名FTP主機拷貝需要的文件而不能把文件拷貝到匿名FTP主機。另外,匿名FTP主機還採用了其他一些保護措施以保護自己的文件不至於被用戶修改和刪除,並防止計算機病毒的侵入。在具有圖形用戶界面的WorldWide Web環境於1995年開始普及以前,匿名FTP一直是Internet上獲取信息資源的最主要方式,在Internet成千上萬的匿名PTP主機中存儲著無以計數的文件,這些文件包含了各種各樣的信息,數據和軟體。人們只要知道特定信息資源的主機地址,就可以用匿名FTP登但是匿名FTP仍是 Internet上傳輸分發軟體的一種基本方法。

3.什麼是Remote Login(遠程登錄)
Remote Login(遠程登錄)指用戶通過Internet登錄到遠程主機上。在這種連接建立之後,用戶所在的計算就可以作為遠程主機的終端一樣使用。 Internet上遠程登錄的主要方式是Telnet,匿名FTP也需要首先經過遠程登錄才能進行文件傳輸。

4.什麼是Upload(上傳)
Upload(上傳)指把數據從本地計算機傳到遠程主機上,因此受到嚴格的管理和控制,但Upload是提交用戶信息和要求以實現遠程交互應用的基礎。

5.何為FTP連接
進行FTP連接首先要給出目的FTP伺服器的名稱或地址,當連接到FTP伺服器後,一般要進行登錄,在檢驗用戶ID號和口令後,連接才得以建立,某些系統也允許用戶進行匿名登錄。與在所有的多用戶系統中一樣,對於同一目錄或文件,不同的用戶擁有不同的許可權,所以在使用過程中,如果發現不能下載或上載某些文件時,一般是因為用戶許可權不夠。

6.FTP文件傳輸方式
FTP可用多種格式傳輸文件,通常由系統決定,大多數系統(包括UNIX系統)只有兩種模式:文本模式(ASCII)和二進制模式(BIN/IMAGE)。
文本傳輸器使用ASCII字元,並由回車鍵和換行符分開,而二進制不用轉換或格式化就可傳字元,二進制模式比文本模式更快,並且可以傳輸所有ASCII值,所以系統管理員一般將FTP設置成二進制模式。應注意在用FIP傳輸文件前,必須確保使用正確的傳輸模式,按文本模式傳二進制文件必將導致錯誤。

7.FTP的可靠性問題
FTP建立在傳輸層TCP協議之上,TCP是面向連接的協議,負責保證數據從源計算機到目的計算機的傳輸。TCP採用校驗、確認接收和超時重傳等一系列措施提供可靠的傳輸,所以在傳輸過程中FTP程序如果沒有提示錯誤,就無需擔心傳輸問題。

8. ftp 應用

FTP伺服器要先架設好
然後別人才可能被受權訪問你的伺服器
它要比別的下載的要快
使用方法是
得到管理員給你的用戶名和密碼
在地址欄里輸入FTP地址
回車 在打開的對話里輸入管理員給你的用戶名和密碼
回車