Welcome to the Xceed Community | Help
Community Search  
More Search Options

Error trying to open an FTP SSL session

Sort Posts: Previous Next
  •  11-23-2009, 12:34 PM Post no. 24955

    Error trying to open an FTP SSL session

    I am getting this error - "An attempt was made to create a root folder. If the root folder is a removable drive, make sure a disk is inserted.\r\nType: Xceed.Ftp.FtpFolder\r\nFullName: \\"

    I need to use Copy to since I have a "MemoryFile" object that needs to do a CopyTo. ( I have a business need to do so)

    For some reason I cannot use a "FtpClient" object and I have to use a "FtpConnection" object for connection.

    It works fine for a regular FTP but for a FTP over SSL, it fails!

    I am able to connect to the FTPS site using a FileZilla FTP desktop tool.

    The FTPS server too is hosted by FileZilla. 

    Any way I can get the Copy To method working?

     

     

  •  12-16-2009, 11:22 AM Post no. 25228 in reply to 24955

    Re: Error trying to open an FTP SSL session

    Hi Murali,

    the error you are seeing is not the best indicator of what is happening.  Your code for an (normal) FTP session won't work directly for a FTPS (FTP SLL) session.  You have to modify your code to handle the certificate in the FTPS session. 

    You should take a look at the Xceed FileSystem Snippet Explorer, which can be found under Start -­­> Programs -> Xceed Components -­> .NET Components -> Class Librairies -> Xceed FTP for .NET 4.1 -­­> Xceed FileSystem Snippet Explorer

    Once you have the Snippet Explorer open, examine the section 4.1.3.  Securely, using SLL/TLS

    This should put you back on track pretty quickly.  The code is self-explanatory and can be executed (and modified) right from the Snippet Explorer.

    Best regards,


    Ghislain
    Technical Support and software developer
    Xceed Software Inc.
    Knowledge Base : http://xceed.com/kb/
    Update Center : http://xceed.com/updates/
    Documentation Center : http://xceed.com/doc/
    For everything else, there is Google
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.