Skip to main content

Microsoft Silverlight

Ftp ClientRSS Feed

(0)

yvesc
yvesc

Member

Member

20 points

16 Posts

Ftp Client

I need to replace an old VB6 ActiveX component that uploads photos to a server using FTP. I was thinking Silverlight would be a good candidate but, from what I have read, the FtpWebRequest class in the System.Net namespace is not available for security reasons (I understand security issues were the pitfall of ActiveX). I could use a web service to achieve same functionality. However, this would mean lots of changes on my server side as you may imagine.

Any idea? Any plans to support an FTP client in Silverlight in the near future?

Thanks, Yves

jwilcox
jwilcox

Participant

Participant

1082 points

187 Posts

Microsoft

Re: Ftp Client

Yves,
I'm not an authority on this, but I do know from my web development experience that the shift away from FTP has been happening for quite some time now that there's a lot of nice support for file uploads over HTTP, be it through the standard file upload control, or a Flash or Silverlight application.

It might be worth the investment of time to get an HTTP upload solution on your server, whether just a simple app or a web service...

Sorry, this probably isn't the answer you were looking for Indifferent.

Cheers,
-Jeff

Jeff Wilcox [MSFT]
Silverlight
http://www.jeff.wilcox.name/blog/

This posting is provided "AS IS" with no warranties, and confers no rights.

kwatts
kwatts

Contributor

Contributor

2129 points

436 Posts

Re: Ftp Client

Do you want this functionality to be built into a web application or a windows application?

-Ken


http://kenwatts.blogspot.com/


Please select "Mark as Answer" for posts that are helpful. Thanks!

yvesc
yvesc

Member

Member

20 points

16 Posts

Re: Ftp Client

Thanks Jeff. I realize I can do all this but was really trying not to change my server side.

This is a Silverlight application by the way - or at least I am trying to replace the ActiveX with Silverlight. I guess I could always use XBAP but I am really trying to target a small client install (just like we have now with the ActiveX component).

Cheers, Yves

yvesc
yvesc

Member

Member

20 points

16 Posts

Re: Ftp Client

Hi Ken,

Please see previous post. I am targetting for a Silverlight component in order to have similar functionality as we have with current ActiveX. The caller is a Web application.

Thanks, Yves

damonpayne
damonpayne

Member

Member

304 points

75 Posts

Re: Ftp Client

Currently Siverlight only allows socket connections on a special port range: http://msdn.microsoft.com/en-us/library/cc645032(VS.95).aspx

The FTP server would need to be set up to accomodate this situation for Silverlight.

-Damon
http://www.damonpayne.com/
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities