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. Advertisements

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:
    7,609
    Scott M.
    Oct 11, 2003
  2. Russ

    script versus code versus ?

    Russ, Jun 10, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,722
  3. =?Utf-8?B?U2FyYXY=?=

    Upload a file without file Upload control - ASP.Net

    =?Utf-8?B?U2FyYXY=?=, Aug 2, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    3,070
    Bruce Barker
    Aug 3, 2005
  4. Replies:
    30
    Views:
    1,376
  5. Alex
    Replies:
    2
    Views:
    1,610
  6. Replies:
    26
    Views:
    2,573
    Roland Pibinger
    Sep 1, 2006
  7. Christoffer Sawicki
    Replies:
    5
    Views:
    512
    Christoffer Sawicki
    Sep 2, 2006
  8. Paul Butcher
    Replies:
    12
    Views:
    997
    Gary Wright
    Nov 28, 2007
Loading...