Skip to content

Instantly share code, notes, and snippets.

@rkhmelyuk
Created April 26, 2011 15:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rkhmelyuk/942492 to your computer and use it in GitHub Desktop.
Save rkhmelyuk/942492 to your computer and use it in GitHub Desktop.
lftp to upload a file to FTP
lftp -u $FTP_USERNAME,$FTP_PASSWORD $FTP_SERVER/$FTP_DIRECTORY -e 'put -a filename;quit'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment