Re: Need to move the file instead of deleting it
Thanks for your Help Martin Really appreciate.
Marc
Marc
mv
before to a temps folder, then do the get *
on that temps folder and then mv
to the archive folder? Like this maybe, do you think it would work?
/log="C:\"location of the LoG"\WinSCP.log" /ini=nul /command "open ftps://"Information of the Connection -certificate=""information of the certificate""" "cd /ftpRemoteFolder" "lcd C:\"location where I want to file to be"\Inbound" "mv * /tempFolder/*" "get /tempFolder/*" "mv /tempFolder/* /archive/*" "exit"
get
and mv
.
mv....
and removed the -delete
/log="C:\"location of the LoG"\WinSCP.log" /ini=nul /command "open ftps://"Information of the Connection -certificate=""information of the certificate""" "cd /ftpRemoteFolder" "lcd C:\"location where I want to file to be"\Inbound" "get *" "mv * /archive/*" "exit"
ftpRemoveFolder
.
/log="C:\"location of the LoG"\WinSCP.log" /ini=nul /command "open ftps://"Information of the Connection -certificate=""information of the certificate""" "cd /ftpRemoteFolder" "lcd C:\"location where I want to file to be"\Inbound" "get -delete *" "exit"
MV
instead of the -delete
but it's not in the working at all