[erlang-questions] suggestions for implementing sftp server?
Alex Babkin
ababkin@REDACTED
Wed Dec 26 07:18:38 CET 2012
Hi all
Made some progress towards using sftpd and sftp but hitting this problem: I
can read and write (get and put) files using erlang sftp library, but can
only read (get) files from the erlang sftpd daemon if i do this with some
other sftp software (i tried filezilla and the standard sftp cli that comes
on mac osx). If i try to put file, i get this:
sftp> put /tmp/erlang/test3.txt
Uploading /tmp/erlang/test3.txt to /test3.txt
remote open("/test3.txt"): Failure
directory permissions should be fine since i can still upload files using
erlang sftp lib
the code is shared here for anyone who would like to take a look:
https://github.com/ababkin/hl7_pipeline
Cheers
On Fri, Dec 21, 2012 at 3:51 PM, JD Bothma <jbothma@REDACTED> wrote:
> You probably also already found these, but they're handy for reference
>
> https://github.com/erlang/otp/blob/maint/lib/ssh/src/ssh_sftpd_file.erl
> https://github.com/erlang/otp/blob/maint/lib/ssh/src/ssh_sftpd_file_api.erl
>
>
> On 21 December 2012 18:03, Alex Babkin <ababkin@REDACTED> wrote:
>
>> Thanks Alexander, this was very helpful
>>
>>
>> On Fri, Dec 21, 2012 at 12:28 AM, Alexander Zhuravlev <
>> a.zhuravlev@REDACTED> wrote:
>>
>>> ssh_sftpd
>>
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121226/8ef04f32/attachment.htm>
More information about the erlang-questions
mailing list