Sysax Product Forums / Sysax FTP Automation / General Discussion / Wildcard in local filenames
Posted:  30 Sep 2009 17:09
Hi,

how can I upload any "*.xml.gz" file from the local path to the remote location?

The problem is that the files I need to upload are created with some parameters like "Computername", "date", "time" which are not known to the system when starting the script.

Thanks!
Posted:  01 Oct 2009 21:11
You can use wildcards when looping through items in a list. for example:
foreach $localitem in @locallist begin
  if $localitem.name eq "*.xml.gz" begin
    #perform an action on this item
  end
end
 

Copyright © 2021 Codeorigin, LLC - All Rights Reserved.
XML RSS 2.0 XML Atom 1.0