FTP Stands for File Transfer Protocol. It is used to transfer and download files from server.
The available tools are FileZilla, SFTP, FTPZilla etc..
The ftp_connect function is supported by php 4, 5.
If you want to connect to the server using FTP and using PHP programming language then you can do it in the following way.
$ftp_server = "ftp.yousite.com";
//trying to connect to the server using PHP
$conn_id = ftp_connect($ftp_server) or die("Couldn't connect to $ftp_server");
if($conn_id){
echo "Your connection ID is: ".$conn_id;
}
The available tools are FileZilla, SFTP, FTPZilla etc..
The ftp_connect function is supported by php 4, 5.
If you want to connect to the server using FTP and using PHP programming language then you can do it in the following way.
$ftp_server = "ftp.yousite.com";
//trying to connect to the server using PHP
$conn_id = ftp_connect($ftp_server) or die("Couldn't connect to $ftp_server");
if($conn_id){
echo "Your connection ID is: ".$conn_id;
}
No comments:
Post a Comment