Oct 10, 2018

[HDGEM] How to fix: curl: (9) Upload failed: Permission denied (3/-31)

When uploading files, curl needs full target path

So instead of

curl.exe --insecure  -T test.txt sftp://i88ca:[email protected]:22

append the full path, for example, to the user's home directory:

curl.exe --insecure  -T test.txt sftp://i88ca:[email protected]:22/~/

--
Posted By Blogger to HDGEM at 2/21/2017 07:57:00 AM