Skip to main content
Home Forums Silverlight Programming Silverlight Controls and Silverlight Toolkit How to Upload File through web sevices
3 replies. Latest Post by sladapter on October 6, 2008.
(0)
rajat.barik
Member
14 points
11 Posts
10-06-2008 1:48 AM |
Hello there,
I am trying to upload file from my machine to a network machine/PC, I have tried API like WebClient ,and HttpWeb Request and also this is working in the local system but unable to upload file in network machine/PC.
So is there any way to Upload file through web services or through FTP.
If have answers then feel free to send.
preishuber
Contributor
3570 points
655 Posts
10-06-2008 1:53 AM |
perhaps you are having the cross domain issue. Means Silverlight ( and also browser) have no access to resources which are diffrent from the silverlight xap location. If you want to make a upload you have to start the SL application from the domain where you want to upload.
10-06-2008 6:15 AM |
Hello,
Thanks for your reply, but i dont have cross domain problem, I am able to upload my file to a remote os network machine with small size files, but while i am trying to upload a file of size more than 1000kb i am having a exception "The remote server returned an unexpected response: (404) Not Found " .
Please help me with a answer, if u have any surprising idea, i love to follow it.
Thanks for your valuable time.
sladapter
All-Star
17181 points
3,133 Posts
10-06-2008 10:29 AM |
Read this thread:
http://silverlight.net/forums/p/21513/77023.aspx#77023