Upload files to FTP using RadUpload

7 posts, 0 answers
  1. Abhi
    Abhi avatar
    38 posts
    Member since:
    Nov 2012

    Posted 21 Mar 2013 Link to this post

    Hi Team,
                     I want to Upload the files to FTP server.......I used RadUpload to do this, but I got error message that 
                     'File path not supported'.......
                     but, If I replace with http paths then it is working fine........please give any solution for this.

    Thanks,
    Abhi
                      
        
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 26 Mar 2013 Link to this post

    Hello Abhi,

    RadUpload provides a TargetPhysicalFolder property that can be used to set a physical path to a storage folder. Please take a look at this article for further information.

    Regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Abhi
    Abhi avatar
    38 posts
    Member since:
    Nov 2012

    Posted 26 Mar 2013 Link to this post

    Hi Tina ,

    The article in your example shows a local folder. But in our case we are using like

    TargetPhysicalFolder = ftp://111.111.1.1/Photos/" .

    We are getting error : The given path format is not supported.


    Can u Pls provide any ex using TargetPhysicalFolder like above.


    Thanks.

  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 26 Mar 2013 Link to this post

    Hi Abhi,

    Please accept my apology - it seems I have misunderstood your question. This is why I want to thank you for further elaborating on your scenario.

    However, when working with the RadUpload control you need to keep in mind that it works exclusively with an ASP HTTP handler that processes the files. This is why you can use only Http or Https protocols when indicating the target folder or the path to the UploadHandler. Apart from that, the only other approach you can use is to store the files locally using the TargetPhysicalFolder property.

    Regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. Abhi
    Abhi avatar
    38 posts
    Member since:
    Nov 2012

    Posted 26 Mar 2013 Link to this post

    HI Tina,
                   thanks for reply..........
                   IS their any other solution to upload the files to FTP Server? 

    Thanks,
    Abhi
                  
  7. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 28 Mar 2013 Link to this post

    Hello Abhi,

    The RadUpload can't upload directly to ftp but you can create custom uploading logic that uploads a file from a Silverlight solution to an ftp server. I'd advice you to search through the common Silverlight forums for different solutions.

    Regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  8. Abhi
    Abhi avatar
    38 posts
    Member since:
    Nov 2012

    Posted 02 Apr 2013 Link to this post

    Hi Tina,
                  (custom uploading logic that uploads a file from a Silverlight solution to an ftp server)
                   Can u give any sample or ideas relating to this? pls

    Thanks,
    Abhi
Back to Top
DevCraft banner