This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions,
flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.
Tom
I'm running the WiFi Rabbit RCM5600W but thanks for the reply. I am capturing a jpeg from
a camera and can read the file no problem when running as a HTTP server, but can't seem to
upload it via ftp when running as a client. The bytes transferred are ok but the file
cannot be viewed as it is corrupted. A text file works no problem. I am using a file
handler as the jpg is about 30k in size. Cpanel seems to work when I upload using cuteFTP
so I don't think the server config is the problem.
Appreciate any additional ideas.
Ian
------------------------------------
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )
On Oct 19, 2009, at 10:34 PM, g...@hotmail.com wrote:
> I'm running the WiFi Rabbit RCM5600W but thanks for the reply. I am
> capturing a jpeg from a camera and can read the file no problem
> when running as a HTTP server, but can't seem to upload it via ftp
> when running as a client. The bytes transferred are ok but the file
> cannot be viewed as it is corrupted. A text file works no problem.
> I am using a file handler as the jpg is about 30k in size. Cpanel
> seems to work when I upload using cuteFTP so I don't think the
> server config is the problem.
> Appreciate any additional ideas.
Download the JPEG from the Rabbit's HTTP server, and download a copy
of the one uploaded to Cpanel. Do a binary-diff on them (Beyond
Compare is a good tool for that) and see what's different.
There is probably an error in your file handler for sending the
JPEG. It could be as simple as dropping the last byte (something
that you might not notice in a text file transfer) or maybe the
failure only happens if the file sent is too large, or contains nulls.
-Tom

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )