Page view counter
Ftp Client Subscribe to this thread
Last post 10-10-2008 11:45 AM by damonpayne. 5 replies.
Sort Posts:
10-04-2008 3:24 PM
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

yvesc

Loading...
Joined on 08-17-2008
Posts 16
10-04-2008 6:10 PM
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]
Software Development Engineer
Silverlight
http://www.jeff.wilcox.name/blog/

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

JWilcox

Loading...
Joined on 07-14-2005
Seattle
Posts 175
10-05-2008 9:06 AM
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!

kwatts

Loading...
Joined on 08-18-2008
Belchertown, MA
Posts 436
10-05-2008 3:48 PM
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

Loading...
Joined on 08-17-2008
Posts 16
10-05-2008 3:51 PM
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

yvesc

Loading...
Joined on 08-17-2008
Posts 16
10-10-2008 11:45 AM
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/

damonpayne

Loading...
Joined on 10-10-2008
Milwaukee, WI
Posts 75
Microsoft Communities