【问题标题】:How can I create a new file in the Windows FTP Terminal [closed]如何在 Windows FTP 终端中创建新文件 [关闭]
【发布时间】:2016-08-26 12:01:37
【问题描述】:

mkdir 适用于 windows cmd 和 windows FTP 终端:

ftp> mkdir newDir
257 "newDir" : The directory was successfully created
ftp> cd newDir
250 OK. Current directory is /public_html/newDir

在 Windows cmd 中创建新文件:copy NUL EMptyFile.txt。但是,这在 Windows FTP 终端中不起作用。如何在 Windows FTP 终端中创建新文件?

【问题讨论】:

  • afaik 你不能那样做。先创建文件,启动ftp会话,上传文件。

标签: windows file ftp


【解决方案1】:

您可以从 ftp.exe 使用 ! 前缀(命令)执行任何本地 Windows 命令:

!copy NUL EMptyFile.txt

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-03-11
    • 2021-09-08
    • 2021-11-18
    • 1970-01-01
    • 2018-11-08
    • 1970-01-01
    • 2012-06-02
    • 2019-10-05
    相关资源
    最近更新 更多