File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
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.
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
Name of the submission jar
How to upload image to the server and store it into DB?
File upload using selenium (selenium-java-2.15.0.jar) not working
sending xml file from server to client dynamically.
Submitting the design file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015