Checksum via FTP???

J. Landman Gay jacque at hyperactivesw.com
Fri Sep 9 17:38:48 EDT 2011


On 9/9/11 11:27 AM, Roger Eller wrote:
> The following function was posted on the old Use-Revolution list.  I was
> wondering how to do the same after downloading a file via FTP.  The server
> ONLY has an FTP connection, no SMB/CIFS.
>
> -- by Chipp Walters (4/27/2007 on Rev List)
> function getChecksum pFilePath
>      if there is not a file pFilePath then return ""
>      return URLencode(md5digest(URL ("binfile:"&  pFilePath)))
> end getChecksum

This reads a file on disk, so it shouldn't matter how the file got there.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list