Overview |
To establish a secure connection to an FTP server using SSL you may use the Ftps class. The Ftps class allows for client connections to an FTP server using either AUTH SSL or Implicit SSL. A description of each connection type is provided below.
AUTH SSL
Client connects to server on port 21 (the default FTP port) and issues a series of commands to establish a secure connection.
Implicit SSL
Client connects to server on port 990 and establishes a secure tunnel using SSL. No additional FTP command are required to establish a connection.
Note
Consult your FTP server documentation to see which mode your FTP server supports. Not all FTP servers support secure FTP connections using SSL. Of those that do support SSL some may only support one of the methods AUTH SSL or Implicit SSL. A similar named protocol of SFTP (FTP over SSH) provides secure file transfer using SSH (Secure SHell). This functionality is provided in the Sftp class.
See also
|