JavaPowUpload 2.0
Funcionality Parameters
  Home page
Contact support

JavaPowUpload functinality parameters 

For information how to setup JavaPowUpload parameters see How to section.


Parameter name Type Desciption Default value
Common.SerialNumber long Serial number  
Common.UploadMode boolean Determines whether JDowload starts in upload or download mode  false
Common.PropertiesFile URL Url to properties file  
Common.InternationalFile URL Url to properties file with localized text. Have lowest priority.  
Common.UseLiveConnect boolean Determines whether JavaPowUpload will use Live Connect i.e communication between Java and the Java Script.  false
Common.JavaScriptEventsPrefix string Prefix for Java Script events JavaPowUpload_
Common.AutoStart boolean If enabled, download process will starts automatically.  false
Common.AllowEmptyFolders boolean 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. false
Common.WindowMode boolean Start JavaPowUpload in window mode or not false
Common.WindowMode.Width integer Window width. 300
Common.WindowMode.Height integer Window height. 300
Common.WindowMode.DefaultShowList boolean Show or not file list by default in window mode. false
Common.RunHidden boolean Determines whether JDowload starts in hidden or normal mode  false
Common.ShowErrorMessages boolean Show or not error message window true
Common.EventLogging boolean Determines wheter JavaPowUpload will log events. false
Common.BufferSize long Size of buffer, used by JavaPowUpload in all modes (ftp, http download/upload) 51200
Common.FinishUrl URL Url to page that will be loaded when upload/download process complete  
Common.FinishUrl.Target String Target to redirect Common.FinishUrl. The same as "target" parameter in html tag. _self
Common.ResultUrl URL Url to script on http server to wich upload/download results will be posted on completion. Script loaded by JavaPowUpload, not by browser.  
Common.ResultUrl.FieldName.DestinationFolder String Name of destination folder form field. Posted only on download mode. DestinationFolder
Common.ResultUrl.FieldName.FilePath String Name of file path for field. In download mode value is file download url, in upload mode - full file path. FilePath_#COUNTER#
Common.ResultUrl.FieldName.FileStatus String 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.
FileStatus_#COUNTER#
Common.RetryWhenConnectionLost boolean Determines whether javaPowUpload should wait for connection restore when it is lost or not. true
Common.RetryWhenConnectionLost.CheckInterval integer How ofter perform connection attempts when connection lost. Interval in seconds. 1
Common.RetryWhenConnectionLost.CheckTimeout integer How long JavaPowUpload should wait for connection restore. Within specified period (in seconds) JavaPowUpload will perform connection attempts. 600
Common.FtpPassiveTransferMode boolean Use or not ftp passive mode true
Common.Ftp.ImplictSSL boolean Determine whether JavaPowUpload should use implicit or explicit FTPS mode. true
Common.Ftp.UTF8Encoding boolean Determine whether JavaPowUpload should use UTF8 encoding for ftp connections. If set to false user system encoding will be used. true
Common.Ftp.ASCIIFilesList String List of ASCII file types (extensions). For this files ASCII transfer mode will be used. 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
Common.ItemProgressEventTimeout integer Interval to update progress information on file node 500
Common.ProgressRefreshTimeout integer Interval to update status information and total progress bar 250
Common.NoPermissionsUrl URL Url to page than loaded when applet not signed or user did not accept certificate  

Download functionality parameters 

Parameter name Type Desciption Default value
Download.DataURL URL

Url to xml file with folder structure for download. See how to section for details.

 
Download.DefaultSavePath String Path on user computer where files should be saved by default. If empty last selected path used as default.
Download.AllowCheckFiles boolean Determines whether user allowed select files for download true
Download.CheckFileLengthAtStartup boolean Determines whether JavaPowUpload will check files length from server at startup (only Download mode) false
Download.OpenFolderOnCompletion boolean Determines whether JavaPowUpload should open folder with downloaded files when download comnpleted or not.
Windows explorer used on windows OS and Finder on MAC OS.
false
Download.UseHeadMethodToGetFileLength boolean Determines whether JavaPowUpload should use HTTP HEAD method to get file length in HTTP download mode false
Download.TotalLength long Specify total files length in download mode  

Upload functionality parameters 

Parameter name Type Desciption Default value
Upload.UploadUrl URL url to file receiving script in http upload mode or to ftp folder in ftp upload mode.
Valid protocols is ftp, http, https.
 
Upload.DragAndDrop.Enabled Bollean Determine whether JavaPowUpload should use drag and drop feature in upload mode for adding files. true
Upload.AutoStartOnFilesAdd Bollean Deterime whether JavaPowUpload should start upload process automatically when user add files. false
Upload.FileFilter.MaxFileSize long Maximum file size each allowed for upload in bytes. -1
Upload.FileFilter.MaxFileCount long Maximum number of files allowed for upload. -1
Upload.FileFilter.MaxFileTotalSize long Maximum total files size allowed for upload in bytes. -1
Upload.FileFilter.Types string An array of file types used to filter the files displayed in the dialog box. To allow files without extention use "without_extension" string as extension
Example:
fileFilter.Types=jpeg,jpg,giff
 
Upload.FileFilter.Description string File filter description. Description will look like : fileFilterDescription+fileFilterDescription.FileSizeLimit Allowed files 
Upload.FileFilter.Description.FileSizeLimit string File size limit string pattern.
Added to the and of fileFilter.Description parameter
(file size limit: #MAXFILESIZE#)
Upload.FileFilter.MultipleSelection Bollean 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.
true
Upload.FileFilter.IncludeSubDirectories Bollean Determines whether JavaPowUpload should add subdirectories to file tree or not. true
Upload.FileFilter.SelectionMode String 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.
FILES_AND_DIRS
Upload.Thumbnails.Upload boolean Determine whether JavaPowUpload should upload thumbnails to server or not. false
Upload.Thumbnails.UploadOriginalFile boolean determine whether JavaPowUpload should upload original image file to server or not. false
Upload.Thumbnails.Height long Thumbnail image height. Propotionally changes to source image dimensions. 500
Upload.Thumbnails.Width long Thumbnail image width. Propotionally changes to source image dimensions. 500
Upload.Thumbnails.Format string Image format of thumbnail.
Possible values is: jpeg, JPEG, jpg, JPG, png, PNG, bmp, BMP
JPG
Upload.Thumbnails.FilePrefix string This prfix will be added to the source image file name.
Upload.Thumbnails.GenerateOnAdd boolean If set to true JavaPowUpload will generate image thumbnail for upload when images added, otherwise thumbnails generated when upload process initiated. false
Upload.Thumbnails.IncludeOriginalImageMetadata boolean Determine whether JavaPowUpload should write metadata from original image into newly created thumbnail. false
Upload.Thumbnails.Watermark.Enabled boolean Deterimes whether JavaPowUpload should add watermark to thumbnails.
Watermark add only to uploaded thumbnail and not visible in DetailsArea preview.
false
Upload.Thumbnails.Watermark.ImageUrl URL Url to image which should be used as watermark.  
Upload.Thumbnails.Watermark.Position String Available values: Top.Left, Top.Center, Top.Right, Center.Left, Center.Center, Center.Right, Bottom.Left, Bottom.Center, Bottom.Right Bottom.Right
Upload.Thumbnails.Watermark.Alpha float Watermark transparency. 0.0 - fully transparent, 1.0 - fully opaque. 0.6
Upload.Thumbnails.Watermark.Text String Watermark text. Used only if Upload.Thumbnails.Watermark.ImageUrl parameter not set, or can not be loaded.  
Upload.Thumbnails.Watermark.TextColor Color Watermark text color. #FF0000
Upload.Thumbnails.Watermark.FontName String Watermark text font. Arial
Upload.Thumbnails.Watermark.FontStyle Integer Watermark text style.
Font style: 0–plain, 1-bold, 2-itallic
1
Upload.Thumbnails.Watermark.FontSize Integer Watermark text size. 18
Upload.HttpUpload.ConnectionTimeOut integer Http connection timeout 1000
Upload.HttpUpload.UserAgent String HTTP User-Agent header value JavaPowUpload
Upload.HttpUpload.TestRequestMethod String Detremine wich http method used to perform test request to server. Valid values: Head, Post. Head
Upload.HttpUpload.FormName string Name of html form wich values will be automatically added to request headers, post fields or to query string.
Upload.HttpUpload.CustomHeaders string Array of custom header names and values that will be added to request separated by ;
Example:
headerName1=value1;headerName2=value2
 
Upload.HttpUpload.CustomPostFields string Array of custom fields and values that will be added to request separated by ;
Example:
filedName1=value1;FieldName2=value2
 
Upload.HttpUpload.SendBrowserCookie boolean Determines whether JavaPowUpload will send browser cookies true
Upload.HttpUpload.ExpectContinueHeader boolean Determines whether JavaPowUpload will include Except: 100 Continue header true
Upload.HttpUpload.ChunkedUpload.Enabled boolean 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). false
Upload.HttpUpload.ChunkedUpload.ChunkSize integer Size of chunk in bytes. If set to -1 , JavaPowUpload will automatically increase chunk size to optimal value. -1
Upload.HttpUpload.ChunkedUpload.MaxChunkSize integer 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 . 2097152
Upload.HttpUpload.SendFileMD5 boolean Determines whther JavaPowUpload will send MD5 hash of file.  false
Upload.HttpUpload.HeadersPrefix string Prefix of http xtra headers ElementIT
Upload.HttpUpload.MaxFilesCountPerRequest integer How many files JavaPowUpload will send in one request -1
Upload.HttpUpload.MaxFilesSizePerRequest long Maximum size of files (e.q. request size) -1
Upload.HttpUpload.JavaPowUploadIDHeader string Name of JavaPowUpload ID header X-JavaPowUploadID
Upload.HttpUpload.AcceptSelfSignedCertificates boolean Deterimine wheter JavaPowUpload should accept self signed (not verified) ssl certificate. false
Upload.HttpUpload.AddFormValuesToPostFields boolean Determines whether JavaPowUpload will add form (specified by HttpUpload.FormName parameter) values to request post fields. true
Upload.HttpUpload.AddFormValuesToQueryString boolean Determines whether JavaPowUpload will add form (specified by HttpUpload.FormName parameter) values to request query string. false
Upload.HttpUpload.AddFormValuesToHeaders boolean Determines whether JavaPowUpload will add form (specified by HttpUpload.FormName parameter) values to request headers. false
Upload.HttpUpload.FieldName.ThumbnailFilePath string Used when files uploaded with HTTP POST method. Pattern for file path (path in JavaPowUpload tree) field name ThumbnailPath_#COUNTER#
Upload.HttpUpload.FieldName.ThumbnailRealFilePath string Used when files uploaded with HTTP POST method. Pattern for real file (path on user machine) path field name. ThumbnailRealFilePath_#COUNTER#
Upload.HttpUpload.FieldName.ThumbnailFileSize string Used when files uploaded with HTTP POST method. Pattern for file size field name. ThumbnailFileSize_#COUNTER#
Upload.HttpUpload.FieldName.ThumbnailFileMD5 string Used when files uploaded with HTTP POST method. Pattern for file MD5 field name. ThumbnailFileMD5_#COUNTER#
Upload.HttpUpload.FieldName.ThumbnailFileIndex string Used when files uploaded with HTTP POST method. Pattern for file index field name. ThumbnailFileIndex_#COUNTER#
Upload.HttpUpload.FieldName.ThumbnailBody string Used when files uploaded with HTTP POST method. Pattern for file body field name ThumbnailBody_#COUNTER#
Upload.HttpUpload.FieldName.ThumbnailRotateAngle string Pattern for image rotation angle field name ThumbnailRotateAngle_#COUNTER#
Upload.HttpUpload.FieldName.ThumbnailCropX string Pattern for field name that contain x coordinate of crop rectangle. ThumbnailCropX_#COUNTER#
Upload.HttpUpload.FieldName.ThumbnailCropY string Pattern for field name that contain y coordinate of crop rectangle. ThumbnailCropY_#COUNTER#
Upload.HttpUpload.FieldName.ThumbnailCropWidth string Pattern for field name that contain width of crop rectangle. ThumbnailCropWidth_#COUNTER#
Upload.HttpUpload.FieldName.ThumbnailCropHeight string Pattern for field name that contain height of crop rectangle. ThumbnailCropHeight_#COUNTER#
Upload.HttpUpload.FieldName.FilePath string Pattern for file path (path in JavaPowUpload tree) field name FilePath_#COUNTER#
Upload.HttpUpload.FieldName.RealFilePath string Pattern for real file (path on user machine) path field name. RealFilePath_#COUNTER#
Upload.HttpUpload.FieldName.FileSize string Pattern for file size field name FileSize_#COUNTER#
Upload.HttpUpload.FieldName.FileMD5 string Pattern for file MD5 field name FileMD5_#COUNTER#
Upload.HttpUpload.FieldName.FileLastModified string Pattern for last modified field name FileLastModified_#COUNTER#
Upload.HttpUpload.FieldName.FileIndex string Pattern for file index field name FileIndex_#COUNTER#
Upload.HttpUpload.FieldName.FileBody string Pattern for file body field name FileBody_#COUNTER#
Upload.HttpUpload.FieldName.FileDescription string Pattern for file description field name FileDescription_#COUNTER#
Upload.HttpUpload.FieldName.FileCustomPostField string Pattern for name of post fields specified for individual files (UploadItem object).#FIELDNAME# - name of form field. #COUNTER# - file counter i nrequest. #FIELDNAME#_#COUNTER#
Upload.HttpUpload.FieldName.EmptyFolder string Form field name pattern for empty folders. #COUNTER# is own counter of empty folders started from 0. EmptyFolder_#COUNTER#