GetMove <remote filename> [, <local filename>]
This command works like the Get command but will attempt to do a RemoteDelete <remote filename> after a successful transfer. If the remote delete operation fails for any reason, the received local copy will be deleted.
The logfile will list all the intermediate delete operations and their results. A failiure in any of the sub-operations will cause the GetMove command to fail.
See also: GetDir, Get, PutMove, ForEach
Examples:
GetMove "sales.dat", "joeserver_sales.dat"
GetMove "*.php"
← Back to Script Commands