commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhamilton <bhamil...@allrelated.name>
Subject Re: Common Net 1.4.1
Date Tue, 03 Mar 2009 20:42:57 GMT
A little more information.  The FTPFile Calendar object is reporting the 
year, for most of the files as 2008.  All of the files are from 2009.

bhamilton wrote:
> The client process is running on a linux.  I can't confirm, but I 
> believe the ftp server is also a linux machine.  I can normalize the 
> times between the differing TimeZones but the dates returned by the 
> FTPClient listFiles(), run 5 minutes apart, return different years for 
> the same file.
>
> Rusty Wright wrote:
>> The underlying operating system, unix for sure, but I'm not sure 
>> about windows, stores time values in GMT.  When it *displays* them it 
>> converts them to whatever the local time zone is.
>>
>>
>> bhamilton wrote:
>>> I'm using Common Net 1.4.1, the FTPClient listFiles() method to an 
>>> array of FTPFile objects.  The Calendar object, within the FTPFile 
>>> object, has a TimeZone of GMT.  One question is how is that 
>>> determined?  On the client machine, the default TimeZone is 
>>> 'America/New_York'.
>>>
>>> The dates returned in the Calendar are not consistent.  When the 
>>> process ran at 6:02 this morning, a certain file had a date time of 
>>> 20080303 06:05:00.  When the process ran 5 minutes later, at 6:07am, 
>>> the same file had a date and time of 20090303 06:05:00.
>>>
>>> Any thoughts?
>>>
>>> Thanks!
>>> Brenda Hamilton
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: user-help@commons.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message