[nycphp-talk] PHP and SFTP
Jon Baer
jonbaer at jonbaer.com
Thu Apr 19 15:55:36 EDT 2007
A good (maybe better) alternative is to use FUSE ssh bindings,
basically you mount your SSH as something like /mnt/ssh/server1/ and
read it as a normal file. fopen() or md5() check.
On some systems it's already there.
On Mac ... http://code.google.com/p/macfuse/
- Jon
On Apr 19, 2007, at 3:40 PM, Brian Dailey wrote:
> Have any of you guys had any experience doing sftp transfers with
> PHP? I need something fairly robust that allows me to confirm that
> the file did indeed arrive intact.
>
> I've looked into libssh2 (using ssh2.sftp:// wrapper) but I've had
> little luck with that. The next best thing I've found is being able
> to use a key to use ssh without entering a password (something I've
> done before, but not with PHP).
>
> I'm not asking for code or anything, just wondering if anyone else
> on the list has ever done this and perhaps if you could point me to
> any resources that were helpful when you were setting it up.
>
> --
>
> Thanks!
> - Brian Dailey
> New York, NY
> www.dailytechnology.net
> <support.vcf>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
More information about the talk
mailing list