Skip to content

Instantly share code, notes, and snippets.

@mikedamoiseau
Created September 16, 2020 09:26
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 mikedamoiseau/e2d1a685fa24f1084e2d21cdf682ba96 to your computer and use it in GitHub Desktop.
Save mikedamoiseau/e2d1a685fa24f1084e2d21cdf682ba96 to your computer and use it in GitHub Desktop.
FTP: Download and upload through command line

Download

wget -m --user="user@login" --password="Pa$$wo|^D" ftp://server.com/

Upload

  1. Download NcFTP
  2. ~/ncftp-3.2.6/bin/ncftpput -R -v -u "USERNAME" HOST REMOTE_FOLDER LOCAL_FOLDER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment