Skip to content

Instantly share code, notes, and snippets.

@timothyleung
Created December 8, 2016 04:56
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 timothyleung/036ea08a9ca15e4bb15714f86dcb20b7 to your computer and use it in GitHub Desktop.
Save timothyleung/036ea08a9ca15e4bb15714f86dcb20b7 to your computer and use it in GitHub Desktop.
One liner to download file from ftp server
echo open WEBSITE >> ftp &echo user USERNAME PASSWORD >> ftp &echo binary >> ftp &echo get FILENAMETODOWNLOAD >> ftp &echo bye >> ftp &ftp -n -v -s:ftp &del ftp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment