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

Viewed 263

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?

1 Answers

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?

Related