FTP and Zip + FTP integration
Posted: 27 Sep 2008 18:50
I wrote this xy-script to enable sftp (and also zip + ftp) selected files to predefined locations with just two clicks.
It is attached and also can be downloaded from:
http://infologika.com.br/public/xy.zip
It relies on two open source utilities: curl and 7-zip. Both have to be installed. Their locations have to be properly set in the .bat files, and also a few parameters have to be set. So in all .bat files replace:
[login] => ftp user
[password] => ftp password
[www.your-site.com] => ftp site
[proposals path] => your ftp path
[public path] => other ftp path
Originally curl did not support sftp (secure ftp) under windows (more information in curl forums). I made a contribution to curl and fixed that. So the right curl binary is at:
http://infologika.com.br/public/curl/curl_7.18.2.zip
The reason I used bat files along with the xyplorer script is to show the progress and result of the ftp transfer.
Curl site is:
http://curl.haxx.se
7-zip site is:
http://www.7-zip.org
It is attached and also can be downloaded from:
http://infologika.com.br/public/xy.zip
It relies on two open source utilities: curl and 7-zip. Both have to be installed. Their locations have to be properly set in the .bat files, and also a few parameters have to be set. So in all .bat files replace:
[login] => ftp user
[password] => ftp password
[www.your-site.com] => ftp site
[proposals path] => your ftp path
[public path] => other ftp path
Originally curl did not support sftp (secure ftp) under windows (more information in curl forums). I made a contribution to curl and fixed that. So the right curl binary is at:
http://infologika.com.br/public/curl/curl_7.18.2.zip
The reason I used bat files along with the xyplorer script is to show the progress and result of the ftp transfer.
Curl site is:
http://curl.haxx.se
7-zip site is:
http://www.7-zip.org