Error listing directory, Permission denied, Error code 3

Advertisement

new
Guest

Error listing directory, Permission denied, Error code 3

hi all,

I can upload files with winscp.exe SFTP successfully, but when i try it with my code, i get:


. 2016-09-21 16:32:52.673 Listing directory "/E:/Root/Safes/AtudotPortalMaasikim/Inbox".
> 2016-09-21 16:32:52.673 Type: SSH_FXP_OPENDIR, Size: 50, Number: 267
< 2016-09-21 16:32:52.876 Type: SSH_FXP_STATUS, Size: 34, Number: 267
< 2016-09-21 16:32:52.876 Status code: 3, Message: 267, Server: Permission denied, Language:
. 2016-09-21 16:32:52.891 Asking user:
. 2016-09-21 16:32:52.891 Error listing directory '/E:/Root/Safes/AtudotPortalMaasikim/Inbox'. ("Permission denied.
. 2016-09-21 16:32:52.891 Error code: 3
. 2016-09-21 16:32:52.891 Error message from server: Permission denied")
< 2016-09-21 16:32:52.891 Script: Error listing directory '/E:/Root/Safes/AtudotPortalMaasikim/Inbox'.
< 2016-09-21 16:32:52.891 Script: Permission denied.
< 2016-09-21 16:32:52.891 Error code: 3
< 2016-09-21 16:32:52.891 Error message from server: Permission denied

help please

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Error listing directory, Permission denied, Error code 3

Please attach full log files for both scenarios.

Reply with quote

new
Guest

log

also when i use the sync function.
the IT guy said thet the root is fine, and that i have Permission to read and write to that folder.
  • !S.log (60.69 KB, Private file)
Description: code
  • sftp@.log (54.28 KB, Private file)
Description: winscp.exe

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: log

In the GUI log, you upload to /Inbox/, while in the script log, you upload to /E:/Root/Safes/AtudotPortalMaasikim/Inbox/.
Be consistent!

Reply with quote

Advertisement

You can post new topics in this forum