Hi!
iam using this good script that you guys have been posting in "script library"
*****************************************************
OPENHOST("10.10.10.10","123","123")
LOCALCHDIR("C:\wdac")
# Retrieve the C:\wdac file listing
$result=GETLIST($list,LOCAL_FILES,"*.xml")
# If GETLIST failed stop the script
IF($result!="OK")
STOP
END IF
# For each file in $list...
FOREACH $item IN $list
# Upload the file
$result=PUTFILE($item)
# If the file has been succesfully uploaded
# delete the local copy of the file
IF($result=="OK")
EXEC("del ".$item)
END IF
END FOREACH
CLOSEHOST
*****************************************************
where schould i put in "bin", what type of command?
the bin command is important due target server and connection.
Best Regard
wdac
iam using this good script that you guys have been posting in "script library"
*****************************************************
OPENHOST("10.10.10.10","123","123")
LOCALCHDIR("C:\wdac")
# Retrieve the C:\wdac file listing
$result=GETLIST($list,LOCAL_FILES,"*.xml")
# If GETLIST failed stop the script
IF($result!="OK")
STOP
END IF
# For each file in $list...
FOREACH $item IN $list
# Upload the file
$result=PUTFILE($item)
# If the file has been succesfully uploaded
# delete the local copy of the file
IF($result=="OK")
EXEC("del ".$item)
END IF
END FOREACH
CLOSEHOST
*****************************************************
where schould i put in "bin", what type of command?
the bin command is important due target server and connection.
Best Regard
wdac