Re: File always upload to root

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

"York" <adm…@iTrack.cn> wrote in message
news:E8281A5E61BDE240adm…@iTrack.cn...

> 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
location.

> 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.

Gambit

Replies

In response to

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