FTP Drive Space
-
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...
-
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...
As far as I know there is no way to know the free space unless the server has a [realy twisted custom] command fot it. IE: If you want to store a file you send a "STOR" command. To change the current dir, the command is "CWD". As far as I know there is no "standard" command for get the free space :( -- modified at 10:51 Friday 18th August, 2006
I'm on a Fuzzy State: Between 0 an 1