dynamically check version of exe file in FTP

remya1000

Well-known member
Joined
Mar 29, 2007
Messages
122
Programming Experience
Beginner
to find version of an exe, i use this code
VB.NET:
Dim FileProperties As FileVersionInfo = FileVersionInfo.GetVersionInfo(Application.ExecutablePath)
Textbox1.Text = FileProperties.FileVersion

How come we find a version of an exe that's uploaded in FTP? i need the version of an exe that's already there in FTP. i know the path where the exe file is saved in FTP.

if you have any idea, please help me...

Thanks in advance...
 
You would have to download the file to inspect it, or keep version information in another file there and download and check that.
The only information available from a Ftp server without downloading files is time stamp and file size.
 
Thanks JohnH for your reply...

so we cannot get version number without downloading the file from FTP.

qht i'm trying to do is, i need to check the version number of exe in FTP and check version number of exe in local machine. if it's different, then need to download exe from FTP.

Thanks in advance.
 
Back
Top