Results 1 to 5 of 5

Thread: Silverlight 4 FTP File Upload

  1. #1
    Join Date
    Apr 2010
    Posts
    219

    Silverlight 4 FTP File Upload

    Hi guys ! I am within some confusion here and need some help from you all. Actually, I am going to do something that I haven't done before , can you guide me to do this . Is it possible to upload a file onto the ftp server using silverlight 4 sockets? I am unable to implement a normal webservice as a proxy withihn the silverlight and the FTP server..

    Thanks ..

  2. #2
    Join Date
    Apr 2008
    Posts
    315

    Re: Silverlight 4 FTP File Upload

    That's fine and obviously you can go for this but you should know one thing here . It can be performed with only a Full trusted application and the careful steps should be made.

    The reason for this with a in-browser Silverlight application, the port range for sockets should be in the range of 4502-4534 (FTP is 21). This is for security purposes. But, you can pass via the service that perform the job.

  3. #3
    Join Date
    Apr 2010
    Posts
    79

    Re: Silverlight 4 FTP File Upload

    When I previously worked with the silverlight 4 that happened before months , when I implemented the DataForm, I was able to remove out a DataForm from the Page suggested and picked up the table from my DataSource and remove dropped the DataForm. As a evaluation, I had entire sections created automatically.

    I am trying to go for the same way to create this again. Drop a table into my DataForm to auto create the sections, but it is not functioning . Something has configured in this latest toolkit? Am I going in wrong way to do ?

  4. #4
    Join Date
    Apr 2010
    Posts
    59

    Re: Silverlight 4 FTP File Upload

    I am trying to upload a ftp file onto the server using silverlight application. Where the destination to upload the file on server file system, already outside the sandbox section for the web server. In this situation, the web server root stored at the following location "C:\test\www\" and the location to upload the file will stored at "C:\User\Uploads". In this situation, i am not sure if Http POST will be feasible (doesn't that go with the web server root). I require to upload the file selected by the user to another destination which may exist outside the sandbox. With silverlight I am just considering about the sockets and that is my last option depends on the limited port range for silverlight being 4502-4532. Can I go for this with the help of WebClient and Http POST? Can I create an ftp connection via the silverlight or javascript?

  5. #5
    Join Date
    Aug 2005
    Posts
    422

    Re: Silverlight 4 FTP File Upload

    It seems something interesting situation, since it looks as you are doing these entire things on the same system (both client and server). FTP uploading itself doesn't have any compatibility with the Silverlight, but the concept of uploading a file is processed via an HTTP stream of data.

    If you need to go for an HTTP upload from a client enabled system to the server: You can implement the OpenFileDialog control in Silverlight 2 as well as 3 to scan that data and then after work with the WebClient to upload this .

Similar Threads

  1. How to upload a file with an email?
    By Unnati! in forum Technology & Internet
    Replies: 4
    Last Post: 18-06-2011, 09:27 PM
  2. Need help with WebDav file upload
    By DaminiAMD in forum Technology & Internet
    Replies: 4
    Last Post: 13-06-2011, 08:43 AM
  3. Xml file in Silverlight
    By Gajendra1 in forum Windows Software
    Replies: 3
    Last Post: 05-08-2010, 12:42 PM
  4. Css File Upload
    By Zidaan in forum Software Development
    Replies: 2
    Last Post: 09-03-2009, 10:59 PM
  5. Upload a file to MediaFire
    By MATSU in forum Tips & Tweaks
    Replies: 1
    Last Post: 23-02-2009, 12:51 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,450,801.05408 seconds with 17 queries