aspose file tools*
The moose likes Servlets and the fly likes Uploading a PDF to an https site Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Uploading a PDF to an https site" Watch "Uploading a PDF to an https site" New topic
Author

Uploading a PDF to an https site

Susan Wegner
Greenhorn

Joined: May 14, 2005
Posts: 1
I need to locate a pdf file on my site and and upload it to an https site, and I have only the smallest of clues as to how to do this.

I image that I need some sort of input and an output stream. I�m painfully new to Java, so please spell it out for me in simple terms!

Thanks in advance for any assistance!
Susan
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Susan,
Welcome to Javaranch.
Have a look at http://jakarta.apache.org/commons/fileupload
This library comes with documentation and example code for doing file uploads.

Before going too much further, you may want to check out the ranch's
naming policy:
http://www.javaranch.com/name.jsp
The powers at be here want to help maintain a professional atmosphere by having every one list their full names.

-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61420
    
  67

"Susan W",

Ben is correct. We're pleased to have you here with us on the Ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jerry Ragland
Ranch Hand

Joined: Apr 26, 2005
Posts: 33
Originally posted by Susan W:
I need to locate a pdf file on my site and and upload it to an https site, and I have only the smallest of clues as to how to do this.

I image that I need some sort of input and an output stream. I�m painfully new to Java, so please spell it out for me in simple terms!

Thanks in advance for any assistance!
Susan
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Jerry,
Did you have anything to add to the conversation?
All I see is a quote.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Uploading a PDF to an https site