Hi Christian,

At 19:05 07-10-08, you wrote:
>Hi,
>
>Am 07.10.2008 um 13:46 schrieb Hendrik Sattler:
>
> > Isn't that the strlen() issue you already fixed for 0.23?
>
>
>I had a sizeof() fix in obexftpd.c (r217). I don't remember any
>strlen() fix?
>
>Anyway, John, can you try the snapshot at 
>http://triq.net/obexftp/obexftp-0.23-alpha.tar.bz2
>
>
>regards,
>Christian
>---------------
[obexftp-0.23-alpha]
$ obexftp -r -b 00:1E:45:8B:2A:33 -c'Internal' -l
obexftp: invalid option -- r
Try `obexftp --help' for more information.
Browsing 00:1E:45:8B:2A:33 ...
obexftp_open()
obexftp_connect_src()
Connecting...obexftp_connect_src() BT 1
cli_sync_request()
obexftp_sync()
client_done()
client_done() Found connection number: -1022384746
client_done() Sender identified
obexftp_sync() OBEX_HandleInput = 31
obexftp_sync() Done success=1
done
obexftp_setpath() Changing to Internal
Sending "Internal"... obexftp_setpath() Setpath "Internal"
cli_sync_request()
obexftp_sync()
client_done()
obexftp_sync() OBEX_HandleInput = 3
obexftp_sync() Done success=1
done
Receiving "(null)"... obexftp_get_type() Getting (null) -> (null) 
(x-obex/folder-listing)
cli_sync_request()
obexftp_sync() 
\obexftp_sync() OBEX_HandleInput = 60
client_done()
client_done() Sender name
00 66 00 6f 00 6c 00 64 00 65 00 72 00 6c 00 69 00 73 00 74 00 2e 00 
78 00 6d 00 6c 00 00
client_done() Skipped header c3
client_done() Skipped header 44
client_done() Found body (length: 521)
<?xml version="1.0"?><!DOCTYPE folder-listing SYSTEM 
"obex-folder-listing.dtd"><folder-listing version="1.0"><folder 
name="Picture" modified="20080108T110554" user-perm="R" 
group-perm="R"/><folder name="Music" modified="20080108T110554" 
user-perm="R" group-perm="R"/><folder name="Video" 
modified="20080108T110554" user-perm="R" group-perm="R"/><folder 
name="document" modified="20080125T100538" user-perm="R" 
group-perm="R"/><folder name="other" modified="20080125T100538" 
user-perm="R" group-perm="R"/></folder-listing>client_done() Done body
client_done() Body not written
obexftp_sync() OBEX_HandleInput = 527
obexftp_sync() Done success=1
done
obexftp_disconnect()
Disconnecting...cli_sync_request()
obexftp_sync()
client_done()
client_done: Warning: buffer still active?
obexftp_sync() OBEX_HandleInput = 3
obexftp_sync() Done success=1
done
obexftp_close()
obexftp_close: Warning: purging left-over buffer.

$ obexftp -b 00:1E:45:8B:2A:33 -c'Internal/Picture' -g Skyline.jpg
Browsing 00:1E:45:8B:2A:33 ...
...
done

$ ls -l Skyline.jpg
-rw-r--r--    1 tc       staff       10117 Oct  8 09:53 Skyline.jpg

[and now obexfs also works :-)]

$ mkdir /tmp/p1i
$ sudo obexfs -b 00:1E:45:8B:2A:33 /tmp/p1i
$ sudo ls -l /tmp/p1i/Internal/Picture/Skyline.jpg
-rw-r--r--    1 root     root        10117 Jan 13  2008 
/tmp/p1i/Internal/Picture/Skyline.jpg



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openobex-users mailing list
Openobex-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to