Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000494 [obex-data-server] FTP minor always 2010-10-29 12:37 2010-10-29 12:45
Reporter nami View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version
Summary 0000494: ftp client cannot put empty file to server
Description When ftp client try to put a zero size file to server folder, it will get "File not found" error. I find that this bug is caused by server considered this put request as a delete operation. There are only Name,Time and Connection ID headers in client empty file put request package.So I think we can add Time header to distinguish delete and normal put request.
Maybe we can modify ods_obex_srv_put function like this:


case OBEX_HDR_TIME:
                obex_context->modtime = ods_parse_iso8601 ((gchar*) hv.bs, hlen);
                is_delete = FALSE;
                g_message ("HDR_TIME");
                break;
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0001403)
nami (reporter)
2010-10-29 12:45

The hcidump log shows client request put empty file and get 0xc4 response code:

> ACL data: handle 12 flags 0x02 dlen 59
    L2CAP(d): cid 0x0041 len 55 [psm 0]
      0000: 53 ef 67 82 00 33 cb 00 00 00 01 01 00 15 00 6e S.g..3.........n
      0010: 00 65 00 77 00 20 00 66 00 69 00 6c 00 65 00 00 .e.w. .f.i.l.e..
      0020: 44 00 13 32 30 31 30 31 30 32 39 54 30 38 31 35 D..20101029T0815
      0030: 34 35 5a 49 00 03 31 45ZI..1
< ACL data: handle 12 flags 0x02 dlen 11
    L2CAP(d): cid 0x0041 len 7 [psm 0]
      0000: 51 ef 07 c4 00 03 eb

- Issue History
Date Modified Username Field Change
2010-10-29 12:37 nami New Issue
2010-10-29 12:45 nami Note Added: 0001403


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker