Use variables as filenames to download files in command line

Core FTP client questions and answers
Post Reply
rat2house
Posts: 2
Joined: Fri Jul 16, 2010 12:08 pm

Use variables as filenames to download files in command line

Post by rat2house »

I am using CoreFTP Lite Version 2.1 Build 1649.

I have created some VBScript to compare the contents of two DIR.OUT files and thus establish which files on the FTP Server are new and therefore need to be downloaded. (rather than downloading all of the files every night)

Is it possible, when using the Command Line with CoreFTP, to insert variables instead of the actual filenames?
eg wShell.Run "coreftp.exe -S -site myTest -OS -R -d /var1, var2 ....

If the above is possible, is there away of getting the variables from an external text file or an array?

Many thanks!
Post Reply