Deleting local files after successful transfer via script

Advertisement

Guest

Deleting local files after successful transfer via script

Hi, I apologize in advance if this I have missed this information somewhere, but is there a way to remove local files once they have been successfully updated via a 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 accomplish 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!

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum