FTPS MoveIt不能下载没有扩展名的文件--不是普通文件--。

问题描述 投票:0回答:1

我想从BOX.com下载没有扩展名的文件。批量代码是这样的

ftps -e:tls-p -a -user:[email protected] -password:ABCDE ftp.box.com 
lcd D:\AAFTP\TO_AABB\
cd ABC
binary
prompt
mget *.*
quit

错误:

200 Command PBSZ okay.
200 Command PROT okay.
215 UNIX Type: L8
ftp> Invalid command.
ftp> Local directory now D:\AAFTP\TO_AABB\.
ftp> 250 Directory changed to /ABC
ftp> 200 Command TYPE okay.
ftp> Interactive mode Off .
ftp> 200 Command TYPE okay.
227 Entering Passive Mode (108,153,27,221,115,207)
150 File status okay; about to open data connection.
ftp: 7 bytes received in 0.31Seconds 0.02Kbytes/sec.
226 Closing data connection.
200 Command TYPE okay.
227 Entering Passive Mode (108,153,27,221,73,102)
550 /ABC: Not a plain file.
227 Entering Passive Mode (108,153,27,221,104,70)
550 /: Not a plain file.
ftp> 221 Goodbye.
box ftps moveit
1个回答
0
投票

这是你获取没有扩展名的文件的方法

ftps -e:tls-p -a -user:[email protected] -password:ABCDE ftp.box.com 
lcd D:\AAFTP\TO_AABB\
cd ABC
prompt
mget
© www.soinside.com 2019 - 2024. All rights reserved.