Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed example

  • Loading branch information...
commit cb8caef2b4cd4886330ae1629fbcfcfd1223fbd4 1 parent b186cbc
@dominikgehl dominikgehl authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples.php
View
4 examples.php
@@ -52,8 +52,8 @@
$saveToDir = dirname(__FILE__)."/".mt_rand(100,999);
mkdir($saveToDir);
-echo "\nDownloading all attachments matching 'proposal'\n";
-$args = array('name'=>'creenshot');
+echo "\nDownloading all attachments matching 'creenshot'\n";
+$args = array('file_name'=>'creenshot');
$r = $contextIO->listFiles($accountId, $args);
foreach ($r->getData() as $attachment) {
echo "Downloading attachment '".$attachment['file_name']."' to $saveToDir ... ";
Please sign in to comment.
Something went wrong with that request. Please try again.