Closed GoogleCodeExporter closed 8 years ago
I am facing the same problem here..
with the change
openFile(fileName, 0x00000008 | 0x00000002, attr); // SSH_FXF_CREAT |
SSH_FXF_WRITE
I could create the file on the server.
Why do you need
openFile(fileName, 0x00000008 | 0x00000002 | 0x00000001, attr); //
SSH_FXF_CREAT | SSH_FXF_READ | SSH_FXF_WRITE
to resume an upload? therefore we can use the openFileRW method.
Or if the Outputstream supports setmark?
Original comment by stift1...@gmail.com
on 23 Nov 2012 at 10:49
Do not use "createFile()", use "openFile(...)" instead, this allows you to set
custom flags:
openFile(fileName, SFTPv3Client.SSH_FXF_CREAT | SFTPv3Client.SSH_FXF_WRITE)
Original comment by cleondris
on 1 Aug 2013 at 1:42
Original issue reported on code.google.com by
stefan.t...@gmail.com
on 11 Jan 2012 at 10:11