Click here to Skip to main content
15,896,497 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Im trying to upload a file to a Windows 2003 server which is hosting IIS. I have a created a Virtual Directory which is were the files will be uploaded.

The files will be uploaded using a Web Service. I tried to use a My.Computer.Copy(File, Storage_Location) in the web service but when I check the server the file is not there. I can create a Directory on the Server with the Web Service.

Is there anyway I can upload the file to the server or do I have to but the data in a byte array and transmit it in that manner with System.IO.StreamWriter.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900