Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > FTP and incongruous time-stamps on files...

Reply
Thread Tools

FTP and incongruous time-stamps on files...

 
 
rusty
Guest
Posts: n/a
 
      12-04-2003
hello.

In using dreamweaver's ftp engine, I often find when synchronizing sites the
notice comes up that the file on the remote server is newer (which is of
course not the case)... can anyone explain why this happens? Do remote http
servers reset the time-stamp on files without authorization?

Also, in using dreamweaver (mx) today, I altered 2 pictures and when going
to my images folder to upload them, I noticed that the time stamp on about a
dozen images had been changed to a time today 4 hours in the future (ie,
it's 3 pm now; files read 7 pm) even though these files were not altered by
me.

sorry if wrong NG, posted to dreamweaver ng, but no answers. thought it may
be an issue of understanding how remote http servers work.
thanks!!

rusty




 
Reply With Quote
 
 
 
 
brucie
Guest
Posts: n/a
 
      12-04-2003
in post <news:S3Bzb.3153$d35.1697@edtnps84>
rusty said:


> In using dreamweaver's ftp engine, I often find when synchronizing sites the
> notice comes up that the file on the remote server is newer (which is of
> course not the case)... can anyone explain why this happens?


news://alt.macromedia.dreamweaver
news://macromedia.dreamweaver

> Also, in using dreamweaver (mx) today, I altered 2 pictures and when going
> to my images folder to upload them, I noticed that the time stamp on about a
> dozen images had been changed to a time today 4 hours in the future (ie,
> it's 3 pm now; files read 7 pm) even though these files were not altered by
> me.


servers are GMT

> sorry if wrong NG, posted to dreamweaver ng, but no answers.


you could have said that before i spent 3hrs looking for the dreamweaver
newsgroups



--
brucie
04/December/2003 05:09:08 pm kilo
 
Reply With Quote
 
 
 
 
brucie
Guest
Posts: n/a
 
      12-04-2003
in post <news:bqmn0j$2552nh$(E-Mail Removed)-berlin.de>
brucie said:

> servers are GMT


maybe.




--
brucie
04/December/2003 05:21:17 pm kilo
 
Reply With Quote
 
brucie
Guest
Posts: n/a
 
      12-04-2003
in post <news:bqmnkb$23o56s$(E-Mail Removed)-berlin.de>
brucie said:

>> servers are GMT


> maybe.


maybe not. i thought i read somewhere servers should be set to GMT but i
cant find the reference. a look at my hosts shows some on GMT and others
on the local time for their location so now i'm totally confused. does
anyone know?

--
brucie
04/December/2003 06:44:25 pm kilo
 
Reply With Quote
 
rusty
Guest
Posts: n/a
 
      12-04-2003
> maybe not. i thought i read somewhere servers should be set to GMT but i
> cant find the reference. a look at my hosts shows some on GMT and others
> on the local time for their location so now i'm totally confused. does
> anyone know?


thanks for the glimpse into your inner workings, brucie, but i'm still left
wondering why my LOCAL site files were altered by Dreamweaver MX to read 4
hours later than my actual time. Also, these were files I did not alter.
(this may be more appropro for the DW newsgroup, but those donuts never
answer my posts.

c'est la vie, n'est-ce pas, mes ami?


 
Reply With Quote
 
brucie
Guest
Posts: n/a
 
      12-04-2003
in post <news:HrDzb.5084$d35.3445@edtnps84>
rusty said:

>> maybe not. i thought i read somewhere servers should be set to GMT but i
>> cant find the reference. a look at my hosts shows some on GMT and others
>> on the local time for their location so now i'm totally confused. does
>> anyone know?


> thanks for the glimpse into your inner workings, brucie, but i'm still left
> wondering why my LOCAL site files were altered by Dreamweaver MX to read 4
> hours later than my actual time.


but what is the server time? if you're allowing DW to update it may be
changing your local file properties to reflect those on the server (or
you could probably set it up vice versa)

> c'est la vie, n'est-ce pas, mes ami?


ummm... oogga booga!?

--
brucie
04/December/2003 07:52:27 pm kilo
 
Reply With Quote
 
Barefoot Kid
Guest
Posts: n/a
 
      12-04-2003
"rusty" <(E-Mail Removed)> wrote in message news:S3Bzb.3153$d35.1697@edtnps84...
| hello.
|
| In using dreamweaver's ftp engine, I often find when synchronizing sites the
| notice comes up that the file on the remote server is newer (which is of
| course not the case)... can anyone explain why this happens? Do remote http
| servers reset the time-stamp on files without authorization?
|
| Also, in using dreamweaver (mx) today, I altered 2 pictures and when going
| to my images folder to upload them, I noticed that the time stamp on about a
| dozen images had been changed to a time today 4 hours in the future (ie,
| it's 3 pm now; files read 7 pm) even though these files were not altered by
| me.
|
| sorry if wrong NG, posted to dreamweaver ng, but no answers. thought it may
| be an issue of understanding how remote http servers work.
| thanks!!
|
| rusty

say that u last modified a file locally a week ago and then u upload that file today, the timestamp
of that file on the ftp server would have todays date. if u upload that file again dw will warn u
that the remote file is newer because according to the server it is even tho u havent modified in a
week.
---------------------------------------------------
Hung Diep
New Media Designer
www.intro-spect.co.uk
0795 6576 319


 
Reply With Quote
 
Toby A Inkster
Guest
Posts: n/a
 
      12-04-2003
brucie wrote:

> maybe not. i thought i read somewhere servers should be set to GMT but i
> cant find the reference.


You can set your servers to whichever timezone you like, as mostly the
server will specify a timezone whenever it outputs the time.

For example:

[tai@ophelia (pts/1) ~]$ lynx -dump -head http://www/
HTTP/1.1 200 OK
Date: Thu, 04 Dec 2003 18:20:54 GMT
Server: Apache-AdvancedExtranetServer/2.0.47
X-Powered-By: PHP/4.3.3
Connection: close
Content-Type: text/html

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
Mark Parnell
Guest
Posts: n/a
 
      12-04-2003
Sometime around Thu, 4 Dec 2003 19:56:05 +1000, brucie is reported to have
stated:
>
> but what is the server time? if you're allowing DW to update it may be
> changing your local file properties to reflect those on the server (or
> you could probably set it up vice versa)


That's exactly what DW does. I have yet to find the option (if it exists)
to stop it (or reverse it).

To the OP: This means that if your server is set to 4 hours ahead of your
computer, after uploading files they will show as being modified 4 hours in
the future. Unless you can work out how to stop DW doing this, or get your
host to change the time on the server, there's not much you can do about
it. Other than use a different program for FTP.

--
Mark Parnell
http://www.clarkecomputers.com.au
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
64 bit FTP software and why did Microsoft leave out a FTP softwareout of all versions of win 7? inventor1984 Windows 64bit 4 12-21-2009 04:21 PM
Pix firewalls and FTP - "ftp", or "ftpdata" thefunnel@aol.com Cisco 1 09-13-2007 04:01 PM
Re: ftplib question - ftp.dir() returns something and ftp.nlst()does not Nico Grubert Python 0 11-25-2005 10:09 AM
ftplib question - ftp.dir() returns something and ftp.nlst() does not Nico Grubert Python 0 11-24-2005 02:00 PM
Net::FTP problems getting files from Windows FTP server, but not Linux FTP Server. D. Buck Perl Misc 2 06-29-2004 02:05 PM



Advertisments