docs: #359 fix
This commit is contained in:
parent
db5b64230a
commit
d0977041f0
@ -3112,6 +3112,7 @@ namespace RMuseum.Services.Implementation
|
||||
Configuration.GetSection("AudioSFPServer")["Username"],
|
||||
Configuration.GetSection("AudioSFPServer")["Password"]
|
||||
);
|
||||
ftpClient.ValidateCertificate += FtpClient_ValidateCertificate;
|
||||
await ftpClient.AutoConnect();
|
||||
ftpClient.Config.RetryAttempts = 3;
|
||||
foreach (var imageSizeString in new string[] { "orig", "norm", "thumb"})
|
||||
@ -3212,6 +3213,11 @@ namespace RMuseum.Services.Implementation
|
||||
}
|
||||
}
|
||||
|
||||
private void FtpClient_ValidateCertificate(FluentFTP.Client.BaseClient.BaseFtpClient control, FtpSslValidationEventArgs e)
|
||||
{
|
||||
e.Accept = true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Synchronize suggested pinterest link
|
||||
/// </summary>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user