Checksum via FTP???
Roger Eller
roger.e.eller at sealedair.com
Sat Sep 10 15:53:39 EDT 2011
On Fri, Sep 9, 2011 at 10:28 PM, J. Landman Gay wrote:
> On 9/9/11 6:08 PM, Roger Eller wrote:
>
> Could I also do something like this: (I probably should try it)
>>
>> get URLencode(md5digest(URL ("ftp://user:pass@"& pFilePath))) ?
>>
>
> I get it now. I tried FTP file retrieval a while back and had variable
> luck, I think it depends on how your server is set up. The details have
> faded now, but I think I was able to retrieve files by FTP as long as they
> weren't in the web directory. If you can put your file outside of
> public_html on the server it might work.
>
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>
I am pleased as punch to report that THIS DOES WORK with an FTP path. It
sure beats having to compute and store the md5digest in a separate file for
each downloadable file on the server. Thanks for the suggestions.
get URLencode(md5digest(URL ("ftp://user:pass@" & pFilePath)))
˜Roger
More information about the use-livecode
mailing list