开发者

MGet on file without extension

开发者 https://www.devze.com 2022-12-25 20:21 出处:网络
In FTP, when I mget *, it only gets fil开发者_Python百科e with extension *.xxx and ignores those files without any extension, e.g. file name ACC001.

In FTP, when I mget *, it only gets fil开发者_Python百科e with extension *.xxx and ignores those files without any extension, e.g. file name ACC001.

How can I get those files without extension?


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.

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.

Without knowing the server you're connecting to, (Windows, UNIX, z/OS, ...), it's a little hard to give further information.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号