Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

.NET Forum


You are currently viewing our .NET Forum as a guest. Please register to participate.
Login



Reply
dynamically check version of exe file in FTP - VB.Net
Old 02-15-2011, 12:15 PM dynamically check version of exe file in FTP - VB.Net
Experienced Talker

Posts: 39
Name: remya
Trades: 0
to find version of an exe, i use this code
Code:
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...
remya1000 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-17-2011, 06:23 PM Re: dynamically check version of exe file in FTP - VB.Net
DmitryS's Avatar
Skilled Talker

Posts: 84
Trades: 0
Quote:
Originally Posted by remya1000 View Post
to find version of an exe, i use this code
Code:
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...
well i too interested to know the solution. because in my point of view you can't check exe version on remote server
__________________
»
Please login or register to view this content. Registration is FREE
for web developers
»
Please login or register to view this content. Registration is FREE
- Interactive maps for websites
DmitryS is offline
Reply With Quote
View Public Profile
 
Old 02-17-2011, 06:35 PM Re: dynamically check version of exe file in FTP - VB.Net
chrishirst's Avatar
Defies a Status

Posts: 43,966
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by DmitryS View Post
well i too interested to know the solution. because in my point of view you can't check exe version on remote server
That is correct.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-25-2011, 04:36 PM Re: dynamically check version of exe file in FTP - VB.Net
Experienced Talker

Posts: 39
Name: remya
Trades: 0
Attached Class used for downloading files from FTP.

the exe name is getting too big. so instead of adding the version number in exe name, i will create a text file in that folder that contains verison number. so i can check this .txt file name to get version number.

for example: the text file name is going to be Ver.1.0.0.34.txt. 1.0.0.34 is version number, that keeps on change.

is there a way i can check the file that starts with "Ver" and ends with ".txt". so i can find the version number.

how come i check the file name from FTP?

if you have any idea, please let me know.

Thanks in advance...
Attached Files
File Type: zip clsFTPUploadFiles.zip (4.0 KB, 6 views)
remya1000 is offline
Reply With Quote
View Public Profile
 
Old 02-25-2011, 05:21 PM Re: dynamically check version of exe file in FTP - VB.Net
chrishirst's Avatar
Defies a Status

Posts: 43,966
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
You would have to know the filename BEFORE you can get it via FTP.

Why not have a text file called ver.txt? Your app could write this on installation
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-01-2011, 11:47 AM Re: dynamically check version of exe file in FTP - VB.Net
Experienced Talker

Posts: 39
Name: remya
Trades: 0
Thanks DmitryS and chrishirst for your help.

as you said i created a text file in FTP and checked version number from that.

Thank you so much for your help.
remya1000 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to dynamically check version of exe file in FTP - VB.Net
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.20989 seconds with 12 queries