Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

remote copy file

 
kamesh aru
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to copy remote file from one directory to another on the remote machine itself through FTP ,
eg remote file C:\test\xyz.txt to C:\test2\
thanks in advance
 
Joe Ess
Bartender
Posts: 9362
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you issue a shell command through the FTP server (i.e. !<command> ? If so, just !mv the file. Otherwise your only alternative may be to download the file, delete the remote copy and then upload it to the destination directory.
 
kamesh aru
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am trying to execute the command
-----------------------------------------

gives error
'cp' is not recognized as an internal or external command,
cp command is working on qshell
if i try

gives error
The syntax of the command is incorrect.

any clue
thanks in advance
 
Joe Ess
Bartender
Posts: 9362
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Joe Ess:
your only alternative may be to download the file, delete the remote copy and then upload it to the destination directory.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!