MGet上没有扩展名的文件 [英] MGet on file without extension

查看:111
本文介绍了MGet上没有扩展名的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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屋!

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