Results 1 to 9 of 9
  1. #1
    srinivasa rao is offline Member
    Join Date
    Aug 2011
    Posts
    5
    Rep Power
    0

    Default code to upload a pdf file to specific location on server

    i want to upload a pdf file to a server folder and later i have to list all pdf files in that folder..

    can any one post some code for this

  2. #2
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    11,828
    Rep Power
    19

    Default Re: code to upload a pdf file to specific location on server

    The isn't a code factory.

    What sort of upload are you talking about?
    FTP, HTTP what?

  3. #3
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,368
    Blog Entries
    7
    Rep Power
    20

    Default Re: code to upload a pdf file to specific location on server

    Quote Originally Posted by srinivasa rao View Post
    can any one post some code for this
    Ah, you want the coding pit; that's down the hall, go to the left and then it's the third door on your right.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  4. #4
    srinivasa rao is offline Member
    Join Date
    Aug 2011
    Posts
    5
    Rep Power
    0

    Default Re: code to upload a pdf file to specific location on server

    hey tolls,

    through http i want to upload an list all in another jsp page........

  5. #5
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    11,828
    Rep Power
    19

    Default Re: code to upload a pdf file to specific location on server

    OK, so you'll want something like Apaches FileUpload stuff.

  6. #6
    srinivasa rao is offline Member
    Join Date
    Aug 2011
    Posts
    5
    Rep Power
    0

    Default Re: code to upload a pdf file to specific location on server

    i dont know apache file upload stuff , but ihave to make a jsp which takes a file input type and uploads to the specific location on server...........

  7. #7
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    11,828
    Rep Power
    19

    Default Re: code to upload a pdf file to specific location on server

    Then read up on it and try and get it to work.

  8. #8
    srinivasa rao is offline Member
    Join Date
    Aug 2011
    Posts
    5
    Rep Power
    0

    Default Re: code to upload a pdf file to specific location on server

    tolls ,can u post some example

  9. #9
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    11,828
    Rep Power
    19

    Default Re: code to upload a pdf file to specific location on server

    Read the doumentation at the link I gave.
    There's plenty there to explain what you need to do.

    No point me reinventing the wheel.

Similar Threads

  1. Upload/download a file to/from server
    By karq in forum Networking
    Replies: 16
    Last Post: 08-24-2010, 09:43 AM
  2. How to upload a file from client to server
    By john_thomas03 in forum New To Java
    Replies: 4
    Last Post: 07-26-2010, 02:00 PM
  3. Upload war file on server
    By sandeeprao.techno in forum Advanced Java
    Replies: 2
    Last Post: 12-16-2009, 10:55 AM
  4. :large file upload to server(chunk upload)
    By tommy_725 in forum Networking
    Replies: 0
    Last Post: 10-16-2009, 12:21 AM
  5. UPload a file to server?
    By makpandian in forum JavaServer Pages (JSP) and JSTL
    Replies: 10
    Last Post: 07-21-2009, 01:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •