I'm not sure if this is possible. An if it is, it will be dependent on the capabilities of the particular FTP server you are connected to. I found this:
http://www.nsftools.com/tips/RawFTP.htm
but I don't see any commands that look like they return disk size. It's possible FTP servers don't for security reasons.
-
Peter