Subject: Re: Attempting to wrap sftp in Qt

Re: Attempting to wrap sftp in Qt

From: Mark Roden <>
Date: Tue, 3 May 2011 06:22:17 -0700

Yeah, you're right. This is a server-side issue.

I thought I was establishing the connections incorrectly, and I was.
I needed to be more careful about the way that I handled the handles,
as well as making sure that I was going to the right path.

It's now working, and all the tests are working as welll.

Thanks for the feedback,

On Tue, May 3, 2011 at 5:27 AM, Daniel Stenberg <> wrote:
> On Mon, 2 May 2011, Mark Roden wrote:
>> It looks like I'm not able to overwrite the file, despite setting the
>> The first time, the writing works, and if I delete the file from the
>> server using a separate session, then the writing works again.
>> Are there other flags or things to check so that a file can be
>> overwritten, some unix permission I'm not setting when the file is initially
>> created?
> If the server refuses the operation then so it does, there's not a lot
> libssh2 can do about to convince that it should do something else. If there
> would be permission problems then surely you shouldn't be allowed to remove
> it either?
> I would look into the server logs for clues.
> --
>  /
> _______________________________________________
> libssh2-devel

Received on 2011-05-03