+1 vote

I just purchased FTP.DLL and all works fairly well except when i'm trying to deploy to an Azure WebFunction (lightning bolt symbol) - i don't have access to place FtpLicense.xml in the working path of the function, it's all too "in the cloud"... the path the LicensePath() returns is this: "D:\Program Files (x86)\SiteExtensions\Functions\1.0.11535\FtpLicense.xml" - any one experience this or have a workaround?

Thanks

by

1 Answer

0 votes
 
Best answer

Currently solution is far from perfect.

You can specify folder from which license is loaded in following way:

AppDomain.CurrentDomain.SetData(
    "APPBASE",
    @"D:\home\site\wwwroot\HttpTriggerCSharp1\bin\");

We'll try to improve it in the future.

by (298k points)
...