Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Abu-Dina

Problem solved!

changed MV command to the below and it's fixed!

mv winscptest.txt /ftp/Archive/

Thanks.
Abu-Dina

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?