473,405 Members | 2,444 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,405 software developers and data experts.

GetLastWriteTime

I need to display on screen the last time my web app was updated. How
do I refer to the app path using GetLastWriteTime? I am using an
external webhost, so I don't know the full path of the webserver, I need
to be able to refer to the app path and drill down from it to find the
file I want.
Any help would be much appreciated.
Cheers,

Mike

*** Sent via Developersdex http://www.developersdex.com ***
Dec 27 '05 #1
1 1711
MapPath will translate virtual to physical paths.

"Mike P" <mi*******@gmail.com> wrote in message
news:uR**************@TK2MSFTNGP15.phx.gbl...
I need to display on screen the last time my web app was updated. How
do I refer to the app path using GetLastWriteTime? I am using an
external webhost, so I don't know the full path of the webserver, I need
to be able to refer to the app path and drill down from it to find the
file I want.
Any help would be much appreciated.
Cheers,

Mike

*** Sent via Developersdex http://www.developersdex.com ***

Dec 27 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: msnews.microsoft.com | last post by:
Does the framework support the changing of a files Date and Time and if so is there sample could for which I can be directed?
2
by: Wayne Taylor | last post by:
Hi All I want to read what a partially file date is. So I can log it and look back in the log and see if the auto update from another device has missed at any point. I have used...
2
by: Rosa | last post by:
Hi, I'm looking for an elegant solution on how to find the youngest file within a given directory. At the moment I'm storing all files in an array and loop through it comparing the creation date...
0
by: JuLiE Dxer | last post by:
Is there a way to set a file's last write time via a .NET Compact Framework support method? The System.IO.File class has GetLastWriteTime SetLastWriteTime but only the GetLastWriteTime is...
1
by: Kevin F (Michigan) | last post by:
I'm trying to use ASP.NET (VB.NET) to get the last update date for certain files on our network. These files are NOT on the same computer as the IIS instance. ASP.NET apps run under the ASPNET...
1
by: BW | last post by:
I am creating an upload/download function for an extranet site. Files will be uploaded to directory based upon the users login and associated project. The function works as long as I use "c:\Temp"...
13
by: Randall Arnold | last post by:
I'm not happy with the order in which OpenFileDialog retrieves multiple selected files. I want them in Date order, oldest to newest, but by default they come in by filename, last to first. The...
0
by: =?Utf-8?B?Qm9iQWNoZ2lsbA==?= | last post by:
I get different results by 1 hour when I use this method depending on if I have Daylight savings time on the computer turned on or off. How can I programmatically get the "real" LastWriteTime...
3
by: =?Utf-8?B?TGV3aXMgTW90ZW4=?= | last post by:
Hello. We are having a problem here trying to compile C# applications. Only one developer has a problem where they attempt to compile the application and the compiler complains about being out of...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.