Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / December 2005

Tip: Looking for answers? Try searching our database.

problem using "post" method for upload

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Zachovich - 09 Dec 2005 19:55 GMT
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!
Joerg Jooss - 12 Dec 2005 19:57 GMT
> i am trying to use the "POST" method to upload files to my apache web
> server.
[quoted text clipped - 6 lines]
> 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,
Signature

http://www.joergjooss.de
mailto:news-reply@joergjooss.de

Zachovich - 12 Dec 2005 21:21 GMT
thanks, i tried it now, but still.... i get an error "forbidden 403" how do i
address that?

> > i am trying to use the "POST" method to upload files to my apache web
> > server.
[quoted text clipped - 12 lines]
>
> Cheers,
Joerg Jooss - 13 Dec 2005 20:45 GMT
> 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,
Signature

http://www.joergjooss.de
mailto:news-reply@joergjooss.de


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.