permaculture playing cards*
The moose likes Servlets and the fly likes Upload files through HTTP call through client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Upload files through HTTP call through client" Watch "Upload files through HTTP call through client" New topic
Author

Upload files through HTTP call through client

Vishal Kumar
Greenhorn

Joined: Jan 13, 2005
Posts: 19
Guys -

My mgr is asking me to upload multiple files to a server by way of making HTTP Calls. The Input parameters would then be byte stream, file.

1. Does this make sense ?
2. Any leads on how I could accomplish this?

Thank you.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

Not an advanced Java question. Moved to Servlets.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

"Vishal", you have been asked on numerous occasions to change your display name to conform to JavaRanch requirements.

This is your last warning. Failure to change your name as requested prior to your next post will result in the disabling of your account.

Your display name must be a first name and a last name separated by a space character.

bear
JavaRanch Sheriff
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

The JSP FAQ contains an entry that discusses getting started with file uploads.
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
You can use multipart post.There is also an useful api for the manupulation of the uploaded files. commons-fileupload.jar
And in the client side you can use input with type=file


Rahul Bhattacharjee
LinkedIn - Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Upload files through HTTP call through client
 
Similar Threads
PA #1.....picture association
Daemon for polling directory for files and uploading the files
FTP applet
Upload file into layout:datagrid using struts
Upload attachment using Java