Skip to content

Instantly share code, notes, and snippets.

@Nimrodda
Created April 5, 2015 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nimrodda/796ca24df4710bc4498f to your computer and use it in GitHub Desktop.
Save Nimrodda/796ca24df4710bc4498f to your computer and use it in GitHub Desktop.
Linux commands

FTP command line

ncftp

ncftpput -R -v -u "username" ftp.nixcraft.biz /nixcraft/forum /tmp/phpbb
 
Where,

-u "username" : Ftp server username
-v : Verbose i.e. show upload progress
-R : Recursive mode; copy whole directory trees.
ftp.nixcraft.biz : Remote ftp server (use FQDN or IP).
/nixcraft/forum : Remote ftp server directory where all files and subdirectories will be uploaded.
/tmp/phpbb : Local directory (or list of files) to upload remote ftp server directory /nixcraft/forum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment