Hello,
This some basic question although i can't get it work
GetFileList>c:\temp\*.rar,filelist
i suppose all *.rar file names are printed into the file 'filelist'. Well nothing happens. I don't find such file in temp-dir or macroscheduler dir
thanks for your help
how is GetFileLIST supposed to work ?
Moderators: Dorian (MJT support), JRL
GetFileList>c:\temp\*.rar,filelistCorrect so far. The param "fileslist" isn't for an output filename, but it's a variable name.
If you check out the GetFileList example in the help file, it says something like this:GetFileList>c:\temp\*.rar,filelist
Separate>filelist,;,file_names
MessageModal>Number of files found: %file_names_count%
Let>k=0
Repeat>k
Let>k=k+1
Let>currentfile=file_names_%k%
Message>File %k% of %file_names_count%%CRLF%%currentfile%
Until>k,file_names_countInstead of displaying the message, you could FTP the file, delete it, save it's filename to the last line of a text file, etc.
If you check out the GetFileList example in the help file, it says something like this:GetFileList>c:\temp\*.rar,filelist
Separate>filelist,;,file_names
MessageModal>Number of files found: %file_names_count%
Let>k=0
Repeat>k
Let>k=k+1
Let>currentfile=file_names_%k%
Message>File %k% of %file_names_count%%CRLF%%currentfile%
Until>k,file_names_countInstead of displaying the message, you could FTP the file, delete it, save it's filename to the last line of a text file, etc.