Web Hosting Upload Using Ftp

February 03, 2013 | 0 Minute Read

Upload files from local directory to a remote hosting server using ftp

FTP (c) BlueHost

Ftp to server IP

userX@local-pc tmp:ftp 204.100.100.100
Connected to 204.100.100.100.

XXX User userX OK. Password required
Password:
XXX OK. Current restricted directory is /
Remote system type is UNIX.
Using binary mode to transfer files.

Transfer the file

use put local-file remote file command to transfer

ftp> put /tmp/test.txt /public_html/test.txt
local: /tmp/test.txt remote: /public_html/test.txt
XXX PORT command successful
XXX Connecting to port 43271
XXX-File successfully transferred
XXX 0.058 seconds (measured here), 0.69 Kbytes per second
41 bytes sent in 0.00 secs (1.8619 MB/s)

Reference

  • https://superuser.com/questions/466573/how-do-i-copy-a-file-over-ftp-using-ubuntu-linux