On 2010.12.14. 14:21, Kiss Gábor wrote: > >> Az lenne problémám, hogy ncftpvel, vagy yafc programmal töltök le a >> távoli gépr?l programokat. >> A probléma az, hogy a helyi gépemen az id?bélyeget majd 9 órával >> eltolja valamiért. Ha alap ftp-programmal töltöm le akkor az az >> id?bélyeg marad, amit a távoli gépen kapott. Mi az oka, mivel lehet >> kiküszöbölni a problémát? > > Saját kezeddel kell kinyomozni.
Ah, miert kell porig rombolni a vilagkepemet?! ;) Nesze, ezert kapsz egy RTFM-et :) Q. NcFTP doesn't always preserve the timestamps of downloaded files. When using other client programs to download the identical file from the same server, they are preserving the timestamp. A. Those client programs are probably parsing the date and time from the directory listing. That should not be done because most servers use local time for their directory listings rather than GMT. NcFTP would rather preserve the timestamps only when the server implements MDTM, which requires that the time be in GMT. This guarantees that if the time is preserved, it is the correct time, and not some half-assed guess which could be hours off. http://www.ncftp.com/ncftp/doc/faq.html (bing/google elso talalat az ncftp timestamp-ra, szoval elegsegesek idegrendszer motorikus funckioi is, szurkeallomany hasznalatara nincs is szukseg :) > > Utána elmeditálhatsz, hogy lehet-e ezt korrigálni az ncftp-ben, > vagy csak a sima ftp olyan okos, hogy megtegye neked ezt > a szívességet. Kerdes persze, mit is szeretnenk elerni, az mtime azt mutassa, amikor megerkezett a file, vagy azt, amikor modositottak :) -- Gabor HALASZ <[email protected]> _________________________________________________ linux lista - [email protected] http://mlf2.linux.rulez.org/mailman/listinfo/linux
