- Parameters -

Here is the list and the meaning of the SCP related parameters. All others parameters such as zip-on-fly, retry on failure, internationalization are availble in JFileUpload documentation.

SCP regular parameters
Parameter Description and sample
url This parameter is the full url to your SCP server. It must start with scp:// followed by hostname and optionally SCP port (default is 22). For instance, if your SCP runs on yourdomain.com with port 8022 then url parameter must be:
<PARAM NAME="url" VALUE="scp://yourdomain.com:8022">
username This parameter is the SSH login. See security section in FAQ to learn how to hide or encrypt it. This parameter is available as both regular and extra parameter.
password This parameter is the SSH password. See security section in FAQ to learn how to hide or encrypt it. This parameter is available as both regular and extra parameter.

Here is the list and the meaning of the SCP related extra parameters.

SCP extra parameters
Parameter Description and sample
accountpwd This parameter is mandatory. It allow getting initial remote folder.
<PARAM NAME="param3" VALUE="accountpwd">
<PARAM NAME="value3" VALUE="true">
account This parameter is an optional remote folder (relative to initial remote folder). For instance, if initial remote folder is /home/user1 and then you need to upload to /home/user1/test then define:
<PARAM NAME="param4" VALUE="account">
<PARAM NAME="value4" VALUE="/test">
keyfile This parameter is an optional SSH private key file. It must be available on end-user local file system (i.e. not downloaded by applet). For instance,
<PARAM NAME="param5" VALUE="keyfile">
<PARAM NAME="value5" VALUE="file:///c:/secure/privatekey_rsa.txt">
Notice that password regular parameter above applies to keyfile.


Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
All other company and/or product names are the property of their respective owners.