last-modified Questions

7

Solved

I'm using this piece of code to try to retrieve the last modified date of a file: NSError *error = nil; NSDictionary *attributes = [[NSFileManager defaultManager] attributesOfItemAtPath: myFilePat...
Petterson asked 21/11, 2012 at 16:19

8

Solved

I'm currently working with Amazon S3 and I am writing a program that uses the modified dates. I'm looking for a way to edit the modified dates. I could loop trough all the files and save them as th...
Gypsophila asked 19/11, 2012 at 13:49

3

Solved

I am using FileAPI to get the HTTP-header Last-Modified time of a file, which is returning the following string: Fri Oct 25 2013 12:04:10 GMT+0100 (GMT Daylight Time) This is then posted to PHP ...
Flutterboard asked 6/12, 2013 at 16:30

8

I'm trying to fetch last modified timestamp of a table in Hive.
Coomb asked 4/1, 2017 at 16:29

3

Solved

I'm trying to tell nginx to cache some of my assets (js, css) forever, or at least for a very long time. The idea is that once an asset bundle is compiled and published with an /assets/ URI prefix...
Logistician asked 15/11, 2013 at 19:26

11

Solved

I'm writing a photo gallery script in PHP and have a single directory where the user will store their pictures. I'm attempting to set up page caching and have the cache refresh only if the contents...
Elegize asked 12/2, 2009 at 7:4

3

Solved

I'm generating dynamic content with PHP. I'm sending the following HTTP-header: HTTP/1.1 304 Not Modified Date: Sun, 09 Dec 2012 17:24:41 GMT Server: Apache Connection: keep-alive, Keep-Alive Kee...
Toomer asked 9/12, 2012 at 17:34

4

Solved

Does anyone know how to check for a file access date and time? The function returns the modified date and time and I need something that compares the accessed date time to the current date and time...
Springtail asked 28/11, 2011 at 9:57

5

Solved

I'm looking to find out a way of seeing when a file was last modified in C#. I have full access to the file.
Fluxion asked 29/7, 2010 at 7:34

5

Solved

When I read the mtime of a file from Java using Files.getLastModifiedTime, the return value is truncated to whole seconds. I know this works on other systems to get mtimes with millisecond resoluti...
Mailbag asked 17/7, 2014 at 13:14

4

Solved

I'm required to write a batch file to do a few things Initially I thought my problem was very simple - capture the modified date of a txt file located in a specified directory, compare that date t...
Rodrigues asked 19/2, 2012 at 13:59

3

Solved

What is the right way to get the date of last modification of a TYPO3 page (and its *tt_content*) ? There are 2 fields in properties of table pages : tstamp and SYS_LASTCHANGED. In this article ...
Medrano asked 26/2, 2013 at 9:44

7

Solved

Outside of adding an NSDate property to each Entity in my Core Data store, is there a programmatic way to get the modification date for any object?
Packhorse asked 28/4, 2011 at 3:34

3

Solved

I have a python script that downloads a file over FTP using ftplib. My current download code looks just like the example in the ftp lib docs: ftp.retrbinary('RETR README', open('README', 'wb').wr...
Nesmith asked 5/7, 2012 at 16:50

6

Solved

I'm caching some information from a file and I want to be able to check periodically if the file's content has been modified so that I can read the file again to get the new content if needed. Tha...
Quarrier asked 9/11, 2016 at 10:4

3

Solved

Is it possible to view the last time a file was modified in Windows command prompt in milliseconds or even in seconds?
Quilting asked 27/2, 2013 at 13:25

3

Solved

I use Git for source control and build with Visual Studio 2008. Mostly I build on one branch (master). Often I need to do a code review and switch to another branch (develop) temporarily. I do not ...
Singley asked 10/2, 2012 at 0:41

2

Solved

I am trying to work on Lua file handling. I am able to open (read), write and close the file via: local session_debug = io.open("/root/session_debug.txt", "a") session_debug:wri...
Arrowood asked 23/10, 2015 at 7:21

2

Solved

The Github API specifies two headers that can be used in Conditional Requests, Last-Modified and ETag. Which is the more reliable when querying the API? For context: when using the api endpoint GE...
Emrich asked 21/1, 2015 at 5:18

4

Solved

Bizarre question: is it possible to get the last modified date of a file in the assets folder, or would that be pointless and impossible? I ask because I'm copying a read-only database out of the...
Gymnasiast asked 9/3, 2011 at 15:34

3

Solved

Is it safe to use File Last Modified (e.g. NTFS) when detecting if a file has changed? If not, does file backup applications always hash the whole file to check for changes? If so what hash algorit...
Faintheart asked 10/12, 2011 at 22:18

11

Solved

I need to find the most recently modified file in a directory. I know I can loop through every file in a folder and compare File.GetLastWriteTime, but is there a better way to do this without loo...
Saguache asked 24/7, 2009 at 20:22

3

Solved

I was just curious to know this, when i give mvn install without doing 'clean', maven compiles only the modified java files. How does maven identify a java file is modified or not? I believe it is ...
Asperity asked 2/8, 2012 at 7:17

2

Solved

In my bash script on mac (snow leopard) I have a path and filename, and I need to get the modified date/time of that file. I found I could do: stat -f "%m" $MYFILE However, that returns what I a...
Septum asked 29/8, 2012 at 1:25

9

Solved

How do I find the last modified file in a directory in java?
Impute asked 14/1, 2010 at 14:23

© 2022 - 2024 — McMap. All rights reserved.