directory from ftp unix using curl

directory from ftp unix using curl

  • Category: from
  • Seed : 181
  • Leech : 72

Click Download button to get file!

Try curl -u user:password 'ftp://mysite/%2fusers/myfolder/myfile/raw' -o ~/Downloads/myfile.raw. In FTP URLs, the path is relative to the starting directory (usually ... Thankfully there are alternatives like scp rsync wget to get whole directories worth of files. To download you just need to use the basic curl command but add your username and password like this curl --user username:password -o filename. tar. gz ftp://domain.com/directory/filename.tar.gz. To upload you need to use both the –user option and the -T option as follows. The Linux curl command can do a whole lot more than download files.

Reply

Text