Re: File always upload to root

Giganews Newsgroups
Subject: Re: File always upload to root
Posted by:  Remy Lebeau (TeamB) (
Date: Thu, 27 Jan 2005

"York" <adm…> wrote in message

> I created a standalone web application using THTTPidServer
> with file upload function. It looks like the IndyServer automatically
> saves the file to the root directory.

TIdHTTPServer does not auto-save anything.  It is the responsibility of your
own code to process any incoming data, including saving the data to your own

> How can I change the directory or stop this automatically saving
> and let my code handle file uploading.

TIdHTTPServer does not automatically handle file uploads to begin with.



In response to

File always upload to root posted by York on Thu, 27 Jan 2005