R RJB Active Member Licensed User Longtime User Jun 23, 2016 #1 Hi, FTP.Timestamp seems to return only the hours and minutes of the file time. The seconds are shown on the server but are reported as 00 in the Timestamp (and the number of ticks therefore always ends in a multiple of 60000). Is that correct? Is there any way of retrieving the whole timestamp? Thanks
Hi, FTP.Timestamp seems to return only the hours and minutes of the file time. The seconds are shown on the server but are reported as 00 in the Timestamp (and the number of ticks therefore always ends in a multiple of 60000). Is that correct? Is there any way of retrieving the whole timestamp? Thanks
Erel B4X founder Staff member Licensed User Longtime User Jun 24, 2016 #2 The values that you see arrive directly from the server. It means that the server is rounding the timestamps. Upvote 0
The values that you see arrive directly from the server. It means that the server is rounding the timestamps.
R RJB Active Member Licensed User Longtime User Jun 24, 2016 #3 OK thanks, I'll check with them. Just so that I ask the right question: The seconds are shown when I view the files on the server so presumably they are lost somewhere in the ftp process? Upvote 0
OK thanks, I'll check with them. Just so that I ask the right question: The seconds are shown when I view the files on the server so presumably they are lost somewhere in the ftp process?
Erel B4X founder Staff member Licensed User Longtime User Jun 26, 2016 #4 RJB said: The seconds are shown when I view the files on the server so presumably they are lost somewhere in the ftp process? Click to expand... That's correct. The FTP LIST command returns the rounded timestamps. Upvote 0
RJB said: The seconds are shown when I view the files on the server so presumably they are lost somewhere in the ftp process? Click to expand... That's correct. The FTP LIST command returns the rounded timestamps.
R RJB Active Member Licensed User Longtime User Jun 26, 2016 #5 Erel said: That's correct. The FTP LIST command returns the rounded timestamps. Click to expand... OK thanks. 1and1 support don't even seem able to understand the question, still less able to answer it! I've solved the problem by ensuring that uploads are at least 61 seconds apart so the minutes are always different on updated file. Upvote 0
Erel said: That's correct. The FTP LIST command returns the rounded timestamps. Click to expand... OK thanks. 1and1 support don't even seem able to understand the question, still less able to answer it! I've solved the problem by ensuring that uploads are at least 61 seconds apart so the minutes are always different on updated file.