On Thu, Mar 10, 2011 at 3:34 AM, Mats <[email protected]> wrote:

> I need to upload a file to an external Server which only support sftp.
> I know that in old CF8 sftp was sortof supported in the CFFTP using
> the parameter secure and a fingerprint. I don't see this in the
> OpenBD's CFFTP.
>

Right, SFTP is not currently supported in the CFFTP tag.


> Has anyone trying this or solved it using a Java library like Jscape's
> sftp Library or Zehon's sftp. If so any sample on how to do/go ahead?
>

Bit of a howto here:
http://stackoverflow.com/questions/14617/java-what-is-the-best-way-to-sftp-a-file-from-a-server

Haven't tested but that should all work from the <cfscript lang="java">
stuff in the nightlies (http://alan.blog-city.com/cfscript_java.htm) or you
could instantiate the Java objects in CFML and go from there.

I don't believe there's already a ticket for SFTP support in CFFTP so if you
could add an enhancement request that would be much appreciated:
http://code.google.com/p/openbluedragon/issues/entry

Thanks.
-- 
Matthew Woodward
[email protected]
http://blog.mattwoodward.com
identi.ca / Twitter: @mpwoodward

Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

-- 
official tag/function reference: http://openbd.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to