Hi Oleg,
That works great for uploading to a specific directory! However, there is a slight bug: if the destination path does not end with a "/", it is uploaded to a nested directory:
That works great for uploading to a specific directory! However, there is a slight bug: if the destination path does not end with a "/", it is uploaded to a nested directory:
scp.Upload(dirInfo, "/var/wwwroot");
// uploads dirInfo to:
/var/wwwroot/wwwroot/