Marcel Holtmann wrote: >Hi Charles, > > > >>Here you go ! >> >> > >this is weird. We ask for the FTP record handle only. The handle is not >important. We need the channel number: > >< ACL data: handle 46 flags 0x02 dlen 22 > L2CAP(d): cid 0x0040 len 18 [psm 1] > SDP SSA Req: tid 0x0 len 0xd > pat uuid-16 0x1106 (OBEXObjTrnsf) > max 65535 > aid(s) 0x0000 (SrvRecHndl) > cont 00 > > >>ACL data: handle 46 flags 0x02 dlen 24 >> >> > L2CAP(d): cid 0x0040 len 20 [psm 1] > SDP SSA Rsp: tid 0x0 len 0xf > count 12 > record #0 > aid 0x0000 (SrvRecHndl) > uint 0x10005 > cont 00 > >If you use obexftp then this is a bug. However this is not the big >problem. The problem is the FTP service itself. We get a service >unavailable response: > >< ACL data: handle 46 flags 0x02 dlen 36 > L2CAP(d): cid 0x0041 len 32 [psm 3] > RFCOMM(d): UIH: cr 1 dlci 20 pf 0 ilen 28 fcs 0x31 > OBEX: Get cmd(f): len 28 > Type (0x42) = Sequence length 22 > 0000: 78 2d 6f 62 65 78 2f 66 6f 6c 64 65 72 2d 6c 69 x-obex/folder-li > 0010: 73 74 69 6e 67 00 sting. > > >>ACL data: handle 46 flags 0x02 dlen 12 >> >> > L2CAP(d): cid 0x0041 len 8 [psm 3] > RFCOMM(d): UIH: cr 0 dlci 20 pf 1 ilen 3 fcs 0xf7 credits 1 > OBEX: Get rsp(f): status 503 len 3 > Status 503 = Service unavailable > >This means another problem. Maybe it is in obexftp or in the phone >itself. I don't know. Maybe you wanna try btftp from the obex CVS >repository of BlueZ. Or someone has to send me such a phone for testing. > > Ok i've compiled btftp, it looks better with this software ( see attached dump file ). I've been able to connect to the phone and run the following commands: Connected to 00:12:62:a3:80:a5. ftp> put Makefile.am 300 bytes sent ftp> ls -rw-r--r-- 300 Oct 6 15:25 Makefile.am ftp> get Makefile.am 300 bytes received ftp> quit Disconnected. Now what's puzzling me is that i don't see the exepected filesystem from the phone, but that's go nothing to do with bluez :) So i guess that from the bluez's standpoint, everything seems to be fine when using btftp. Thanks a lot for your support ! >Regards > >Marcel > > > > > > -- Charles-Edouard Ruault GPG key Id E4D2B80C