- FAQ -


Basic setup
  • What do I need to run SFTP ?
    You need Java (JRE 1.4 or higher) installed on client-side and JFileUpload installed.
  • How to setup SFTP ?
    SFTP package includes a sample file (applet_sftp.js) for upload. Edit and modify parameters in this file (url, username and password) matching to your server.
  • What SFTP server are supported ?
    It should work with any SFTP server with SSHv2 and SFTP v0, v1, v2 and v3. We've successfully tested it with Core FTP server, Titan FTP server and PURE FTPd server.
  • How to enable resume ?
    Add the following parameter:
    <PARAM NAME="resume" VALUE="true">
  • I get invalid credentials error ?
    Make sure that url, username and password are correct. Test your SFTP connection with a regular SFTP client such as FileZilla.
  • How to modify colors and buttons of the UI ?
    You have setup resources parameter and modify a i18n.properties text file. A tutorial is available here. <PARAM NAME="resources" VALUE="i18n">
Advanced setup
  • How to use SFTP with JDiskExplorer ?
    1 - Start from your existing JDiskExplorer already setup for a FTP server.
    2 - Copy sftpimpl.jar and jsch.jar into the lib/ folder with others JAR files.
    3 - Append ,lib/sftpimpl.jar,lib/jsch.jar to all ARCHIVE parameters in the JDiskExplorer explorer JavaScript.
    4 - Update url parameter to have something like sftp://yourserver.com
    5 - Update username and password if required.
    There is a ready-to-use applet_sftp_explorer.js JavaScript in samples/ folder.
  • How to use SFTP with JBatchUpload ?
    Same answer as question above, just replace JDiskExploxer word by JBatchUpload.
  • How to use SFTP with JImageUpload ?
    Same answer as first question above, just replace JDiskExploxer word by JImageUpload.
  • How to setup an initial folder where files will be uploaded ?
    Setup account extra parameter such as:
    <PARAM NAME="param7" VALUE="account">
    <PARAM NAME="value7" VALUE="yourremotefolder">
  • How to upload files, folders and subfolders ?
    Add the following parameters:
    <PARAM NAME="folderdepth" VALUE="-1">
    <PARAM NAME="param6" VALUE="relativefilename">
    <PARAM NAME="value6" VALUE="true">
Security
  • How to prompt for SSH login/password ?
    Remove all username and password parameters in the JavaScript and add the authentication parameter:
    <PARAM NAME="authentication" VALUE="auto">
  • How to not pass the plain login/password in JavaScript ?
    You can move username and password in i18n.properties. You can also BASE64 encode them. See JFileUpload FAQ to see how to proceed. Since 2.3 encryption is available for username and password, we can encrypt your credentials upon request to our support team.
  • How SFTP is secure ?
    SFTP stands for SSH File Transfer Protocol. Security comes from SSH which rely on encrypted communication with the server.
Others
  • Can I use SFTP Pro with JFileUpload Enterprise ?
    No, SFTP Pro works with JFileUpload Pro only. SFTP Enterprise requires JFileUpload Enterprise or Premium.

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.