Page view counter
How to Upload File through web sevices
Last post 10-06-2008 10:29 AM by sladapter. 3 replies.
Sort Posts:
10-06-2008 1:48 AM
How to Upload File through web sevices

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.

rajat.barik

Loading...
Joined on 10-06-2008
Posts 10
10-06-2008 1:53 AM
Re: How to Upload File through web sevices

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.

 

-Hannes

http://www.preishuber.net http://weblogs.asp.net/hpreishuber

preishuber

Loading...
Joined on 09-19-2002
Austria/Germany
Posts 274
10-06-2008 6:15 AM
Re: Re: How to Upload File through web sevices

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.

rajat.barik

Loading...
Joined on 10-06-2008
Posts 10
10-06-2008 10:29 AM
Marked as Answer
Re: Re: How to Upload File through web sevices

Read this thread:

 http://silverlight.net/forums/p/21513/77023.aspx#77023

sladapter
Software Engineer
Aprimo, Inc

Please remember to mark the replies as answers if they answered your question

sladapter

Loading...
Joined on 03-05-2008
Indiana, US
Posts 2,689
Microsoft Communities