Third Light Developer Exchange

Code and templating community forum for developers and software integrators

You are not logged in.

Announcement

If you wish to join the Developer Exchange, please contact your account manager - this is to avoid unnecessary spam in the forums. Many thanks for your understanding.

#1 2014-05-09 17:51:13

ttham
Member
Registered: 2013-11-18
Posts: 2

Upload API

Trying to figure out why we can not get any files larger than 50MB to upload.
Here is our PHP info
http://upload.moonrocktech.com/info.php

http://upload.moonrocktech.com/upload.php

Is there a special PHP settings?

Thanks in advance.

Offline

#2 2014-05-09 18:06:06

steve
Third Light Staff
Registered: 2013-06-06
Posts: 105

Re: Upload API

Hi Tom,

When testing the upload we see that it takes over a minute before the error is seem. Note that the call to CreateUpload() in the example posted on https://secure.thirdlight.com/developer … .php?id=17 contains an argument 'lifetime' which is set to 60.

To quote from the API docs:
int lifetime: The time in seconds to wait before automatically processing the upload. Valid range is 60 - 86400 (1 minute - 1 day). Default is 1 hour.

Try setting it to a bigger value such as 3600.

You probably would not have seen the problem on a faster network but in this case raising the threshold is likely to be the way to go.

Offline

#3 2014-05-09 21:17:47

ttham
Member
Registered: 2013-11-18
Posts: 2

Re: Upload API

that worked.

Offline

Board footer