Topic "Error listing directory, Permission denied, Error code 3"

Author Message
new

Guest


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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Please attach full log files for both scenarios.
new

Guest


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

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
In the GUI log, you upload to /Inbox/, while in the script log, you upload to /E:/Root/Safes/AtudotPortalMaasikim/Inbox/.
Be consistent!
new

Guest


ohh it worked. im sorry, thank you Martin.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License