The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

yes you can

Posted by Lionel Olavarria on September 11, 2001 at 4:18 PM

> Hello,

> I would like to write a program that grabs an image from a digital camera and uploads this image to a web server (bit like a webcam - but I have my reasons for needing to know how to do it myself). Firstly, I don't know how to access the image from the camera. Secondly, I am presuming I can upload the image to the server using FTP. Is there support for FTP in the standard Java API? If not, can any one recommend any classes to use.

> Many thanks
> Andrea


I presume the multipartRequest class has that purpose, i mean of uploading files. Import the class in your code and then set the maximum post size and the upload folder.
I hope this helps you. excuse my english, bye




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us