ver 2.0.3 (10.06.2010)
- [FUNCTIONALITY]
-
Added resumable upload feature for HTTP upload mode.
-
Removed HTTP PUT method support.
- [FIXED]
-
Issue with status text layout when theme disabled.
- [ADDED]
- Parameters:
-
Upload.BrowseDialog.DefaultPath - String. Default value:
Default path for browse dialog in Upload mode.
-
Upload.HttpUpload.ChunkedUpload.Enabled - Boolean. Default value: false
Determines whether JavaPowUpload should use chuncked mode for file uploads. Please note : this method is not RFC compliant, so you should use specific script on server side (php and asp.net samples included in distribution package).
-
Upload.HttpUpload.ChunkedUpload.ChunkSize - Number. Default value: -1
Size of chunk in bytes. If set to -1 , JavaPowUpload will automatically increase chunk size to optimal value.
-
Upload.HttpUpload.ChunkedUpload.MaxChunkSize - String. Default value: 2097152
Maximum chunk size. If chunkedUpload.chunkSize set to -1, value of this parameter used to limit maximum size of chunk. Should be less than request or file size limitation on server side .
- [REMOVED]
- Parameters:
-
Upload.HttpUpload.UsePutMethod parameter no longer supported by JavaPowUpload.
Main advantage of this upload method - resumable upload, now replaced with more powerfull functionality.
ver 2.0.2 (04.06.2010)
- [FIXED]
-
Issue with Common.DetailsArea.DetailView.Visible parameter. If set to false, exceptions occured in download mode.
-
Files not downloaded when '@' symbol was in file url as part of credentials in download mode.
-
If user add some files to upload list when upload process already started, JavaPowUpload send 'second part' of files by one.
Fixed: javaPowUpload will send secind part of files according to max files count per request or max size of request.
-
Removed warning message about mixed signed and unsigned code displayed in some cases by JRE starting from version 6 update 19.
-
Removed unnecessary requests to web server, when JRE try load localized resources.
- [ADDED]
-
Events:
- onPrepareRequest(files)
Fired in HTTP upload mode when request is prepared, right before upload starts.
files - Array of UploadItem objects wich will be posted in request.
- Parameters:
-
Common.ListArea.Row.File.CheckBox.Visible - Boolean. Default value: false
Display or not checkbox in uploadtree.
-
Common.AllowEmptyFolders - Boolean. Default value: false
If set to true, JavaPowUPload will allow empty folder uploads.
In http upload mode information about empty folders posted in form fields with name paatern configured by
Upload.HttpUpload.FieldName.EmptyFolde parameter.
In ftp upload mode, folders will be created automatically.
-
Upload.HttpUpload.FieldName.EmptyFolder - String. Default value: EmptyFolder_#COUNTER#
For field name pattern for empty folders. #COUNTER# is own counter of empty folders started from 0.
- [CHANGED]
Events:
- onServerResponse(status, response, files)
Added new parameter:
files - Array of UploadItem objects wich were posted in request.
ver 2.0.1 (20.04.2010)
- [FIXED]
-
Issue with decoding encoded characters in download mode when file list set using applet params.
-
Issue with exception in download mode when last file downloaded.
-
Issue resuming download process under MAC OS. MAC OS implementation of JRE ignore read timeout settings.
- [ADDED]
- Methods:
-
getPostField(String name)
Return value of post field.
- UploadItem object:
- Methods:
-
addPostField(String name, String value)
Add form field value to UploadItem.
-
getPostField(String name)
Get value of form field.
-
removePostField(String name)
Remove form field with specified name.
-
clearPostFields()
Clear all post fields in UploadItem.
- Parameters:
-
Upload.HttpUpload.FieldName.FileCustomPostField String. Default value: #FIELDNAME#_#COUNTER#
Pattern for name of post fields specified for individual files (UploadItem object).
ver 2.0.0 (09.04.2010)
- [FUNCTIONALITY]
-
Changed serial number validation algorithm due to changes in license policy. Now JavaPowUpload copy licensed to one domain can not be used on another domain.
Warning message will be displayed each time when upload/download process started.
- [FIXED]
-
Issue with MaxFilesSizePerRequest parameter. If file can not be added to request due to size limitation and it is last file in list, it may be not uploaded.
-
Issue in http upload mode with "Exception: Value may not be null" when parameter "Upload.HttpUpload.SendFileMD5" is set to "true".
ver 1.2.1 (18.03.2010) - recommended update
- [FUNCTIONALITY]
-
Resume upload/download process on connection abort. If connection aborted for some reason, JavaPowUpload will wait specified time for connection restore
checking connection with specified interval. When connection restored, JavaPowUpload will start upload/download process.
In download mode last file download will be resumed if possible.
In HTTP upload mode JavaPowUPload will send full request from start. By default javaPowUpload send all files in one request, so all files will be uploaded again.
You can set value of Upload.HttpUpload.MaxFilesCountPerRequest parameter to 1 to upload files by one. In this case JavaPowUpload will start upload process from last file.
- Ability add watermark to thumbnails.
- Added button to show/hide detailed area.
- Upload/Download button moved to top panel.
- [FIXED]
-
Fixed issue with folder creation on some ftp servers.
-
Increased quality of JPEG image thumbnails.
-
Increased speed of thumbnails generation in preview mode (DetailsArea) if source image contain stored thumbnail in EXIF metadata.
-
Fixed issue with colors corrupution (green, purple) after resize of some images when Upload.Thumbnails.IncludeOriginalImageMetadata parameter set to true.
-
Fixed issues under MAC OS in localization.html example.
-
Fixed bug with JavaScript events in MAC OS. When method, wich produce JS events, was called from event handler, exception occured in some browsers under MAC OS.
- Optimized http upload module.
-
Http upload speed for fast connections increased.
-
Issue with wrong character encoding for http server reponse in LogArea.
-
Issue with default divders position in some browsers (specially in IE). When applet loded deviders should have position according to
Common.LogArea.StartupDeviderLocation and Common.LogArea.StartupDeviderLocation parameters.
But sometimes vertical devider inited at left side and horizontal at top of applet.
-
Issue with listArea:
If configure applet with following parameters
<param name="Common.ListArea.Visible" value="true">
<param name="Common.DetailsArea.Visible" value="false">
ListArea not displayed.
-
Issue with http upload in FreeMode.
-
When Common.ProgressArea.Visible parameter set to false, files can not be added to the list.
-
Issue with broken onError event handler.
- [ADDED]
- Methods:
- toggleDetailsPanel - show/hide DetailsArea
- ProgressInfo object:
- Methods:
- getHourElapsed - return count of hours elapsed.
- getMinElapsed - return count of minutes elapsed.
- getSecElapsed - return count of seconds elapsed.
- Parameters:
-
Common.WindowMode.Width - integer. Default value: 300
Window width.
-
Common.WindowMode.Height - integer. Default value: 300
Window height.
-
Common.WindowMode.Caption - String. Defaut value: JavaPowUpload
Window caption.
-
Upload.Thumbnails.Watermark.Enabled - boolean. Default value:false
Deterimes whether JavaPowUpload should add watermark to thumbnails.
Watermark add only to uploaded thumbnail and not visible in DetailsArea preview.
-
Upload.Thumbnails.Watermark.ImageUrl - Url. Default value:
Url to image which should be used as watermark.
-
Upload.Thumbnails.Watermark.Position - String. Default value: Bottom.Right
Watermark position.
Available values: Top.Left, Top.Center, Top.Right, Center.Left, Center.Center, Center.Right, Bottom.Left, Bottom.Center, Bottom.Right
-
Upload.Thumbnails.Watermark.Alpha - float. Default value:0.6
Watermark transparency. 0.0 - fully transparent, 1.0 - fully opaque.
-
Upload.Thumbnails.Watermark.Text - String. Default value:
Watermark text. Used only if Upload.Thumbnails.Watermark.ImageUrl parameter not set, or can not be loaded.
-
Upload.Thumbnails.Watermark.TextColor - Color. Default value: #FF0000
Watermark text color.
-
Upload.Thumbnails.Watermark.FontName - String. Default value: Arial
Watermark text font.
-
Upload.Thumbnails.Watermark.FontStyle - Integer. Default value: 1
Watermark text style.
Font style: 0–plain, 1-bold, 2-itallic
-
Upload.Thumbnails.Watermark.FontSize - Integer. Default value: 18
Watermark text size.
-
Common.ProgressArea.TotalProgress.AlwaysVisible - boolean. Default value: true
If set to true progress bar is always visible, otherwise progress bar displayed only while upload/download process.
-
Common.ProgressArea.TotalProgress.PlaceOnTopArea - boolean. Default value: false
Determine where to place progress bar. If set to true progress bar will be placed on TopAtrea.
-
Common.ProgressArea.TotalProgress.Width- integer. Default value: 1000
Progress bar width.
-
Common.ProgressArea.TotalProgress.Height- integer. Default value: 15
Progress bar height.
- Common.ListArea.Row.File.Icon.Complete - URL. Default value: /icons/file_complete.png
Url to icon for file progress state.
- Common.ListArea.Row.File.Icon.Error - URL. Default value: /icons/file_error.png
Url to icon for file progress state.
- Common.ListArea.Row.File.Icon.Progress - URL. Default value: /icons/file_progress.png
Url to icon for file progress state.
- Common.ProgressArea.DownloadButton.PlaceOnTopArea - boolean. Default value: true
Determine where download/upload/cancel button should be placed: on TopArea or on ProgressArea.
- Common.TopArea.DisplayDetailsButton.Width - integer. Default value: -1
Button width.
- Common.TopArea.DisplayDetailsButton.Height - integer. Default value:-1
Button height.
- Common.TopArea.BrowseButton.Width - integer. Default value:85
Button width.
- Common.TopArea.BrowseButton.Height - integer. Default value:25
Button height.
- Upload.TopArea.RemoveButton.Width - integer. Default value:85
Button width.
- Upload.TopArea.RemoveButton.Height - integer. Default value:25
Button height.
- Upload.TopArea.ClearButton.Width - integer. Default value:85
Button width.
- Upload.TopArea.ClearButton.Height - integer. Default value:25
Button height.
- Common.ProgressArea.DownloadButton.Width - integer. Default value:85
Button width.
- Common.ProgressArea.DownloadButton.Height - integer. Default value:25
Button height.
- Common.RetryWhenConnectionLost - boolean. Default value: true
Determines whether javaPowUpload should wait for connection restore when it is lost or not.
- Common.RetryWhenConnectionLost.CheckInterval - integer. Default value:1
How ofter perform connection attempts when connection lost. Interval in seconds.
- Common.RetryWhenConnectionLost.CheckTimeout - integer. Default value:600
How long JavaPowUpload should wait for connection restore. Within specified period (in seconds) JavaPowUpload will perform connection attempts.
- Common.ProgressArea.StatusMessage.CheckConnection - String. Default value:
Connection attempt: #ATTEMPTNUMBER# (#TIMETOCHECKLEFT# sec left). Connection with server was lost. Waiting for restore.
#ATTEMPTNUMBER# - count of attemps.
#TIMETOCHECKELAPSED# - time elapsed from begin of check.
#TIMETOCHECKLEFT# - time left until Common.RetryWhenConnectionLost.CheckTimeout will be reached.
- Common.TopArea.DisplayDetailsButton.Visible - boolean. Default value: true
Determines whether button visible or not.
- Common.TopArea.DisplayDetailsButton.Icon - URL. Default value: /icons/view_thumb.png
Url to icon for "display details panel" button.
- Common.TopArea.DisplayDetailsButton.Label - String. Default value:
"display details panel" button text
- Common.TopArea.DisplayDetailsButton.ToolTip - String. Default value: Show/Hide details panel
"display details panel" button tooltip
- Upload.ProgressArea.StatusMessage.Complete - String. Default value: #COMPLETEFILESCOUNT# files uploaded. Time elapsed: #ELAPSEHOUR#:#ELAPSEMIN#:#ELAPSESEC#
Status message displayed when upload process complete.
- Download.ProgressArea.StatusMessage.Complete - String. Default value: #COMPLETEFILESCOUNT# files downloaded. Time elapsed: #ELAPSEHOUR#:#ELAPSEMIN#:#ELAPSESEC#
Status message displayed when download process complete.
- Upload.FileSystemTree.ToolTip - String. Default value: Local file system tree. Allow select files for upload
- Upload.ListArea.ToolTip - String. Default value: Upload tree allow view and manage files selected for upload
- Common.DetailsArea.Thumbnails.ToolTip - String. Default value: Thumbnails view/edit
- Common.DetailsArea.DetailView.ToolTip - String. Default value: Detailed view
- Upload.TopArea.ClearButton.ToolTip - String. Default value: Remove all files from upload list
- Upload.TopArea.RemoveButton.ToolTip - String. Default value: Remove selected file from upload list
- Download.TopArea.BrowseButton.ToolTip - String. Default value: Choose destination folder
- Upload.TopArea.BrowseButton.ToolTip - String. Default value: Add files/folders for upload
- Upload.ProgressArea.DownloadButton.ToolTip - String. Default value: Click to start upload
- Download.ProgressArea.DownloadButton.ToolTip - String. Default value: Click to start download
- New patterns for status string:
- #ELAPSEHOUR# - count of hours elapsed.
- #ELAPSEMIN# - of minutes elapsed.
- #ELAPSESEC# - return count of seconds elapsed.
- #RATEVALUE# patter now automatically formats to bytes,Kb,Mb,Gb and append appropriate constant
- [CHANGED]
- Set default widths for details table.
-
Total progress bar height decreased.
-
Added icons for progress, complete and error file state in upload/download tree.
-
Parameters:
-
Common.ListArea.Row.Progress.Visible default value changed to
false
-
Common.ListArea.Row.File.Label default value changed to
#FILENAME# [(#FILEPROGRESS# %)]
-
Common.ProgressArea.StatusMessage.FileComplete parameter depricated
-
Common.ListArea.Row.Progress.Visible default value changed to false
-
Download.TopArea.BrowseLabel.Label default value changed to
Save to folder
-
Upload.ProgressArea.StatusMessage.NoUploadsInProgress default value changed to
Total files: #SELECTEDFILESCOUNT# (#TOTALSIZE#).
-
Upload.ProgressArea.StatusMessage.Uploading default value changed to
Total: #TOTALPERCENT#% (#FILESNUM#). Current: #CURFILEPERCENT#% (#RATEVALUE#/sec, time left: #LEFTHOUR#:#LEFTMIN#:#LEFTSEC#)
-
Download.ProgressArea.StatusMessage.Downloading default value changed to
Total: #TOTALPERCENT#% (#FILESNUM#). Current: #CURFILEPERCENT#% (#RATEVALUE#/sec, time left: #LEFTHOUR#:#LEFTMIN#:#LEFTSEC#)
-
Common.DetailsArea.StartupDeviderLocation default value changed to 1.0 from 0.5
-
Common.LogArea.Visible default value changed to false
-
Upload.HttpUpload.AddFormValuesToPostFields default value changed to true
-
Common.DetailsArea.DetailView.ColumnsOrder default value changed to "Check|Thumbnail|Name|Size|Date"
ver 1.2.0 (05.02.2010) - JavaPowUpload 1.2.0 version released
- [FUNCTIONALITY]
-
FTP library changed to common.net.ftp library.
-
FTPS (FTP over SSL) support added.
-
Added File System tree view. With this tree user can add files for upload by checking them in list or table.
- [FIXED]
-
Issue with getting form fields under FireFox browser in MAC OS.
-
Issue with wrong ThumnailsCrop region sended to server.
-
Issue with query string params when download list set using Download.DataUrl parameter.
-
Issue with encoding when resumable upload mode used (http put method enabled) under MAC OS.
-
Improved algoritm of sending form fields wich grabbed from html page (form specified with Upload.HttpUpload.FormName parameter).
Now radio button and checkbox values included only if they checked.
-
Fixed display of Common.ProgressArea.StatusMessage.AddingFile message in status panel when files added.
With too long file path status panel always change size. Now file path cut from begin to fill progress label length.
- [ADDED]
-
Events:
- onFileListLoaded()
Fires when upload tree initialized.
-
Methods:
-
reloadTree() - reload upload tree from current source (html parameters or xml file).
Work only in download mode.
-
Parameters:
-
Common.DetailsArea.Thumbnails.ShowToolTips - Boolean. Default value: true
Show or not tooltip on cell items in Thumbnail view.
-
Common.ListArea.Row.Progress.AlwaysVisible- Boolean. Default value: false
If set to true progress bar always visible.
If set to false progress bar displayed visible only when upload/download process started.
-
Common.FreeMode - Boolean. Default value: false
Determines whether JavaPowUpload should run in free mode.
In Free mode there is a lot of limitations:
- JavaScript interface (liveConnect) is disabled.
- Thumbnails generation and thumbnail view are disabled.
- File filter (files count , size limitations) can not be changed.
-
Common.ListArea.TabIcon - Url. Default value: /icons/upload_download_tree.png
Url to icon for uload/download tree tab.
-
Upload.FileSystemTree.TabIcon - Url. Default value: /icons/system_tree.png
Url to icon for file system tree tab.
-
Common.DetailsArea.Thumbnails.TabIcon - Url. Default value: /icons/view_thumb.png
Url to icon for thumnails view tab.
-
Common.DetailsArea.DetailView.TabIcon - Url. Default value: /icons/view_detail.png
Url to icon for details view tab.
-
Upload.ProgressArea.DownloadButton.Icon - Url. Default value: /icons/upload.png
Url to icon for upload button.
-
Download.ProgressArea.DownloadButton.Icon - Url. Default value: /icons/download.png
Url to icon for download button.
-
Upload.TopArea.BrowseButton.Icon - Url. Default value: /icons/add.png
Url to icon for browse button.
-
Download.TopArea.BrowseButton.Icon - Url. Default value: /icons/browse.png
Url to icon for browse button.
-
Upload.TopArea.RemoveButton.Icon - Url. Default value: /icons/remove.png
Url to icon for remove button.
-
Upload.TopArea.ClearButton.Icon - Url. Default value: /icons/clear.png
Url to icon for clear button.
-
Common.ProgressArea.DownloadButton.StopIcon - Url. Default value: /icons/cancel.png
Url to icon for cancel upload/download button.
-
Common.FinishUrl.Target - String. Default value: "_self"
Target to redirect Common.FinishUrl. The same as "target" parameter in html tag.
-
Common.PopupMenu.Rename.Visible - Boolean. Default value: true
Enable or disable rename context menu item.
-
Common.PopupMenu.Rename - String. Default value: Rename
Name of context menu item.
-
Common.RenameDialog.Message - String. Default value: Specify new name for file #FILENAME#
Rename dialog message string.
-
Common.RenameDialog.Caption - String. Default value: Rename file #FILENAME#
Rename dialog caption string.
-
Common.RenameDialog.NameLabel - String. Default value: New name
Rename dialog new name label string.
-
Common.RenameDialog.Ok - String. Default value: Ok
Rename dialog "ok" button label string.
-
Common.RenameDialog.Cancel - String. Default value: Cancel
Rename dialog "cancel" button label string.
-
Common.PopupMenu.AddFolder - String. Default value: Add folder to upload
Name of context menu item. This item displayed only when context menu called in "File system tree view".
-
Download.DefaultSavePath - String. Default value:
Path on user computer where files should be saved by default.
If empty last selected path used as default.
-
Upload.FileSystemTree.Visible - Boolean. Default value: false
Determine whether JavaPowUpload should display file system tree.
-
Upload.FileSystemTree.TabName - String. Default value: File system
Name of tab with file system tree.
-
Common.ListArea.TabName - String. Default value: Upload tree
Name of tab with upload tree. Tab displayed only if Upload.FileSystemTree.Visible parameter set to true.
-
Upload.FileSystemTree.ActiveByDefault - Boolean. Default value: true
Determine whether File system tree should be active by default.
-
Upload.FileSystemTree.RootName - String. Default value: My Computer
Name of root node in file system tree.
-
Common.PopupMenu.CheckAll - String. Default value: Check All
Name of context menu item. This item displayed only when context menu called in "Thumbnail view" and in "Detailed view".
-
Common.PopupMenu.UncheckAll - String. Default value: Uncheck all
Name of context menu item. This item displayed only when context menu called in "Thumbnail view" and in "Detailed view".
-
ErrorMessage.FtpLibraryNotInstalled - String. Default value: You can't use ftp upload/download functionality because commons.net.ftp library not installed on server. Please contact with server administrator.
Error message displayed when javaPowUpload can't load commons.net.ftp library.
-
Common.Ftp.ASCIIFilesList - String. Default value: ASP,BAT,C,CFM,CGI,CONF,CPP,CSS,DHTML,DIZ,H,HPP,HTM,HTML,INC,JS,MAK,NFO,PAS,PATCH,PHP,PHTML,PINERC,PL,QMAIL,SH,SHTML,SQL,TCL,TPL,TXT,VBS
List of ASCII file types (extension). For this files ASCII tranfer mode will be used.
-
Common.Ftp.ImplictSSL - Boolean. Default value: true
Determine whether JavaPowUpload should use implicit or explicit FTPS mode.
-
Common.Ftp.UTF8Encoding - Boolean. Default value: true
Determine whether JavaPowUpload should use UTF8 encoding for ftp connections.
- [CHANGED]
-
Default value of Upload.FileFilter.MaxFileCount parameter set to 2000.
-
Default value of Common.DetailsArea.StartupDeviderLocation set to 0.5
-
Default value of Common.ListArea.Row.File.Description.Visible set to false
-
Default value of Common.DetailsArea.FileDetails.Caption set to empty value
-
Default value of Common.DetailsArea.FileDetails.FilePathLabel changed to #FILEPATH#
-
Default value of Common.DetailsArea.FileDetails.BackLink changed to <<Back
-
Borders of all tabbed panes removed.
-
Optimized selection model: on right mouse button click, element under cursor is selected if it not in selection already.
-
Default themepack changed.
ver 1.1.1 (17.08.2009)
- [FUNCTIONALITY]
-
Save credentials on user computer in http,ftp upload mode and in ftp download mode.
-
For http download mode standard JAVA authenticator used.
-
Navigation through folders inside details panel.
-
Added Detailed view panel - display file list in table.
-
Ability edit image (rotate, crop) in file details panel, when single file selected.
- [FIXED]
-
Fixed issue in download mode. When applet runs under MAC OS download urls of some files truncated.
Bug report from Steve Bussetti :
The downloader is truncating my URLs and requesting the wrong file.
It appears to have something to do with the sum of the length of the urls in the batch.
For instance if I make my url's shorter the issue occurs later in the list of files, but if I make the path to my files longer, the issue occurs sooner and more frequently.
It seems to fail every 10th file or so and is reproducible every time.
-
Issue with file filter under MAC OS Safari browser.
Bug report from Joseph Devis : When we click the “AddFile” html button we call the “clickBrowse()” method on the applet, and select a file, then choose “OK”.
In Safari, this throws an exception.
-
Progress bar reset when all files removed from list.
-
Issue with getLength() method of UploadItem and DownloadItem classes when JavaPowUpload runs under Safari browser.
-
Issue with wrong Url in download mode.
-
Issue with wrong prgress information when user upload files, clear list and then try upload files again.
-
Some code optimizations.
- [ADDED]
-
Constants:
-
FILE_STATUS_SKIPPED - status set to UploadItem or DownloadItem when user select "Skip" in overwrite dialog.
-
Parameters:
-
Upload.FileListFromXMLDialog.Message=JavaPowUpload automatically add #FILESCOUNT# files for upload. Do you allow this operation?
-
Upload.FileListFromXMLDialog.Yes=Yes
-
Upload.FileListFromXMLDialog.No=No
-
Common.PopupMenu.Disable - Boolean. Default value: false
Enable/disable popup menu (on right mouse click).
-
Common.PopupMenu.DisableInListArea - Boolean. Default value: false
Determines wheher JavaPowUpload shold display popup menu in file tree or not.
-
Common.PopupMenu.DisableInThumbnailsView - Boolean. Default value: false
Determines wheher JavaPowUpload shold display popup menu in thumbnails view panel or not.
-
Common.PopupMenu.DisableInDetailView - Boolean. Default value: false
Determines wheher JavaPowUpload shold display popup menu in detailed view (table) panel or not.
-
Common.HiddenModeBackgroundImageUrl - URL. Default value: empty
Url to image file that should be displayed as background when applet runs in hidden mode.
Image is centered on applet content pane.
-
Upload.BrowseDialog.DetailsViewByDefault - Boolean. Default value: false;
Set details or list view by default in browse dialog.
-
Upload.BrowseDialog.ImagePreview.Visible - Boolean. Default value: true;
Determines whether javaPowUpload should display image preview in browse dialog.
-
Upload.BrowseDialog.ImagePreview.Width - integer. Default value: 150
Width of image preview panel.
-
Upload.BrowseDialog.ImagePreview.Height - integer. Default value: 150
Height of image preview panel.
-
Common.ListArea.DefaultExpandLevel - Integer. Default value: -1
Default expand level for files tree.
-
Common.DetailsArea.ShowRootFolder - Boolean. Default value: true
Determines whether JavaPowUpload should display root folder ([..] element) in thumbnails and detailed views.
-
Common.DetailsArea.ShowFolders - Boolean. Default value: true
Determines whether JavaPowUpload should display folders in thumbnails and detailed views.
-
Common.DetailsArea.DefaultActiveTab - String. Default value: Thumbnails
Determine wich tab is active by default. Valid values: thumbnails, detail.
-
Common.DetailsArea.DetailView.Visible - Boolean. Default value: true
Determines whether JavaPowUpload should display detailed view or not.
-
Common.DetailsArea.Thumbnails.TabName - String. Default value: Thumbnails
Name of tab with thumbnails list.
-
Common.DetailsArea.DetailView.TabName - String. Default value: Details
Name of tab with file details.
-
Common.DetailsArea.DetailView.Row.HeightWithThumbnail - Integer. Defaule value: 50
Height of table row when thumbnails column displayed.
-
Common.DetailsArea.DetailView.Row.HeightWithOutThumbnail - Integer. Defaule value: 20
Height of table row whithout thumbnails column.
-
Common.DetailsArea.DetailView.Columns.Name - String. Default value: Name
Header for column containing file/folder name.
-
Common.DetailsArea.DetailView.Columns.Size - String. Default value: Size
Header for column containing file/folder size.
-
Common.DetailsArea.DetailView.Columns.Date - String. Default value: Date
Header for column containing file date.
-
Common.DetailsArea.DetailView.Columns.Path - String. Default value: Path
Header for column containing full file path name.
-
Common.DetailsArea.DetailView.Columns.Check - String. Default value: Check
Header for column containing file/folder checkbox.
-
Common.DetailsArea.DetailView.Columns.Thumbnail - String. Default value: Thumbnail
Header for column containing file thumbnail.
-
Common.DetailsArea.DetailView.Columns.Status - String. Default value: Status
Header for column containing file upload/download status.
-
Common.DetailsArea.DetailView.ColumnsOrder - String. Default value: Check|Thumbnail|Name|Size|Date|Path|Status
String contain columns order. Delimiter is "|" symbol.
Available values:
Check
Thumbnail
Name
Size
Date
Path
Status
-
Common.DetailsArea.DetailView.ShowDetailsOnDoubleClick - Boolean. Default value: true
Deterime whether JavaPowUpload should show file details panel on double click.
-
Common.DetailsArea.DetailView.ShowToolTips - Boolean. Default value: true
Deterime whether JavaPowUpload should display tool tips for table rows.
-
Common.DetailsArea.FileDetails.BackLink - String. Default value: Back
Text for "back" link. Link navigate user to previous location (thumbnails or details view).
-
Common.DetailsArea.FileDetails.FolderNameLabel - String. Default value: Folder name: #FOLDERNAME#
Folder name pattern for detailed view tool tips.
-
Common.DetailsArea.FileDetails.FolderSizeLabel - String. Default value: Folder size: #FOLDERSIZE#
Folder size pattern for detailed view tool tips.
-
Common.DetailsArea.FileDetails.FolderFilesCount - String. Default value: Files count: #FILESCOUNT#
Files count pattern for detailed view tool tips.
-
Methods:
-
String UploadItem.getRemoteFileName() - return file name wich will be used to save file on remote FTP server.
-
void UploadItem.setRemoteFileName(String rName) - set file name wich will be used to save file on remote FTP server.
Parameters:
String rName - file name to save on rfemote FTP server.
Use "null" (without quotes) to reset remote file name and use original.
-
integer DownloadItem.getStatus()
-
integer UploadItem.getStatus() - return current file status:
Available values:
0 - Ready for processing. File was not uploaded/downloaded.
1 - File currently uploading/downloading.
2 - Upload/download was completed sucessfully.
3 - Upload/download was stopped.
4 - Error occured.
-
Events:
ver 1.1 (23.04.2009)
- [FUNCTIONALITY]
-
Commons-logging library updated to 1.1.1 version.
-
Added ability send Referer http header in http download/upload mode.
-
Ability to resize and crop image thumbnails.
-
Description text field for files. In upload mode user can set (click 3 times on file in tree) some description for files that will be posted to server.
In download mode description loaded from xml structure (description attribute of file tag).
- [FIXED]
-
setParam() function for Upload.FileFilter.Types parameter.
-
Error creating directories on some FTP servers in upload mode.
-
Error while getting form fields in different browsers.
-
Details area not cleared when JavaScript clearTree() method called.
-
Issue with proxy authentication. When browser proxy settings used
-
JavaPowUpLoad can't get (and ask for) credenetials.
-
Issue with sending form fields. JavaPowUpload skip all form fields after form field with empty value.
Bug description (by Gregory Teuscher): There are 5 form fields. The first 2 values are passed through to the page, but the 3rd
(which is a blank value), 4th, and 5th (which are not blank values) do not.
-
Exception in isOperonWin function, when aplet launch under Windows Vista x64.
-
Bug with JavaScript interface and FireFox under MAC OS.
-
Empty (with empty value) form fields (from html page) was not added to request.
-
Issue when JavaPowUpload was unable download files more 2 GB in size with HTTP protocol.
- [ADDED]
-
Methods:
-
setLogAreaText(String text) - set text in LoagArea.
-
UploadItem.getDescription()
-
UploadItem.setDescription() - set file description
-
DownloadItem.getDescription()
-
Parameters:
-
Upload.AutoStartOnFilesAdd - Boolean. Default value: false.
Deterime whether JavaPowUpload should start upload process automatically when user add files.
-
Upload.DragAndDrop.Enabled - Boolean. Default value: true.
Determine whether JavaPowUpload should use drag and drop feature in upload mode for adding files.
-
Upload.FileFilter.MultipleSelection - Boolean. Default value: true.
Determine whether JavaPowUpload should allow multiple file selection in browse dialog.
Note: if Upload.FileFilter.MaxFileCount parameter set to 1, then JavaPowUpload
automatically disable multiple selection in browse dialog.
-
Upload.HttpUpload.AcceptSelfSignedCertificates - Boolean. Default value: false
Deterimine wheter JavaPowUpload should accept self signed (not verified) ssl certificate.
-
Common.DetailsArea.ShowFileDetailsOnSingleFileSelection- Boolean. Default value: false
Determine whether JavaPowUpload should show file details when one file selected in tree (param set to true)
or show list with one cell (param set to false).
-
Common.DetailsArea.FileDetails.FileDescriptionLabel - String. Default value: File description: #FILESDESCRIPTION#
-
Common.ListArea.Row.File.Description.Visible - Boolean. Default value: true.
Deterime whether JavaPowUpload should show file description text field in file tree.
-
Common.ListArea.Row.File.Description.DefaultText - String. Default value: Put file description here.
Default string for file description text field. Note: default string not posted to server.
-
Upload.HttpUpload.FieldName.FileDescription - String. Default value: FileDescription_#COUNTER#
-
Upload.HttpUpload.FieldName.ThumbnailRotateAngle - String. Default value: ThumbnailRotateAngle_#COUNTER#
-
Upload.HttpUpload.FieldName.ThumbnailCropX - String. Default value: ThumbnailCropX_#COUNTER#
-
Upload.HttpUpload.FieldName.ThumbnailCropY - String. Default value: ThumbnailCropY_#COUNTER#
-
Upload.HttpUpload.FieldName.ThumbnailCropWidth - String. Default value: ThumbnailCropWidth_#COUNTER#
-
Upload.HttpUpload.FieldName.ThumbnailCropHeight - String. Default value: ThumbnailCropHeight_#COUNTER#
-
Upload.Thumbnails.GenerateOnAdd - Boolean. Default value: false
If set to true JavaPowUpload will generate image thumbnail for upload when images added, otherwise
thumbnails generated when upload process initiated.
-
Upload.Thumbnails.IncludeOriginalImageMetadata - Boolean. Default value: false;
Determine whether JavaPowUpload should write metadata from original image into created thumbnail.
-
Common.DetailsArea.Thumbnails.Cell.ShowEditPanel - Boolean. Default value: true
-
Common.DetailsArea.Thumbnails.Cell.RotateLeftIcon.Url - URL. Default value: empty
-
Common.DetailsArea.Thumbnails.Cell.RotateRightIcon.Url - URL. Default value: empty
-
Common.DetailsArea.Thumbnails.Cell.CropIcon.Url - URL. Default value: empty
-
Common.DetailsArea.Thumbnails.Cell.ResetCropIcon.Url - URL. Default value: empty
-
Common.DetailsArea.Thumbnails.Cell.CropRect.Color - Color. Default value: #000000
-
Common.DetailsArea.Thumbnails.Cell.CropRect.KeepAspectRatio - String. Default value: NO.
Determines whether shoul keep aspect ratio of crop rectangle or not.
Available values:
"NO" - aspect ratio not controlled
"ORIGINAL" - keep ascpect ratrio of original image.
"UPLOAD" - keep aspect ration of upload thumbnail. (Upload.Thumbnails.Height / Upload.Thumbnails.Width)
-
Common.DetailsArea.Thumbnails.Cell.CropIcon.Color - Color. Default value:#000000
-
Common.DetailsArea.Thumbnails.Cell.ResetCropIcon.Color - Color. Default value:#FF0000
-
Common.DetailsArea.Thumbnails.Cell.RotateLeftIcon.Color - Color. Default value:#000000
-
Common.DetailsArea.Thumbnails.Cell.RotateRightIcon.Color - Color. Default value:#000000
-
Common.DetailsArea.Thumbnails.Cell.RotateLeftIcon.ToolTipText - String. Default value: Rotate left
Tooltip text for rotate left icon.
-
Common.DetailsArea.Thumbnails.Cell.RotateRightIcon.ToolTipText - String. Default value: Rotate right
Tooltip text for rotate right icon.
-
Common.DetailsArea.Thumbnails.Cell.CropIcon.ToolTipText - String. Default value: Crop image
Tooltip text for crop icon.
-
Common.DetailsArea.Thumbnails.Cell.ResetCropIcon.ToolTipText - String. Default value: Undo crop operation
Tooltip text for undo crop icon.
-
Upload.FileFilter.IncludeSubDirectories - Bollean. Default value: true
Add subdirectories to file tree or not.
-
Upload.FileFilter.SelectionMode - String. Default value: FILES_AND_DIRS
Possible values:
"FILES" - user able select only files in browse dialog.
"DIRS" - user able select only directories in browse dialog
"FILES_AND_DIRS" - user able select files and folders.
-
Common.ResultUrl - URL. Default value: null;
Url to script on http server to wich upload/download results will be posted on completion.
-
Common.ResultUrl.FieldName.DestinationFolder String. Default value: DestinationFolder
Name of destination folder form field. Posted only on download mode.
-
Common.ResultUrl.FieldName.FilePath - String. Default value: FilePath_#COUNTER#
Name of file path for field. In download mode value is file download url, in upload mode - full file path.
-
Common.ResultUrl.FieldName.FileStatus - String. Default value: FileStatus_#COUNTER#
Name of file status form field.
Available values:
0 - Ready for processing. File was not uploaded/downloaded.
2 - Upload/download was completed sucessfully.
3 - Upload/download was stopped.
4 - Erropr occured.
-
Upload.HttpUpload.TestRequestMethod - String. Default value: Head
Wich http method used to perform test request to server.
Valid values: Head, Post.
-
Upload.HttpUpload.UserAgent - String. Default value: JavaPowUpload
HTTP User-Agent header value.
-
Upload.HttpUpload.Auth.UserName=
-
Upload.HttpUpload.Auth.Password=
-
Upload.HttpUpload.Auth.Domain=
-
To add files without extention use "without_extension" string as extension in
Upload.FileFilter.Types parameter.
Example:
jpg,without_extension
ver 1.0 (06.11.2008)
- [FUNCTIONALITY]
- Added image thumbnail upload feature.
- [FIXED]
-
JOptionPane UI not initialized properly when first call of showError function was from JavaScript.
-
Issues with Linux OS. Exception in function that check browser version.
-
Several issues with permissions fixed.
-
In download mode slow loading file list because of trying generate thumbnails of remote files.
-
Upload FTP mode. If JavaPowUpload can't create remote directory, file was uploaded to parent folder.
Fixed: error messages will be displayed.
-
Upload FTP mode. File, on wich error occured, was marked as sucessfully uploaded in some cases.
-
In upload FTP mode upload process was very slow, because connection (including login process)
to server was created for each file.
-
Some files was not uploaded if both of
Upload.HttpUpload.MaxFilesCountPerRequest
and Upload.HttpUpload.MaxFilesSizePerRequest set to some not default value.
-
Wrong unique ID generation algorithm. If 2 istance started at the same time, they may have equal ids.
Replaced with internal java function java.util.UUID.randomUUID().
-
If clickDownload method called twise, download/upload process stopped.
Same for clickStop method.
-
When files added to tree using JavaScript method clickBrowse(), skin look and feel was ignored for ned tree nodes.
Solved using AccessController class.
-
Download mode. When file length specified in Download.DataURL file not equal to file length on server,
progress bar have wrong value.
- [ADDED]
-
Methods:
-
getItem(int index)
-
getItem(String path)
-
Parameters:
-
Common.InternationalFile
-
Common.ListArea.Row.Progress.Visible - Show or not progress bar in tree on each file.
-
Download.OpenFolderOnCompletion - Boolean. Default value false.
Opens or not folder with downloaded files when download comnpleted.
Windows explorer used on windows OS and finder on MAC OS.
-
Common.DateTimeFormat - String. default value "yyyy.MM.dd HH:mm:ss"
Date Time format patter.Used at Common.ListArea.Row.File.Label and
-
Common.DetailsArea.FileDetails.FileLastModifiedLabel parameters
Letter Date or Time Component Presentation Examples
G Era designator Text AD
y Year Year 1996; 96
M Month in year Month July; Jul; 07
w Week in year Number 27
W Week in month Number 2
D Day in year Number 189
d Day in month Number 10
F Day of week in month Number 2
E Day in week Text Tuesday; Tue
a Am/pm marker Text PM
H Hour in day (0-23) Number 0
k Hour in day (1-24) Number 24
K Hour in am/pm (0-11) Number 0
h Hour in am/pm (1-12) Number 12
m Minute in hour Number 30
s Second in minute Number 55
S Millisecond Number 978
z Time zone General time zone Pacific Standard Time; PST; GMT-08:00
Z Time zone RFC 822 time zone -0800
-
New variables to Common.ListArea.Row.File.Label parameter
#FILELENGTH#
#FILEDATE#
-
Upload.Thumbnails.Height - long default value 500
Thumbnail image height. Propotionally changes to source image dimensions.
-
Upload.Thumbnails.Width - long default value 500
Thumbnail image width. Propotionally changes to source image dimensions.
-
Upload.Thumbnails.Upload - boolean default value false
Determine whether should javaPowUpload upload thumbnails to server or not.
-
Upload.Thumbnails.Format - String default value JPG
Image format of thumbnail.
Possible values is:
jpeg, JPEG, jpg, JPG, png, PNG, bmp, BMP
-
Upload.Thumbnails.FilePrefix - String, Defasult value is "thumbnail_".
This prfix will be added to the source image file name.
-
Upload.Thumbnails.UploadOriginalFile - boolean. default value is false.
determine whether should JavaPowUpload upload original image file to server or not.
-
Upload.HttpUpload.FieldName.ThumbnailFilePath - String. default value is ThumbnailPath_#COUNTER#
Used when HTTP upload with POST method mode used.
Pattern for file path (path in JavaPowUpload tree) field name
-
Upload.HttpUpload.FieldName.ThumbnailRealFilePath - String. default value isThumbnailRealFilePath_#COUNTER#
Used when HTTP upload with POST method mode used.
Pattern for real file (path on user machine) path field name.
-
Upload.HttpUpload.FieldName.ThumbnailFileSize - String. default value isThumbnailFileSize_#COUNTER#
Used when HTTP upload with POST method mode used.
Pattern for file size field name
-
Upload.HttpUpload.FieldName.ThumbnailFileMD5 - String. default value isThumbnailFileMD5_#COUNTER#
Used when HTTP upload with POST method mode used.
Pattern for file MD5 field name
-
Upload.HttpUpload.FieldName.ThumbnailFileIndex - String. default value isThumbnailFileIndex_#COUNTER#
Used when HTTP upload with POST method mode used.
Pattern for file index field name
-
Upload.HttpUpload.FieldName.ThumbnailBody - String. default value isThumbnailBody_#COUNTER#
Used when HTTP upload with POST method mode used.
Pattern for file body field name
-
Common.ProgressArea.StatusMessage.GenerateThumbnail - String. default value is : Adding file: #FILENAME# - generate thumbnail
Displayed on ControlPanel when user add files and thumbnail of image is generated.
-
Common.LogArea.StartupDeviderLocation
Common.DetailsArea.StartupDeviderLocation - a double-precision floating point value that specifies a percentage, from zero (top/left) to 1.0
(bottom/right)
Default value for both parameters is 1.0.
So, by default LogArea and DetailsArea are hidden.
ver 1.0 beta (02.11.2008)