Pragma Systems Technical Forum
Back
Login
Register
Login
Register
Home
»
Community
»
Secure File Transfer (SFTP/SCP)
»
003:ERROR: Couldn't get handle: Permission denied
003:ERROR: Couldn't get handle: Permission denied
Post Reply
Like
6
003:ERROR: Couldn't get handle: Permission denied
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
tlockhart
tlockhart
posted 9 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 11,
Visits: 36
When attempting to transfer files between servers with the SFTP command and mput commands. I am repeatedly receiving the permission denied error below, which then ends with a closed connection. Sometimes files are transmitted successfully, but when this error occurs the files are lost. I have attached a sample set of files as an example. Can anyone tell me why I would be getting Permission denied error if there is no issue with the server.
--Starting SFTP log Fri May 22 10:00:01 2015
Connecting to xx.xx.xxx.xx...
-->cd E:\SFTP\Data\Customer\PeachCare\outbound
000:SUCCESS: Changed remote directory to /E:/SFTP/Data/Customer/PeachCare/outbound
-->lcd D:
000:SUCCESS: Changed local directory to D:
-->lcd D:\SFTP\Data\Customer\PeachCare\outgoing
000:SUCCESS: Changed local directory to D:\SFTP\Data\Customer\PeachCare\outgoing
-->mput *.*
003:ERROR: Couldn't get handle: Permission denied
--Starting SFTP log Fri May 22 11:00:02 2015
Connecting to xx.xx.xxx.xx...
007:ERROR: Connection Lost. Connection closed
Attachments
PeachCare.zip
(
1 view,
743 bytes
)
Reply
Like
6
Beth Redd
Beth Redd
posted 9 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 81,
Visits: 180
Hello,
The get handle error is returned by the server to the client, so the server is unable to return a valid file handle for writing due to a lack of permission to either the directory.
Make sure your sftp user has write access to the directory E:\SFTP\Data\Customer\PeachCare\Outbout. If your user has list\read access they would be able to change directory, but would be unable to write to the directory.
You might also try a single file upload to see if there is a file that already exists on the server that is not allowing the file to be rewritten.
Beth Redd
Reply
Like
5
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
6
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search