Re: [Synalist] Cannot list directory which contain file "442052.xml"
Pascal TCP/IP Library
Brought to you by:
geby
From: Dusan H. <dus...@gm...> - 2012-02-23 08:29:08
|
Aparently I am talking to myself, however, I am only expecting XML files on my FTP so here is simplified workaround for that bug: // workaround for 402052.xml and similar files if (FileName = '.xml') and(pos('.xml',Value) = length(Value) - 3) then FileName := copy(Value,RPos(' ',Value)+1,maxint); Put it on the end of function TFTPList.ParseByMask(Value, NextValue, Mask: AnsiString): Integer; |