Does anybody know of an easy way to upload files to a remote server using SFTP from within a Phing build? I cant seem to find a custom or native Phing task to do this. The other problem is the interactivity of the SFTP unix command (requiring a password after reaching host, etc.)
Any ideas?
Why not use
SCP(Secure Copy)? It’s directly supported by Phing (See the scp Task documentation ).For an overview of the differences, see this website…