How to Download with WGET a file directly into private FTP

FTP

Hi

for unexpected reasons maybe 1 day will be the day that you well need to connect to a ftp into a unix shell and download a file and sadly you don’t have the graphical shell running

One quick way to download that file of your ftp server is to bind user and password & copy / paste into your Putty connection

( maybe the security guy from your network will kill you , but sometimes shit happens )

so … in this case I’ve used WGET to restore a backup that i have hosted into a FTP server

wget ftp://username:password@ftp.mysite.com/foo/bar/file.txt2015-07-31 13_12_05-Clipboard

this will place directly the file into your working directory

Regards

Tony.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.