Checking free space on FTP server
问题 I am running a build script in which three executable files (100mb each) are uploaded to an FTP server. The first upload can fail due to an FTP server space problem so our build process fails. This means I have to free some space from the server and run the build script again which is waste of time. I'd like to check the FTP size before uploading the exe to make sure space is there. If sufficient space is there then upload otherwise prompt user for input. How can I check the FTP size in an