• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 355
  • Last Modified:

how to download a file using httpunit in Java

I'm using httpUnit to automate some manual actions.

I have to connect to my server(SSL with cookies) fill a username password, then submit and then there is file to download but I don't have to enter or press anything, after the submit button the server redirect me to the file to download.

I manage to go on the link and fill the form with username and password and submitting but I don't know which methods to use to download to file.
Also, even I don't have any errors, I don't know if the submit is well done, May I use the httpunit.cookies or something as is is https ?

1 Solution
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now