Connecting to an SFTP Server with an FTP Client
Bitvise SSH Client comes with a graphical SFTP file transfer client, as well as a scriptable command-line SFTP client. However, there are times when one wishes to access an SFTP server with a program which does not support this protocol, but supports the legacy FTP protocol. In this case, protocol translation is required, and this can be done using Bitvise SSH Client as the intermediary program.
Step-by-Step Instructions to Bitvise SSH Client's FTP Bridge
The following instructions assume that the SFTP server you plan to be accessing is already set up, and that you have the username and password information necessary to log in with an SSH/SFTP client.
- Install Bitvise SSH Client on the client - the machine on which the FTP client program resides and from which you wish to access the SFTP server.
- Configure the following settings on the Login tab of the SSH Client. Click also the 'Help' link on the Login tab for help with any of these settings. [OL2]
- Host: The IP address or DNS name of the SFTP server that you are accessing.
- Port: The port number that the SSH/SFTP server is listening on. This will usually be the default SSH port number (22).
- Username: The username with which to log into the SFTP server.
- Password: The password with which to log into the SFTP server, belonging to the account name specified by Username.
- Store encrypted password in profile: You may optionally wish to enable this setting so that you will not be asked to reenter the password each time when logging in after Bitvise SSH Client has been restarted.
If all is well, after conducting these steps you are now accessing the SFTP server with your FTP client, using Bitvise SSH Client to translate from FTP to SFTP and vice versa.
If you encounter problems establishing the SSH session, you will receive diagnostic information in the SSH Client log area, as well as in the log entries recorded by the SSH/SFTP server. Especially in the case of an SSH-level authentication failure, the SSH server log entries will contain important diagnostic information. It is necessary to inspect the SSH server log entries in this case.
Depending on your setup, you may encounter the following situations specific to the FTP Bridge component:
- Problem: SSH connection fails with Bitvise SSH Client logging an error message including the content: 'Listening for FTP-to-SFTP bridge connection on ... failed. Only one usage of each socket address (protocol/network address/port) is normally permitted.'
Cause: Another program on the client machine is already listening on a conflicting listening address and the same port.
Solution: Remove the conflict. This can be done either by removing the other program (most likely an FTP server on the client machine), or by changing the Listen Port value in the FTP-to-SFTP Bridge settings in the SSH Client. This can be set to an arbitrary value, as long as the value you set is reflected in your instructions to the FTP client.
If you are having trouble resolving a problem, see our contact and support page for more information and links to documents about how to go about resolving problems with Bitvise SSH Client and Server.