ftp automation

ScriptFTP

The professional tool to automate FTP, SFTP, FTPS and schedule FTP batch jobs

The forum is now read only. Please, go to the the main ScriptFTP website if you need help.
Need help writing a script? Have any question about ScriptFTP?
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