Is it possible to determine the amount of free space on a remote FTP server without using scripts?

…衆ロ難τιáo~ 提交于 2019-12-07 07:36:25

If you are using IIS FTP server on the Windows machine, you can configure the IIS to include free disk space in the LIST command response.

In the IIS manager, go to your FTP site, and select FTP Directory Browsing applet. There, in the Display following information in directory listing setting, check the Available bytes.

Then, the LIST FTP command response will look like:

226-Directory has 27,906,826,240 bytes of disk space available.
226 Transfer complete.

You can test this with WinSCP FTP client, it can make use of this information. Just go to the Space available tab of the Server and Protocol Information dialog.

(I'm the author of WinSCP)


Other FTP servers support other ways to retrieve free disk space.
See How to check free space in a FTP Server?

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