Showing posts with label FTP. Show all posts
Showing posts with label FTP. Show all posts

Saturday, September 12, 2015

php connect to ftp server

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;
}

MS SQL : How to identify fragmentation in your indexes?

Almost all of us know what fragmentation in SQL indexes are and how it can affect the performance. For those who are new Index fragmentation...