check terrapin for an upload mode.
there should be a choice between either binary and ascii, or possibly between binary, ascii and automatic.
when uploading pictures. using auto *should* work depending upon how that client has implemented it. but binary will always work.