MGet上没有扩展名的文件 [英] MGet on file without extension
问题描述
在FTP中,当我mget *
时,它仅获取扩展名为*.xxx
的文件,而忽略不带任何扩展名的文件,例如文件名ACC001
.
In FTP, when I mget *
, it only gets file with extension *.xxx
and ignores those files without any extension, e.g. file name ACC001
.
如何获取不带扩展名的文件?
How can I get those files without extension?
推荐答案
您可能会发现需要在某处设置site
选项(或使用quote
将特定的低级命令发送到FTP服务器) -使用quote help
了解详情).通常在较低级别将mget
命令实现为NLST
(名称列表),然后执行一系列RETR
(检索)操作.
You'll probably find you need to set a site
option somewhere (or use quote
to send a specific low-level command to the FTP server - use quote help
for details). The mget
command is typically implemented at the lower level as a NLST
(name list) followed by a series of RETR
(retrieve) operations.
由于NLST
是服务器的命令,用于为您提供名称列表,因此可能是服务器仅传递带有扩展名的文件.
Since NLST
is a command to the server to give you a list of names, it's probably the server that's delivering only those files with an extension.
在不知道要连接的服务器(Windows,UNIX,z/OS等)的情况下,提供更多信息有些困难.
Without knowing the server you're connecting to, (Windows, UNIX, z/OS, ...), it's a little hard to give further information.
这篇关于MGet上没有扩展名的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!