A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
Java in General
uploading a file programmatically
Joined: Feb 13, 2006
May 24, 2006 12:31:00
we need to upload a file to a website regularly. This website has a login, password and then a button to browse the file and a upload button to upload the file.
Have been doing this manually till now, is it possible have a program that could upload the file to the website?
Joined: Mar 22, 2005
May 24, 2006 13:55:00
You could use HttpUnit (on SourceForge) to navigate through the login, and then use Jakarta Commons HttpClient to do the file upload.
Ping & DNS, my free Android app for network diagnostics
Joined: Nov 03, 2005
May 24, 2006 14:30:00
Or, if the Web site has an FTP server running, use the Jakarta Commons FTP client class.
I agree. Here's the link:
subject: uploading a file programmatically
How to upload image to the server and store it into DB?
Name of the submission jar
Submitting the design file
sending xml file from server to client dynamically.
File upload using selenium (selenium-java-2.15.0.jar) not working
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014