cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Trying to download and remove files from server via vb.net - need help

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 1 Jul 2008 22:58:21 -0700

On Wed, Jul 02, 2008 at 12:14:29AM -0400, lists_at_waynesplace.com wrote:
> I want to loop through a list of files and download them and, if a flag is set, delete it the file from the server after download...if one other flag is set then delete a slightly different file from the server.
>
> I am able to download the files OK (have to add a small amount of sleep to get it to work without error - strange). When the delete flag is set it starts to fail on every file it tries to download.

I suggest you check the return code from the Perform() call. It will likely
give you a very specific reason for the failure. Failing that, enable
debug logs and look through the protocol trace to track the source of the
problem.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-07-02