Pinned Loading
-
List and download all files in a dir...
List and download all files in a directory through sftp with php / ssh2. In my example i use scandir to list the files and ssh2_scp_recv to grab a file. I've found a lot of examples using fopen to grab the remote file, that didn't work for me and i found the code below cleaner than the fopen option. For an example on how to do the same as my example through fopen: http://randomdrake.com/2012/02/08/listing-and-downloading-files-over-sftp-with-php-and-ssh2/ 1<?php
23$username = "your_username";
4$password = "your_pass";
5$url = 'your_stp_server_url';
-
passenger-ruby-heroku-demo
passenger-ruby-heroku-demo PublicForked from phusion/passenger-ruby-heroku-demo
Demonstrates running a Ruby app on Heroku with Phusion Passenger
Ruby
-
-
sanity
sanity PublicForked from withassociates/sanity
An automated sanity check, intended to catch common errors on production sites.
Ruby
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.