开发者

Is it possible to copy files through ftp connection?

开发者 https://www.devze.com 2023-02-13 11:11 出处:网络
I use the following code to put a file from my local machine to a remote machine: open abc a b lcd C:\\Interfaces\\KGR-ARV\\XML

I use the following code to put a file from my local machine to a remote machine:

open abc
a
b
lcd C:\Interfaces\KGR-ARV\XML
ascii
prompt
prompt
cd /usr/qkreditnethome/interface/temp
put C:\Interfaces\KGR-ARV\XML\*KGRRequest*QUA.XML
Y
quit
bye

Is there a way, using a ftp command, to copy the开发者_运维问答 file from /usr/qkreditnethome/interface/temp to /usr/qkreditnethome/interface/temp2 ?

Thanks in advance!


There is no copy command in ftp. You will have to GET the file and PUT it where you want.


Depending on the OS you can take some third-party software which mounts the remote FTP as a part of the local filesystem, and then use regular system copy routines.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号