Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploading Fails using filestack-php #36

Open
not-original opened this issue Jun 10, 2018 · 0 comments
Open

Uploading Fails using filestack-php #36

not-original opened this issue Jun 10, 2018 · 0 comments

Comments

@not-original
Copy link

Installed with Composer

Using the following code, results in:
Errored uploading to s3503



require("../../../vendor/autoload.php");
use Filestack\FilestackClient;
use Filestack\Filelink;
use Filestack\FilestackException;

$filepath="../../../Docs/12.spring.clinic.assignments.xlsx";
$client = new FilestackClient('************');
try {
    $filelink = $client->upload($filepath);
    var_dump($filelink);
} catch (FilestackException $e) {
    echo $e->getMessage();
    echo $e->getCode();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant