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

lastModified from file on clientside

I would like to get the lastModified datetime from a file on the
clientside.
I use a form, the forms does an upload of a file, but after the upload
the modification datetime is changed. So I got to find a way to
retrieve the modification date and time from the file selected for
update after it is selected and before it is uploaded.

Pugi!

Nov 24 '06 #1
1 1214
VK

Pugi! wrote:
I would like to get the lastModified datetime from a file on the
clientside.
I use a form, the forms does an upload of a file, but after the upload
the modification datetime is changed. So I got to find a way to
retrieve the modification date and time from the file selected for
update after it is selected and before it is uploaded.
You cannot do that with the default security settings. If you are
programming for intranet and/or have control over security settings of
all involved machine then you may use FileSystemObject (IE) and XPCOM
interfaces (Gecko).

Nov 24 '06 #2

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

Similar topics

1
by: x | last post by:
Here's my problem... I have a file on many many users remote machines (with different OS's, etc) and I want to have my program test the date that the file that they are using, against the date...
1
by: John Norvell | last post by:
I just noticed that recently the javascript I was using to format and display the last modified date of my web page is always reporting the current date instead. It used to work fine. This is true...
12
by: Bart | last post by:
Hallo, I'm have a problem with the following script: function wr(s) { //Just got tired of writing document.write, //so I created a shorthand version document.write(s);
3
by: Konrad Den Ende | last post by:
I went: document.write (document.lastModified); to my document and everything was as expected as long as the file was on the HDD and being tested. Then i uploaded it and, to my biggest surprise,...
2
by: Kam Bansal | last post by:
Hi all, We're using Apache 1.3 (I know, I know, there's a newer version...) and it seems that the document.lastModified does not return the correct date. On Netscape it shows 01/01/1970 and on...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
17
by: JellyON | last post by:
Hi. How to do document.lastModified works with Netscape and Opera ? Or what other way to take to simply display the last update date about current page ?
2
by: dbahlmann | last post by:
Hi, I'm using document.lastModified function to return my document last mod date. The function returns 1-Jan-1970. The problem seems to be that the file name is index.php instead of index.html....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.