File Upload versus Copy File in Java

Discussion in 'Java' started by Matt, Oct 12, 2004.

  1. Matt

    Matt Guest

    My JSP application needs file upload feature. And I plan to use Apache
    File Upload API (http://jakarta.apache.org/commons/fileupload/index.html).

    For the file copy, I implement a method void copyFile(String dest,
    String src)
    that read a source file 2K at a time, and write to the destination
    file.

    My question is what's the differences between file upload and file
    copy? In theory, I can just use the file copy mechanism for file
    upload. Is that correct?

    please advise. thanks!!
    Matt, Oct 12, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matthew Louden
    Replies:
    1
    Views:
    6,872
    Scott M.
    Oct 11, 2003
  2. Replies:
    30
    Views:
    1,176
  3. Alex
    Replies:
    2
    Views:
    1,199
  4. Replies:
    26
    Views:
    2,083
    Roland Pibinger
    Sep 1, 2006
  5. Paul Butcher
    Replies:
    12
    Views:
    684
    Gary Wright
    Nov 28, 2007
Loading...

Share This Page