Hi Richard,

Firstly my apologies on the lack of documentation, it is definitely on my todo list and I am working on some Livecode lessons for tsNet at the moment.

I have just double checked that stack and noticed that the call to tsNetUploadSync is using the wrong syntax (it changed at one point) which could be causing you issues.

An updated version is now available at that same URL with the corrected the syntax for that call and another button so that there are now examples for both uploading via SFTP and FTPS.

These should work correctly on Indy and I have confirmed that here. Are you by any chance trying to use the tsNetUploadFileSync command instead of tsNetUploadSync?

If so, these are only supported in the business edition if you are trying to use SFTP.

Regards,

Charles


On 2/04/2017 10:54 AM, Richard Gaskin via use-livecode wrote:
I finally got around to playing with tsNet, but I can't find docs, just sparse Dict entries.

I'd like to test uploading a file via SFTP and also FTPS, synchronous preferred in this case.

After hunting around via Google I manage to turn up this stack from a blog post: <https://downloads.techstrategies.com.au/tsnet/sample_sync_stack.livecode>

But when I run a modified version of the "SFTP Upload example" button I get an error complaining about it being unlicensed.

I'm using Indy, and I believe synchonrous upload vis SFTP is supported with Indy, no?

Anyone here have a concise example of synchronous uploading via tsNet?



_______________________________________________
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