Аноним | вход | зарегистрировать новую учетную запись | 2021-01-16 13:28 EET |
главная | моя сводка | список вопросов | журнал изменений | план развития | документация | моя учетная запись |
Простой вид [ комментарии ] | [ расширенный вид ] [ история ] [ печать ] | ||||||
Номер | Категория | Серьезность | Воспроизводимость | Создан | Изменен | ||
0000071 | [obex-data-server] General | нововведение | неприменима | 2008-04-04 22:20 | 2008-10-17 19:59 | ||
Инициатор | heston_james | Видимость | общая | ||||
Ответственный | skirsdeda | ||||||
Приоритет | обычный | Решение | решен | ||||
Состояние | закрыт | Версия продукта | 0.3.1 | ||||
Суть | 0000071: Choose file name for when it is put to the server. | ||||||
Подробности |
Having used ussp-push back in the past I always found it kind of neat that you could select the name of the file that is sent to the server, so you dont have to send the file with the same name as it has on the local file system. As I'm new to this project I was also looking for a nice oppertunity to be able to look through the code and figure out whats going on and how everything works and thought this little mod might be a nice way to do so. |
||||||
Дополнительные сведения |
I've attached a patch which some of you may find fun to play around with. I've changed the ods-dbus-test.c so that you will now need to use the following syntax when running the test application. ./ods-dbus-test 00:00:00:00:00:00 opp /path/to/file.txt newname.txt This will then send the file /path/to/file.txt to the remote device but it will arive on the server as newname.txt :-) If you're using the dbus interface from something like Python or JAVA then you will now need to pass a second argument to the SendFile() method which is the desired file name, like so. SendFile("/path/to/file.txt", "newname.txt") I look forward to working on this project with you guys, it seems really great. I've given my changes a test through here and it appears to work a charm but I look forward to getting your feedback on it. Cheers, Heston |
||||||
Tэги | Нет прикрепленных тэгов. | ||||||
Вложенные файлы |
![]() |
||||||
|
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |