ftp hostname/ip address . Give username and password. Use put command to upload the file to the remote server. Please expansion this command: Can I run this on old server or new server. And what are the right path that it deduct correctly.
I'm not sure if I understand you correctly. FTP is a different protocol than SSH, so if you want to transfer files in encrypted form so people can't get them or your passwords by sniffing network traffic, you might want to look into using sftp or scp instead of ftp. That said, you run the ftp command on the client machine, where you have files that you want to transfer to the server machine. You change path to the correct directory with the "cd" command. You will also want to change to binary mode with the "bin" command, so any binary data (images and so on) don't get destroyed in the transfer. The whole session will look something like this: $ ftp my.fancy.server Username: lamex Password: lamex-pass > bin > cd public_html > put index.php > quit $