moving remote files

Advertisement

Abu-Dina
Guest

moving remote files

I have the following script which basically downloads a file then attempts to move it to a different remote folder:

option batch on
option confirm off
open ftp://blahblahblah/ftp/download
option transfer binary
get winscptest.txt D:\dir1\dir2\
mv winscptest.txt Archive/
close
exit

However, the mv command is not working and I'm getting an error (error moving file etc..)

the remote folder structure is /ftp/download
and I want to move the file to /ftp/Archive


Any ideas?

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum