[Bug 23819] Add high-level API for FileTransfer
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Sep 23 06:36:56 CEST 2009
http://bugs.freedesktop.org/show_bug.cgi?id=23819
Andre Moreira Magalhaes <andrunko at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
--- Comment #7 from Andre Moreira Magalhaes <andrunko at gmail.com> 2009-09-22 21:36:56 PST ---
> > Regarding the Receiver example, it would be good to have a command-line option
> > (or something) that wants to skip the first kilobyte of the file, as a demo of
> > how offsets work.
Done
> > It would also be good to have a command-line option that writes the file to
> > stdout instead of a file, to test the non-seekable code path.
This is actually not needed, as there is not seek involved in writing to the
output device while receiving a file, you just write and close when the
transfer finishes.
> > While sending, please have a command-line option that reads from stdin (again
> > to test the non-seekable code path), and please test it with a nonzero offset.
Tested with non-zero offset, using the receiver example requesting a file with
offset != 0. Reading from stdin in Qt is a bit awkward, as there is no
QIODevice which is able to read from stdin, I will try using QFile and
open(stdin) but I am not sure if that will work. If this last item is
non-blocker, the branch is ok for review.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the telepathy-bugs
mailing list