Using FTP's mget without prompts

末鹿安然 提交于 2020-04-07 02:23:09

问题


I am trying to pulls some files down from a server using the FTP protocol. I have not problems accessing the files and downloading them. The issues is there are a number of them and the command,

mget *.raw 

I am being prompted to download the file as follows

mget G20140926_Plasma_iTRAQTMTstudy_TMT10_fr12.raw? y
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for G20140926_Plasma_iTRAQTMTstudy_TMT10_fr12.raw (1658613609 bytes).
226 Transfer complete.

Can I avoid this somehow?


回答1:


OK per a comment

A quick way to silence the dialog is to type the command

prompt noprompt 

This will silence everything so you can glob to your hearts content.

Thanks Marichyasana!



来源:https://stackoverflow.com/questions/54225917/using-ftps-mget-without-prompts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!