By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,998 Members | 2,921 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,998 IT Pros & Developers. It's quick & easy.

Network File Transfer?

P: n/a
I've written a pair of client/server programs to do file transfer over
a network. Pretty simple, really: server grabs the file up into an
array of bytes, then waits for the client to contact it. When client
initiates contact, the server sends the data in a packet. This works
great for all kinds of files EXCEPT jar's!!! The file transfer works,
but jars won't execust if sent this way. I get an error message
saying fatal exception or something. Why can i transfer all other
files like this, but jar's won't work?!
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
David wrote:
I've written a pair of client/server programs to do file transfer over
a network. Pretty simple, really: server grabs the file up into an
array of bytes, then waits for the client to contact it. When client
initiates contact, the server sends the data in a packet. This works
great for all kinds of files EXCEPT jar's!!! The file transfer works,
but jars won't execust if sent this way. I get an error message
saying fatal exception or something. Why can i transfer all other
files like this, but jar's won't work?!


Without seeing your code I can't tell you for sure but to make a guess I
would say that you've been using Readers when you should have been using
Streams.

--

Knute Johnson
email s/nospam/knute/
Molon labe...
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.