Greetings,
I'm using lftp for mirroring of remote terminals.
There is a problem when the terminal OS is Windows CE.
lftp can't get remote newer files.
The CE terminal responds to ls command like this...
06-22-09 21:01 12345 a001.dat
06-22-09 21:02 12345 a002.dat
06-22-09 21:03 12345 a003.dat
It's like NT but AM/PM is omitted.
I resolved it with modification of FtpListInfo.cc:ParseFtpLongList_NT().
---original---
char am;
if(sscanf(t,"%2d:%2d%c",&hour,&minute,&am)!=3)
ERR;
---modified---
char am;
if (strchr(t, 'M') == NULL) {
if(sscanf(t,"%2d:%2d",&hour,&minute)!=2)
ERR;
am=0;
} else {
if(sscanf(t,"%2d:%2d%c",&hour,&minute,&am)!=3)
ERR;
}
Thanks and Regards
Spam detection software, running on the system "univ.uniyar.ac.ru", has
identified this incoming email as possible spam. The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Greetings, I'm using lftp for mirroring of remote terminals.
There is a problem when the terminal OS is Windows CE. lftp can't get remote
newer files. The CE terminal responds to ls command like this... [...]
Content analysis details: (2.6 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
3.4 HEADER_SPAM Bulk email fingerprint (header-based) found
-2.3 BAYES_00 BODY: Bayesian spam probability is 0 to 1%
[score: 0.0000]
1.5 MSGID_FROM_MTA_HEADER Message-Id was added by a relay