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         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to