Wednesday, March 12th 2008

Recursive ftp with wget
posted @ 10:49 am in [ Apache -PHP -Technology -Web Design ]

Sometimes when the servers won’t give you ssh access, and you want to copy files from one machine where you don’t have ssh access to one that does, recursive ftp with wget is the answer

wget -r ftp://username:[email protected]/directory

For example to get all the files from my server at with username fish and password cakes, in my homedirectory I would use

wget -r ftp://fish:[email protected]/~/*

Prolem solved…

Leave a Reply