FTP Drive Space

P

pa.singer

I am developing a windows service with Visual Studio 2005 that
automates the FTP of files to a remote server. I am wondering if anyone
knows of a way I can programatically retrieve the available drive space
on the remote server prior to the FTP transfer? I know that I can use
the GetResponse method of the FTPWebResponse class to retrieve a status
code indicating that there is insufficient space when that occurs, but
I would prefer to be proactive.

Thank you...
 
N

Nicholas Paldino [.NET/C# MVP]

You can't do this. The FTP protocol doesn't have anything in it that
provides this information.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top