Re: idFtp 10.1.5 "The destination file already exists" error

Giganews Newsgroups
Subject: Re: idFtp 10.1.5 "The destination file already exists" error
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Tue, 16 May 2006

"Bartek Palczewski" <bpalczews…@yahoo.ca> wrote in message
news:093BB2CFA3F8E240bpalczews…@yahoo.ca...

> I have a problem - i cannot download anything from ftp server using
> idftp, although i can connect to ftp. Even when i use a demo of ftp
> client i get this error : "the destination file already exists".

You have set both the ACanOverwrite and AResume parameters of Get() to True.
That is not an invalid combination when the file exists locally.  You cannot
resume the file and overwrite the file at the same time.  If you are trying
to download the entire file then you need to set the AResume parameter to
False so that the existing file gets deleted before then being downloaded.
Otherwise, if you are trying to resume a previously broken transfer, then
you need to set the ACanOverwrite parameter to False instead so that the
data is appended to the end of the existing file.

Gambit

Replies

None

In response to

idFtp 10.1.5 "The destination file already exists" error posted by Bartek Palczewski on Tue, 16 May 2006