Deleting local files after successful transfer via script
For example, right now I have a machine automatically uploading to a remote linux server from a Windows workstation. I would like the first workstation to delete the local files once they have been uploaded, but I do not know what the command/syntax would be to accomlish this (if it exists)?
For example, on the first machine I might have something simple like this running via task scheduler:
option batch on
option confirm off
open user:user@255.255.255.255
option transfer binary
put C:\import
%%% I would like a command to delete the files in C:\import here :) %%%
close
exit
Can anyone tell me how I can accomplish this?
Thanks!