Hello,

 

I am new to WS_FTP and am interested in scripting the retrieval of files.  Is it possible to get a list of files after an MGET and call SHELL for each of these files?

 

For example:

 

LOG C:\EDI\LOGS\ftplog.txt

USER user

PASS pass

CONNECT ftp.mydomain.com

CD /mydir

MGET *.edi

SHELL executable.exe –f <enum_files>

CLOSE

 

Of course I would need to loop somehow, because there is a possibility of multiple files.

 

Any help would be greatly appreciated.

 

Brian Jahn

Gehl’s Guernsey Farms, Inc.

 

Reply via email to