Can you cancel tsNet / AWSS3 requests?

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
Martin Koob
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 237
Joined: Sun May 27, 2007 8:19 pm

Can you cancel tsNet / AWSS3 requests?

Post by Martin Koob » Thu Jul 11, 2019 2:35 am

Hi


I am changing from using mergAWSS3 commands to using the new AWSS3 commands in LC 9.0.4.

I have two questions about how tsNet and the new AWSS3 commands work together

1. It seems I need to use tsNetGetStatus to monitor progress on uploads and downloads with AWSS3PutObject and AWSS3GetObject. If I use tsNetGetStatus do I have to call tsNetInit first? Does this just have to be called one time when the application opens or each time tsNetGetStatus is called?

2. In my application I used mergAWSS3Cancel to give the user the option to be able to cancel downloads or uploads that were taking too long or appeared to be stuck. I don’t see an equivalent in the AWSS3 commands nor in the tsNet commands. Is there a way to do this?

Thanks for any help.

Martin Koob

Post Reply

Return to “Internet”