📄 readme.txt
字号:
FileMover V1.3 - UploadBean 1.5+ Add-On
Written By Jeff Capeci (jeff@jeffpc.biz)
and improved by JavaZOOM Team.
==========================================================
UploadBean support page :
http://www.javazoom.net/jzservlets/uploadbean/uploadbean.html
UploadBean add-ons homepage :
http://www.javazoom.net/jzservlets/uploadbean/uploadbeantools.html
JSP Forums :
http://www.javazoom.net/services/forums/index.jsp
==========================================================
08/13/2004 : V1.3
-----------------
- setReplaceChar(char[], char[]) added.
- UnixUploadRename.jsp sample added.
02/16/2004 : V1.2
-----------------
- Bug fixed (method not found) for UploadBean 1.5.
07/05/2003 : V1.1
----------------
- setFilename method added to rename the full uploaded filename.
- LargeUploadSample.jsp using Commons-FileUpload parser added.
05/20/2003 : V1.0
-----------------
FileMover is a listener class used to rename (copy or move) uploaded files with UploadBean.
This add-on is free and open source. It allows to add PreFix and PostFix to any file uploaded.
Check out sample JSP files included to see how to parameter renaming.
Install :
-------
- Copy dist/filemover.jar in the same folder as uploadbean.jar (It should be WEB-INF/lib)
- Copy (and setup) dist/SimpleUploadRename.jsp in the same folder as SimpleUpload.jsp UploadBean sample.
To setup SimpleUploadRename.jsp you just need to modify folderstore and prefix, postfix properties.
Tested on :
- Tomcat 4.1.17-LE-JDK1.4 on Redhat Linux 7.3
- Tomcat 4.1.24-LE-JDK1.4 on Win32
TODO :
----
- Error handling :
The FileStore location should be tested for existance and writablity.
- Append Random number to file name functionality of upload bean is lost.
This bean should somehow preserve this functionality.
- Currently the bean is designed to work with file system storage only.
It should be extended to be used by the other types of storage supported by the upload bean.
Thanks go to JavaZOOM Team for requesting this source and to all others at javazoom.net for their UploadBean without which this object could not exist.
Implements UploadListener class used to store files uploaded via javaZoom UploadBean.
Your comments and suggestions are always welcome.
Thanks,
Jeff
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -