problem using "post" method for upload

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i am trying to use the "POST" method to upload files to my apache web server.

I tried it with the "UploadFile" procedure. the "DownloadFile" forks fine
but i can't seem to upoad fiels using the POST method.

there is more than one way you could answer my question:
What could be the problem? I have even made sure the permission allow
writing int he folder I tried.
What other methods could I try besides POST?

could somone give me a working example?


thanks for all help!
 
Zachovich said:
i am trying to use the "POST" method to upload files to my apache web
server.

I tried it with the "UploadFile" procedure. the "DownloadFile" forks
fine but i can't seem to upoad fiels using the POST method.

there is more than one way you could answer my question:
What could be the problem? I have even made sure the permission allow
writing int he folder I tried.
What other methods could I try besides POST?

You cannot simply POST files to a web server without some web
application receiving the file. You can do this with the PUT method,
though.

Cheers,
 
thanks, i tried it now, but still.... i get an error "forbidden 403" how do i
address that?
 
Zachovich said:
thanks, i tried it now, but still.... i get an error "forbidden 403"
how do i address that?

You have to set up IIS to allow PUT requests:

1. Allow write access in your web application using the IIS admin
applet.
2. Grant the IUSR_<MACHINENAME> user write access to all directories
where you want to PUT files.

Cheers,
 
Back
Top