TIdFTP.Rename

Giganews Newsgroups
Subject: TIdFTP.Rename
Posted by:  Tobias Giesen (tobi…@tgtools.de)
Date: Fri, 21 Jul 2006

Hi,

some NAS FTP servers return a 200 rather than 250 after a successful
rename. Any objections to allowing it in TIdFTP.Rename?
[...]
  SendCmd('RNTO ' + ADestFile, [200,250]);    {do not localize}

[...]

Similarly, I found that I had to allow 213 in addition to 253 for all
MDTM commands in SetModTimeGMT.

Cheers,
Tobias

Replies