FTP
跳至導覽
跳至搜尋
FTP(File Transfer Protocol),參照:『維基百科~File_Transfer_Protocol』
傳輸模式
- 主動模式(active mode)
- FTP的Server端與Client端需同時開啟一個監聽的Port才能夠傳遞檔案。會有Client端通過防火牆的困擾。
- 被動模式(passive mode)
- 目前較常用的方式。
- 擴展被動模式(extended passive mode)
- 在 RFC 2428 中所新增的方式。
技術文件
FTP
- RFC 959 - FILE TRANSFER PROTOCOL (FTP)
FTP commands
FTP server return codes
應用
.NET
C++
Java
Node.js
PowerShell
- 上傳檔案到FTP
- 從FTP下載檔案
- In PowerShell, you can download a file via HTTP, HTTPS, and FTP with the Invoke-WebRequest cmdlet
- PowerShell Connect to FTP server and get files