TIdFTP.Get to overwrite the file

Giganews Newsgroups
Subject: TIdFTP.Get to overwrite the file
Posted by:  Man Utd (alanpltseNOSP…@yahoo.com.au)
Date: Tue, 31 Jan 2006

I have used the TIdFTP to get a file from server.
However. if  there is already a file in my local folder, it caused an
exception.

IdFTP1.Get(...., ...., TRUE, TRUE);

As I set the CanOverwrite parameter to TRUE, why it caused an exception ?

Replies