Alternatively, implement direct upload to S3 (see
https://devcenter.heroku.com/articles/s3 ).  There are also SaaS providers
that make it easy (but of course charge for the service).

Al


On Mon, Jun 10, 2013 at 2:15 PM, Peter Keen <[email protected]>wrote:

> Heroku's filesystems are read-write but ephemeral, meaning that when the
> dyno restarts the filesystem is wiped. This means that you can write it to
> a file in TMPDIR and then upload that file to S3 as part of the same
> controller action.
>
>
> On Mon, Jun 10, 2013 at 2:12 PM, josh <[email protected]> wrote:
>
>> Hi,
>>
>>
>>  I need to handle file uploads, which will then be saved to S3. It looks
>> like Node requires you write it locally first however. Can I make this work
>> on Heroku?
>>
>>
>> Thanks,
>>
>> Josh
>>
>>
>>
>>
>>
>>  --
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Heroku" group.
>>
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/heroku?hl=en_US?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Heroku Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> --
> You received this message because you are subscribed to the Google
> Groups "Heroku" group.
>
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en_US?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Heroku Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Finding a solution to a problem requires different thinking from that which
created the problem. - paraphrasing Albert Einstein

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Heroku Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to