Skip to main content
Home Forums Silverlight Programming Visual Studio & Silverlight Development Tools Ftp Client
5 replies. Latest Post by damonpayne on October 10, 2008.
(0)
yvesc
Member
20 points
16 Posts
10-04-2008 3:24 PM |
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
Participant
1082 points
187 Posts
10-04-2008 6:10 PM |
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 .
Cheers,-Jeff
kwatts
Contributor
2129 points
436 Posts
10-05-2008 9:06 AM |
Do you want this functionality to be built into a web application or a windows application?
-Ken
10-05-2008 3:48 PM |
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
10-05-2008 3:51 PM |
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.
damonpayne
304 points
75 Posts
10-10-2008 11:45 AM |
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.