-
How to upload a file in .net
Hi,
My site hv following set up in IIS MMC.
I hv default web site. I created my site (or virtual dir) under default web
site. Now i can access directory settings in my site property page and a
gave write access (marked write checkbox) in that. Same problem happens this
time also.
What to do next..? I tried in following way using C#.
WebClient wc = new WebClient();
wc.UploadFile(uri,localfilepath);
This line got problem and says "Remote server returned an error 405) Method
not allowed" error.
How to solve it. (But i hv a doubt, I hv to give this write access in default
web site properties or in my site properties which is created under default
web site...?)
Anyone can help me..?
Thanx
Rafik.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks