ftp 在 Windows 7 和 10 之间的行为不同

米克

我有一个批处理文件,其中包含以下行...

ftp < ftpcom.txt

ftpcom.txt 文件包含一些类似...

open ftp.mysite.com
myusername
mypassword
cd public_html
cd subdirectory
mput afile.txt
y
quit

这已经在我的 Windows 10 PC 上完美运行了一段时间,但我暂时被迫切换到旧的 Windows 7 PC,现在它被密码卡住了。即我看到它已连接到 ftp.mysite.com 并读取了我的用户名,现在要求输入密码(我看到文本“密码:”),但之后我什么也没看到。DOS 框卡住了 - 就好像它在等待某人输入密码一样。也许有一些 Windows 7 功能,即 ftp 拒绝接受来自文件的密码?

显然,这可能根本不是 Windows 7 与 10 的问题——也许只是一些不正确的配置设置。

格哈德

cmd.exe如果你运行ftp /?你得到一些帮助。让我们关注此帮助输出的一个特定部分。

-s:filename     Specifies a text file containing FTP commands;
                the commands will automatically run after FTP starts.

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

Windows 7和Windows 10 FTP客户端之间有什么区别?

Windows 7和Windows 10之间的双显示器

Windows 7和Windows 10之间的兼容性。

Windows 8.1和Windows 10之间的UAC高程行为差异

Angular 8 和 Angular 10 之间的不同 *ngFor 行为

win 7和win 10之间的角半径样式不同

Python 并行处理 - Linux 和 Windows 之间的不同行为

Microsoft Acess - Windows 7/Office 2013 和 Windows 10/Office 365 之间不兼容

Windows 10和Windows 7之间的VMware网络组可以吗?

Windows 7和10上的每个IE 11有何不同?

<decimal> .ToString(“ P3”)在Win7和Windows 10上返回不同的结果

在Windows XP和Windows 7中启动.vbs文件的不同行为

Windows 7和Windows 10中的WiFi范围下降

Windows 7 和 Windows 10 的 ListViewItem 有什么区别

DateTime.Now.ToUniversalTime()。GetDateTimeFormats()返回Windows 7和Windows 10上具有不同数量元素的数组

为什么“创建还原点”脚本在Windows 7和Windows 10 / 8.1上的工作方式不同

CentOS 6和CentOS 7之间的硬链接权限行为有所不同

在Debian和Windows 10之间共享文件

Windows 7/8/10如何存储和保护WiFi密码?

在Windows 10上安装IIS 7和.Net 4.0

如何确定 Windows 7、8.1 和 10 上的带宽?

有关CentOS和Windows之间端口号的不同行为

在Windows和Linux上获得正则表达式结果之间的不同行为

SetFocus清除编辑框。(Windows和/或Delphi版本之间的行为不同)

'npm run'命令和Windows控制台之间的行为不同

Windows 7记事本和Windows 2012 Server记事本之间奇怪的新行行为

@InjectMocks与Java 6和7的行为不同

Windows Update和Windows 10 Update Assistant之间的区别

Windows 10和Windows IOT核心之间的TCP通信