473,386 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

dynamically check version of exe file in FTP - VB.Net

115 100+
to find version of an exe, i use this code
Expand|Select|Wrap|Line Numbers
  1. Dim FileProperties As FileVersionInfo = FileVersionInfo.GetVersionInfo(Application.ExecutablePath)
  2. Textbox1.Text = FileProperties.FileVersion
  3.  
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...
Feb 15 '11 #1
4 3216
MrMancunian
569 Expert 512MB
For as far as I know, you can check the FileInfo for the file on the FTP. Make a connection to the FTP, navigate to the file and create a new FileInfo. Then, you can check the FileVersion.

Mind you, I never tried this, so I might be completely wrong. Just let me know what happens.

Steven
Feb 21 '11 #2
remya1000
115 100+
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...
Feb 25 '11 #3
remya1000
115 100+
Thanks MrMancunian for your help...

as u said created text file in FTP and checked file version from that.

Thank you so much.
Mar 1 '11 #4
MrMancunian
569 Expert 512MB
That's not what I said, but I won't bother you if it's working this way ;-)

Steven
Mar 7 '11 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: Xah Lee | last post by:
would anyone like to translate the following perl script to Python or Scheme (scsh)? the file takes a inpath, and report all html files in it above certain size. (counting inline images) also...
2
by: jwexqm | last post by:
I'm using a COM DLL from a C# application via an interop wrapper generated by 'tlbimp.exe'. That all works fine, I can fire off methods and things happen as they should. My issue is that I want...
5
by: Tim Mulholland | last post by:
I am trying to create an ASPX page that, based on QueryString inputs, returns another file, in this case a WMA file. I do not want to do this by redirect, because these files are not available...
2
by: mhadi | last post by:
Hello Please Help me!! The big bossman is screaming in my ear, I am only devloper of dotnet in my software house and know only to develop widows based application !! My boss wan't me to...
5
by: ajay m | last post by:
hi, I need a perl script for get latest version file from perforce, and that file putting into local machine. pls help me.......
2
by: Kimmo Laine | last post by:
Hi! Is there a way to check if file is already open/used by another process? I know that i can do something like this to check it try { StreamWriter sw = new StreamWriter(filename);...
2
by: amanzour | last post by:
How can I check the file extension of let say a file extension in the client machine? I am using ASP.NET C# language, and was hoping one of the field validators could take care of my q. but don't...
15
by: Brian Simmons | last post by:
Is there an easy way to check to see if a file is in use? I want to open a CSV file from my .NET2 program, and write to it. However, the file could be in use by another program. If that is the...
0
by: Chris Rebert | last post by:
On Sat, Sep 27, 2008 at 2:43 PM, A. Joseph <joefazee@gmail.comwrote: Well, if you're on unix, you could run the 'file' command and check its output using the 'subprocess' module, but it sounds...
7
by: musther | last post by:
I have a set of calculators written in JS on a page: http://www.slymail.org/vinocalc.html The page is designed to be downloaded and used offline, or simply saved as a file for speed of access and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.