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:password@servername/directory

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

wget -r ftp://fish:cakes@www.fishcakes.com/~/*

Prolem solved…