Posted: 30 Sep 2009 17:09 | ||
Registered User Currently Offline |
Posts: 1 Join Date: Sep 2009 |
|
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 | ||
Moderator Currently Offline |
Posts: 367 Join Date: Nov 2008 |
|
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 |