FTP and Zip + FTP integration

Discuss and share scripts and script files...
Post Reply
dfelippa
Posts: 3
Joined: 27 Sep 2008 18:20

FTP and Zip + FTP integration

Post by dfelippa »

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
Attachments
xy.zip
ftp scripts
(1.36 KiB) Downloaded 186 times

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: FTP and Zip + FTP integration

Post by SkyFrontier »

Mentioned Curl file not available on posted link.
Found a copy here: http://www.catman.in/download/curl_7.18.2.zip
...but I'm not sure whether it's the real thing or not.
-can someone please confirm?
Thanks!
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

Post Reply