ITeye博客

File Copy 和 FTP 的区别

kooyee · 2010-05-21 15:57 · Networking 网络技术 · 互联网 · Markdown

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 secure copy 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 -->

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。