官术网_书友最值得收藏!

Other Types of FTP Connections

FTP has more tricks up its sleeve than just active or passive connections. It is also possible to connect securely to an FTP site and also perform direct remote to remote server file transfers.

Secure FTP

Secure FTP (also known as SFTP) is a more secure method of transferring and working with files. It encrypts all traffic to and from your web server so no one else can access your data, similar to SSL (https://) access of web pages in a browser, but for file transfers. SFTP is actually a combination of two different protocols, SSH (Secure Shell—see Chapter 10 for information on SSH) and standard FTP. In order to access your account via SFTP, you will need three things:

  • The main FTP account
  • SSH (regular or jailshell) access to your account
  • An FTP client that supports SFTP (most dedicated clients will)

Note

You may need to contact your web host to get SSH access for your cPanel account.

Accessing your account via SFTP is simple if your FTP client supports it; you use the main FTP account login details as you normally would, but you tell your FTP client to try to access the account via SFTP.

Note

SFTP uses port 22, the standard port for SSH access, so make sure if you use a firewall that port 22 is open.

FXP Transfers

FXP stands for File eXchange Protocol. FXP is FTP directly between two separate FTP accounts you are logged into via your FTP client. FXP allows you to transfer files directly from one remote server to another one without having to download the files to your local computer first. Not only does it save a step, but FXP transfers are often much faster than uploads and downloads to your computer since the two servers communicate directly with each other using your account login on both servers. Some servers also support SFTP FXP transfers.

FXP requires all of the following in order to work:

  • Valid FTP/SFTP accounts on both servers you want to transfer files between. It is extremely rare for a server to allow anonymous FXP.
  • Both servers must allow FXP. Many do not. If only one of the two servers allows FXP then it will not work.
  • An FTP client that supports FXP (and SFTP FXP if you want to use that). This is becoming more common, but many clients still don’t support FXP.

If any of those conditions are not met, FXP will fail.

Note

You should contact your web host if you want to find out if your web server supports FXP.

主站蜘蛛池模板: 伊川县| 敖汉旗| 宁蒗| 清流县| 长兴县| 晋江市| 尼勒克县| 乐东| 高要市| 扬中市| 塔城市| 南溪县| 灵武市| 章丘市| 土默特右旗| 邯郸市| 荔浦县| 绍兴市| 周至县| 西丰县| 仪陇县| 屏东县| 涟水县| 陇南市| 衢州市| 渑池县| 靖西县| 锦州市| 农安县| 凤台县| 登封市| 泸溪县| 沙田区| 迁西县| 南陵县| 靖安县| 万安县| 浮梁县| 上林县| 丰城市| 昌平区|