Skip to main content

Microsoft Silverlight

Answered Question How to Upload File through web sevicesRSS Feed

(0)

rajat.barik
rajat.barik

Member

Member

14 points

11 Posts

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.

preishuber
preishuber

Contributor

Contributor

3570 points

655 Posts

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

rajat.barik
rajat.barik

Member

Member

14 points

11 Posts

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.

sladapter
sladapter

All-Star

All-Star

17439 points

3,172 Posts

Answered Question

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

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities