简体   繁体   中英

Is there a way we can find the remaining space in FTP server using ftplib?

I know we can use the size method from the FTP class to find the size of the files in the FTP server. But here I want to find the total remaining space in the server after files are uploaded so that we could guess how many more files we can upload. Is there a way to do this?

This is not really Python/ftplib question. It's more about what information does your FTP server provide.

All these can be used from ftplib. But in general, most FTP servers do not provide any of these.

See also How to check free space in a FTP Server?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM