汪佳妍 发表于 2016-6-9 07:31:10

File Copy 和 FTP 的区别

  
File Copy
文件传输的两台主机在同一局域网内, 比如window在网上邻居里的文件复制,粘贴到另一台主机上。



FTP
以plaintext传输, 包含user/passwd并使用20、21端口。FTP文件传输时可以跨平台和操作系统, 比如window可以向linux传输文件。文件传输两端可以不在同一局域网内。


传输方式没有提供加密, 但用户只能访问 ftp root directory, 这样来限制用户的访问。
SFTP使用port 22


FTP over SSH和SFTP不同, 是在SSH tunnel传输FTP







下面是SCP一些介绍

scp is securecopy ftp is file transfer protocol.
scp: encrypted, including username/passwd; part of ssh suite, uses port 22; can put a file anywhere you have privelege to. Also SCP uses any port you specify


scp is a tool to copy files
to/from remote servers using an SSH channel. Unlike ssh access it only runs a single copy command. Just as ssh it has full access to the file system, only limited by the permissions of the login user account.



<!--google_ad_section_end -->
<!--/ message -->
页: [1]
查看完整版本: File Copy 和 FTP 的区别