Home Forums .NET libraries Xceed SFTP/FTP for .NET Problem with Xceed.Ftp.Licenser

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #21014 |

    I have a ASP.Net application that ocasionally has to transfer some files via FTP to a different server (using XCeed.FTP). Everything worked fine until I had to decrypt some files prior to transmission. I’m using Win32 Cryptography API (with System.Security.Cryptography). Now, when I reach the part where I enter the license number:

    Xceed.Ftp.Licenser.LicenseKey =

    “xxxxx-xxxxx-xxxxx-xxxx”

    an exception get thrown:

    System.Web.HttpException: Request is not available in this context
       at System.Web.UI.Page.get_Request()
       at Xceed.Ftp.Licenser.set_LicenseKey(String value)

      I have to mention that all this is happening in a thread spwan from the original request.

    Any ideas?

    Thanks,

    Adrian

     

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by adrian (had 1295 views)

    User (Old forums)
    Member
    Post count: 23064

    If you try to send that same file without decrypting it, does it work?

    When it worked fine, was it also on a background thread?

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by André (had 1296 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.