Hi David,

I created a feature request a few years ago 
(http://forums.4d.fr/Post/EN/13706008/1/13706009#13706009) because I was in the 
same situation you are and turned to php as well. Only I was doing a SHA1 
instead of MD5. Anyway, the thing I was running into wasn’t a file size limit 
but a time limit. PHP calls error out after 30 seconds which wasn’t enough time 
to compute the SHA1 on the size of files I was working with.

I just mention it in case this is what is happening to you as well.

--
Cannon Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236
<can...@synergyfarmsolutions.com>
<www.synergyfarmsolutions.com>


> On Oct 19, 2016, at 10:05 PM, David Belote <dbel...@transformatic.com> wrote:
> 
> I solved my MD5 large file issue using PHP, but I would still like to know 
> the input file size limits of the Generate digest command.
> 
> Using 4D’s PHP Execute, I generated an MD5 checksum on the same 687.7 MB 
> movie file that the 4D Generate digest failed on due to not enough memory.  
> 
> Following is the code that I used (taken from the example in the PHP modules 
> support in the 4D PHP documentation.
> 
> C_TEXT($md5Result)
> $ok:=PHP Execute("";"md5";$md5Result;$AbsolutePath)
> 

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to