FTP multiple files at one time

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
jking
Newbie
Posts: 3
Joined: Thu Jun 23, 2005 11:58 pm
Location: Brea, Ca

FTP multiple files at one time

Post by jking » Fri Jun 24, 2005 12:00 am

I am trying to write a script that will log into a remote server and get all files with a similar name (file*.txt). I do not see any code for the mget ftp command only a specific file or directory listing.

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Fri Jun 24, 2005 6:17 pm

We have not implemented an FTP MGet command, only a singular GET command. However, you can do what you want easily by creating an FTP script file for the Windows FTP command line program. You can then invoke this from a script in Macro Scheduler. For more info go to DOS and type FTP -?
MJT Net Support
[email protected]

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Sun Jun 26, 2005 1:05 am

Windows/DOS FTP doesn't support Passive mode, required by many servers these days. MoviIt Freely http://www.standardnetworks.com/product ... y_number=1 is a free, command line FTP that works very well with Macro Scheduler.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts