Re: FTP partial upload

Giganews Newsgroups
Subject: Re: FTP partial upload
Posted by:  Remy Lebeau (TeamB) (
Date: Mon, 28 Feb 2005

"Audrey" <AudreyII…> wrote in message

> Socket Error # 10058
> Cannot send or receive after socket is closed

Your code disconnected the socket and then TIdFTP tried to keep writing to
the socket afterwards.

> why would it return Transfer Complete when the file file
> was only partially uploaded?

The status message is in a try..finally block, so it is always issued
regardless of how the transfer actually terminated.



In response to

FTP partial upload posted by Audrey on Mon, 28 Feb 2005