|Subject:||Re: HTTP.Put Error?|
|Posted by:||Remy Lebeau (Indy Team) (firstname.lastname@example.org)|
|Date:||Mon, 2 Oct 2006|
"Jesse" <email@example.com> wrote in message
> I'm trying to write a Delphi 5 program that will allow someone to
> upload a file to our server. When I implement the .put method, I
> get the error, "HTTP/1.1 501 Not Implemented". What does this mean?
It means exactly what it says. You are trying to do something that the
server does not support. Must HTTP servers do not support the PUT command
for uploads. They usually require the user to submit a
"multipart/form-data" form via the POST command instead. You can use the
TIdMultipartFormDataStream class with the TIdHTTP.Post() method for that.
HTTP.Put Error? posted by Jesse on Mon, 2 Oct 2006