|
From: Yamashiro, J. <ya...@of...> - 2004-02-26 03:53:00
|
Hi, Peter.
On Wed, 25 Feb 2004 23:18:36 +0100
Peter Biechele <Pet...@gm...> wrote:
> 1)
> I looked at the code and I am stuck at the point where the data has to be read
> from the usb device. The code below just receives a size of 0 !! Which means
> thee is never any data coming from the iriver device.
>
> Does somebody know how to correct this ????
What filename did you download?
It is decided by ifp-line's bug or normal operation.
> 2)
> There has been another problem with the dowbnload code:
> It never acepted the filenames, I always got errors:
> "this filetype cannot be downloaded."
> So i looked at the code and I think the following should be changed:
> ------------------old
> if ( (ifp_strcasestr(argv[1],".mp3") ||
> ifp_strcasestr(argv[1],".wma") ||
> ifp_strcasestr(argv[1],".asf")) && !ifp_isdir(dh, argv[1]) ) {
> fprintf(stderr, "this filetype cannot be downloaded.\n");
> return -1;
> }
> ------------------
This code is correct. "manager version" firmware can't download
mp3/wma/asf files. We wrote code for reject these suffixes.
--
Yamashiro, Jun Email: ya...@of...
Okinawa FreeBSD Users Group
-- This message will *not* self-destruct in five seconds.
|