如何使用 FTP 命令移动文件 [英] How to move files using FTP commands

查看:17
本文介绍了如何使用 FTP 命令移动文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

源文件路径为:/public_html/upload/64/SomeMusic.mp3

我想把它移到这个路径:/public_html/archive/2011/05/64/SomeMusic.mp3

And I want to move it to this path : /public_html/archive/2011/05/64/SomeMusic.mp3

如何使用 FTP 命令来做到这一点?

How can i do this using FTP commands?

推荐答案

在FTP客户端:

rename /public_html/upload/64/SomeMusic.mp3 /public_html/archive/2011/05/64/SomeMusic.mp3

使用 FTP 命令:

RNFR /public_html/upload/64/SomeMusic.mp3
RNTO /public_html/archive/2011/05/64/SomeMusic.mp3

来源:http://www.nsftools.com/tips/RawFTP.htm

这篇关于如何使用 FTP 命令移动文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆