Say the proxy server is squid configured to be running on ' 192.168.0.10' Port '3128'
then some of the things we can do..
* List Files On FTP Server
curl --proxy 192.168.0.10:3128 ftp://xyz:mypass@sharethespace.com:21
* Download a file
curl -o STSServerInstaller.exe --proxy 192.168.0.10:3128 ftp://xyz:mypass@sharethespace.com:21/STSServerInstaller.exe
* Upload multiple files to the ftp server..
curl --upload-file "{rarlinux-3.6.0.tar.gz,vmlogo.xpm}" --verbose --proxy 192.168.0.10:3128 ftp://xyz:mypass@sharethespace.com:21
Note: We are uploading two files ie. rarlinux-3.6.0.tar.gz and vmlogo.xpm, similarly we can state more files, with a comma seperated list.
* We can also give the username/ password in options which is much safer than using it on the URL.
curl --upload-file "{rarlinux-3.6.0.tar.gz ,vmlogo.xpm}" --verbose --proxy 192.168.0.10:3128 -u xyz:mypass ftp://sharethespace.com:21
curl -o STSServerInstaller.exe --proxy 192.168.0.10:3128 -u xyz:mypass ftp://sharethespace.com:21/STSServerInstaller.exe
curl --proxy 192.168.0.10:3128 xyz:mypass ftp://sharethespace.com:21/path/to/file
CURL is a free GPL'ed Utility available on various platforms. in linux it comes by default.. in case its not there, please visit http://curl.haxx.se/download.html and download the version required for your platform. Windows Binary download is here
Note: The normal FTP client (Shell or ftp on dos prompt) does not work with ftp proxy servers.
CURL is a free GPL'ed Utility available on various platforms. in linux it comes by default.. in case its not there, please visit http://curl.haxx.se/download.html and download the version required for your platform. Windows Binary download is here
Note: The normal FTP client (Shell or ftp on dos prompt) does not work with ftp proxy servers.

