Internet file transfer
Richard Miller
wow at together.net
Sun Jun 26 19:40:49 EDT 2005
This is the kind of feedback I'm really looking for. Very useful.
Thanks.
Richard
On Jun 26, 2005, at 7:08 PM, Sarah Reichelt wrote:
>> Our software needs to transfer 1-2 MB files to and from a dedicated
>> server on a regular basis (generally 5-10 times per hour for any
>> given user). The connection is always via DSL or cable modem, but
>> reliability is still critical. If a file transfer should be
>> interrupted for any reason and not complete, we need to know this and
>> restart it repeatedly until it's successful.
>
> I use libURLftpUploadFile with a callback message for when the upload
> is finished and a repeated handler to check the URLstatus.
>
> When finished, I get the FTP directory listing and compare the size of
> the uploaded file to the size locally and if they are not the same, or
> if the URLstatus ever contained the word "error", then I know
> something has gone wrong and I need to try again.
>
> HTH,
> Sarah
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list