Reference: http://www.7880.com/info/Article-42b729a0.html After a general effort, you can finally write a small upload applet, where the URL above is written, but this program and new Version of Commons-FileUpload-1.0, there is a different place, that is:
New is:
Void Write (java.io.file file) a convetenience method to write, an uploaded item to disk.
And here is String !!!
Thanks to me, there is a little bit of Java, and find the API
Constructor Summary File (File parent, String child) Creates a new File instance from a parent abstract pathname and a child pathname string. File (String pathname) Creates a new File instance by converting the given pathname string into an abstract pathname. File (String . parent, String child) Creates a new File instance from a parent pathname string and a child pathname string File (uRI uri) Creates a new File instance by converting the given file: uRI into an abstract pathname.
I have modified this sentence to two:
File Writefile = New File ("f: // public", name);
FI.WRITE (WRITEFILE);
This way this uploader can finally work! (One will have source code, upload a file)
There is also the "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" " Things can only be written after you refer to your understanding!
Other procedures:
1. Upload of UPLOADB
1) UPLOAD directory: