Get size of file on ftp server before downloading

  • Thread starter Thread starter Adam
  • Start date Start date
A

Adam

Hi,

How can I get the size of a file on an ftp server before downloading the
file. Basically I want to create a progress bar to show the progress of the
download as its being downloaded. If anyone could point me to any good
resources or explain what i need to do. I am using Visual Studio 2010 beta,
but code needs to be able to be run on 2.0 framework, if possible.

Thanks in advance,

Adam
 
How can I get the size of a file on an ftp server before downloading the
file. Basically I want to create a progress bar to show the progress of
the download as its being downloaded. If anyone could point me to any
good resources or explain what i need to do. I am using Visual Studio
2010 beta, but code needs to be able to be run on 2.0 framework, if
possible.

http://msdn.microsoft.com/en-us/library/system.net.webrequestmethods.ftp.getfilesize.aspx
(available in .NET Framework 2.0)
 
Back
Top