Script

FTP

The professional tool to automate FTP, SFTP, FTPS

and schedule FTP batch jobs

MENU MENU
Post here if you experience file transfer problems or unexpected errors.
Hello,

I have a question, when I do a getfile I give a filemask:

[scriptftp="file_list.ftp"]$TYPE="*.csv"
GETLIST($list, REMOTE_FILES,$TYPE)[/ScriptFTP]

But is there is a way to exclude some file from this filemask ? Like
$TYPE="*.csv ^2012.csv" (I've test this way but not working...)

Thanks in advance
Thanks for the help this was what I needed ;)
Well, there just is not specified that will affect the getlist, so I put a question mark. You have two options - do not use getlist or in a loop to check it and drop unneeded files. Not enough information was given about your specific task...