Discussion:
fsetstat with sftp and verion 4.3.3
Eisenblätter, Mark
2014-02-21 13:50:39 UTC
Permalink
hello list,

i want to use lftp to mirror my local data to an sftp server, were i am not
able to set any permissions.

i tried the mirror command with multiple options:
-p and --no-umask
and setting *mirror:set-permissions off* in my configfile.

but i was note able to get rid of the fsetstat call, which fails.

do i missing something?

Debug output:
mirror -Rrpvvv --no-umask
---- checking directory `/265262'
---> sending a packet, length=16, type=17(STAT), id=15
---> sending a packet, length=18, type=17(STAT), id=16
<--- got a packet, length=13, type=105(ATTRS), id=15
<--- got a packet, length=13, type=105(ATTRS), id=16
---- path on wire is `/265262'
---> sending a packet, length=16, type=11(OPENDIR), id=17
<--- got a packet, length=13, type=102(HANDLE), id=17
---- got file handle 00000000 (4)
---> sending a packet, length=13, type=12(READDIR), id=18
<--- got a packet, length=28, type=101(STATUS), id=18
---- status code=1(EOF), message=End of file
---- eof
---> sending a packet, length=13, type=4(CLOSE), id=19
Transferring file `test1.smil'
---- path on wire is `/265262/test1.smil'
---> sending a packet, length=35, type=3(OPEN), id=20
<--- got a packet, length=24, type=101(STATUS), id=19
---- status code=0(OK), message=Success
<--- got a packet, length=13, type=102(HANDLE), id=20
---- got file handle 00000000 (4)
---> sending a packet, length=607, type=6(WRITE), id=21
---> sending a packet, length=25, type=10(FSETSTAT), id=22
---> sending a packet, length=13, type=4(CLOSE), id=23
<--- got a packet, length=24, type=101(STATUS), id=21
---- status code=0(OK), message=Success
<--- got a packet, length=24, type=101(STATUS), id=22
---- status code=4(Failure), message=Failure
<--- got a packet, length=24, type=101(STATUS), id=23
---- status code=4(Failure), message=Failure
mirror: Access failed: Failure (test1.smil)
Total: 1 directory, 1 file, 0 symlinks
New: 1 file, 0 symlinks
582 bytes transferred
1 error detected
=========================================================

thanks in advanced,
mark
--
GrÌße,
Mark EisenblÀtter
____________________________________

G&L Geißendörfer & Leschinsky GmbH
Systemhaus fÃŒr Streaming, Softwareentwicklung und Internetdienste
Maarweg 149-161 Haus 3, D-50825 Köln, Deutschland / Germany
Tel: +49 221 99809 -0, Fax: +49 221 99809 -109

Unseren Support erreichen Sie unter der Nummer 0700 07873267 (07000streams)
oder senden Sie ein Mail an ***@gl-systemhaus.de

http://www.gl-systemhaus.de

Telefon: +49 221 99809 -142
Mailto: ***@gl-systemhaus.de
Skype: meisenblaetter
Jabber(google chat): ***@gl-systemhaus.de

GeschÀftsfÌhrer: Alexander Leschinsky
Amtsgericht Köln, HRB 56772
Ust.-IdNr. DE814612929, Steuernr. 214 5806 22 63
Alexander V. Lukyanov
2014-03-04 14:39:31 UTC
Permalink
Post by Eisenblätter, Mark
but i was note able to get rid of the fsetstat call, which fails.
---> sending a packet, length=13, type=4(CLOSE), id=23
<--- got a packet, length=24, type=101(STATUS), id=23
---- status code=4(Failure), message=Failure
The result of FSETSTAT is actually ignored by lftp.
--
Alexander.
Loading...