coldfusion - RAILO with sftp -
railo support sftp mapping can use cffile tag various operation, more information @ https://github.com/getrailo/railo/wiki/railo-resources#mappings
i can create mapping like
this.mappings["/ftpdir"] = "ftp://username:password@server.com/dir";
and work fine me copy/moving etc. issue in case want use sftp instead of ftp should change in mapping.
update have notice in sftp using port 22 same have tried supplied in ftp path below
this.mappings["/ftpdir"] = "ftp://username:password@server.com:22/dir";
but doesn't work. railo tried search directory in local computer instead of ftp server.
thanks, pritesh
if want use sftp instead of ftp, change protocol in url sftp://.
i not think need specify port 22 explicitly. it's defuault ssh/sftp.
Comments
Post a Comment