using filestream to send files over the internet

is is possible to use a filestream to send files from client to server? If so could someone show me some example code or point me to a good internet reference. i have done some searching and reading but haven't found anything that showed it well.

thanks for the help in advance.

[292 byte] By [developprogramsa] at [2007-11-27 11:09:24]
# 1

You should check with his wife first, I don't think she wants him hanging out on any old place on the internet.

cotton.ma at 2007-7-29 13:35:11 > top of Java-index,Java Essentials,New To Java...
# 2

Tangle a TastyKake in front of him and he'll do anything.

KelVarnsona at 2007-7-29 13:35:11 > top of Java-index,Java Essentials,New To Java...
# 3

Sorry, I am a bit busy at the moment taking "nasty pictures."

http://www.philly.com/philly/news/weird_news/20070719_ap_womanleaveskidstoposenudeinwoods.html

try again later.

filestreama at 2007-7-29 13:35:11 > top of Java-index,Java Essentials,New To Java...
# 4

> You should check with his wife first, I don't think

> she wants him hanging out on any old place on the

> internet.

She doesn't mind if I hang out in Brampton with my peeps, yo.

filestreama at 2007-7-29 13:35:11 > top of Java-index,Java Essentials,New To Java...
# 5

> is is possible to use a filestream to send files from

> client to server? If so could someone show me some

> example code or point me to a good internet

> reference. i have done some searching and reading

> but haven't found anything that showed it well.

>

> thanks for the help in advance.

The API descriptions for the 2 filestream classes gives the answer:

FileInputStream - A FileInputStream obtains input bytes from a file in a file system.

FileOutputStream - A file output stream is an output stream for writing data to a File or to a FileDescriptor.

ChuckBinga at 2007-7-29 13:35:11 > top of Java-index,Java Essentials,New To Java...
# 6

Let's find out.

filestream: can you email these files to someone for me real quick? They are fairly large; you will have to send them one by one.

jGardnera at 2007-7-29 13:35:11 > top of Java-index,Java Essentials,New To Java...