views:

67

answers:

1

Hello,

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?

+2  A: 

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...

ircmaxell
Looks like what I need. Thanks!
ubermensch