Please correct me if I am wrong, but I don't think it is possible to send files via the serial connection, but you can use bluetooth or obex for that.
What kind of file do you want to send? If it is a simple text file you can send the each line as a string via the usb and then create the text file on the pc side and fill it with the data from the device. If it is an image you need a decoder, that can be quite tricky, since there is no support for that in j2me, that I know of at least.
Reputation Points: 22
Solved Threads: 13
Junior Poster in Training
Offline 66 posts
since Sep 2008