Uploading file to Intranet

  • Thread starter Thread starter Rob Maui
  • Start date Start date
R

Rob Maui

I've tried getting a problem resolved from the Windows forum, but I figure
maybe someone here might know the answer to my problem. I have a Windows
application and I am trying to upload a file to my Intranet location as
follows;

Dim MyClient As System.Net.WebClient
MyClient.UploadFile(myWebaddress, myfile)

where I've set the values as; myWebaddress = "http://myserver/sample/" and
myfile = "C:\Temp\Temp.txt".
I also granted "Full Control" to IUSR_xxx to the folder ("sample") and I
still get "(405)Method Not Allowed". Anything else I can try to determine
why this error is happening?
 
you need to write an web page on the server to recieve the file and write it
to the directory. you could also look a using webdav if its installed on
your server.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top