Forum Moderators: phranque

Message Too Old, No Replies

FTP program with scripting capability?

Anyone know of one?

         

meingalls

5:55 pm on May 20, 2004 (gmt 0)

10+ Year Member



Does anyone know of an FTP program that has a scripting capability? I have a web site that has .jpg files in roughly 200 different directories. I keep a backup copy on my local machine, and I have to check periodically for new ones. But checking 200 directories is tedious and time-consuming, so I am looking for an FTP program that will either create a script as I do it once, or better still, allow me to program a script.

Any ideas?

sned

6:13 pm on May 20, 2004 (gmt 0)

10+ Year Member



Have you looked at WGET? It can be used along with perl or php, probably any server side scripting language.

john_k

6:18 pm on May 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Check out ftpvoyager. It can do this pretty easily.

jatar_k

8:31 pm on May 20, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



sounds like a job for rsync [rsync.samba.org]

uncle_bob

11:38 pm on May 20, 2004 (gmt 0)

10+ Year Member



If you are using windows the the command line ftp client that comes with it supports scripting by calling
ftp -s:filename
.

However as was mentioned earlier wget, which runs on linux and (if you install cygwin) windows is great for scripted downloads, as it has more options than you can shake a stick at.

encyclo

12:46 am on May 21, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can download wget for Windows here:

[interlog.com...]

It's an excellent tool brought over from the Unix world. Might be just what you need.