Browse Source

Fix with local path.

pull/370/head
Sebastian 7 years ago
parent
commit
fa56430b1d
  1. 4
      src/Squidex.Infrastructure/Assets/FTPAssetStore.cs

4
src/Squidex.Infrastructure/Assets/FTPAssetStore.cs

@ -139,8 +139,8 @@ namespace Squidex.Infrastructure.Assets
{
var client = factory();
client.SetWorkingDirectory(path);
client.Connect();
client.SetWorkingDirectory(path);
return client;
}
@ -152,7 +152,7 @@ namespace Squidex.Infrastructure.Assets
return command.CompletionCode == "550";
}
return exception.InnerException != null ? IsNotFound(exception.InnerException) : false;
return exception.InnerException != null && IsNotFound(exception.InnerException);
}
}
}
Loading…
Cancel
Save