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
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
- updated with new look and Ping home screen widget
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
File upload using selenium (selenium-java-2.15.0.jar) not working
How to upload image to the server and store it into DB?
Submitting the design file
sending xml file from server to client dynamically.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014