Uploading File To Synology NAS Drive

I’m using postman successfully to connect and work with FileStation. I can log in, log out, view dirs, create dirs etc.
Trying to upload a file I’m getting a 401 error code. I’ve looked at various answers to this but nothing seems to work so I was hoping some one could give me some advice please.
The NAS drive is on the same local network. The permissions for the NAS user are admin and set to read write on the relevant dir. The local windows user can access the NAS dirs through the network.
Any help and advice would be greatly appreciated - Thank you.
This is my http request.

POST /webapi/entry.cgi?api=SYNO.FileStation.Upload&version=3&method=upload&_sid=REMOVED HTTP/1.1
Host: 172.30.10.10:5000
Cookie: did=REMOVED; id=REMOVED
Content-Length: 409
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW

------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="path"

%22%2FFTP_Main%2FSMS%2FSMIFFY%22
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="create_parents"

false
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="filename"; filename="file3.pdf"
Content-Type: application/pdf

(data)
------WebKitFormBoundary7MA4YWxkTrZu0gW--

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.