I'm very interested in jFileDownload's SCP capability for an PHP application.

I want to feed the applet with username, password, file path and filename from a javascript function on this php app. To understand the scenario:

The PHP frontend will take uploads and copy those files via scp to the storage server, will save path and filename of this specific upload in a PostgreSQL DB. Then, from the PHP frontend I will generate links for these files that has been uploaded. From each link, on onClick event, it will read a javascript function that invokes scp file copy, that copies that specific file from the storage server.

By now all the examples were on upload files with SCP and download with http or sftp/ftp protocol. I don't need any interface but the file destination folder choose to save the file on local filesystem, the app will provide the username and password via SESSION and the path and filename via DB.

Sitemap | Privacy Statement | 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.