pull/5829/head
2dust 2 months ago
parent 409fe5290e
commit 53a2fbd0ff

@ -98,6 +98,8 @@ namespace ServiceLib.Handler
}
await TryCreateDir();
try
{
var testName = "readme_test";
var myContent = new StringContent(testName);
var result = await _client.PutFile($"{_webDir}/{testName}", myContent);
@ -109,9 +111,14 @@ namespace ServiceLib.Handler
else
{
SaveLog(result.Description);
return false;
}
}
catch (Exception ex)
{
SaveLog(ex);
}
return false;
}
public async Task<bool> PutFile(string fileName)
{

Loading…
Cancel
Save