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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -