tsNet docs?

Charles Warwick charles at techstrategies.com.au
Tue Apr 4 16:18:16 EDT 2017


Hi Richard,

Thanks for the bug report, I'll check that out soon.

Just briefly though, tsNet also provides the feature to automatically create missing directories when uploading a file.  If you look in the dictionary for the tsNet commands, you should be able to see a command to turned that feature off if you wish to.

Thanks,
    
Charles

-- Sent from my iPhone

On 5 Apr 2017 at 03:28:19 AEST, Richard Gaskin via use-livecode <use-livecode at lists.runrev.com> wrote:
    
Hello Charles -

Since I wrote my earlier post v8.1.4rc1 has been released, so I tried there with better results for some things, and noted all of my findings with both v9 and v8.1.4 for both SFTP and FTPS here:
http://quality.livecode.com/show_bug.cgi?id=19525

Question:  libURL has a VERY convenient feature in which if you're uploading to a path that includes a folder that doesn't yet exist, it'll create that folder for you.

If tsNet doesn't provide that, is there any better method for doing that than obtaining a list of directories for even folder level and explicitly creating one if not found?

I can write code for that, and probably cache results as I go to minimize the number of times I need to do that, but it would sure be more convenient to discover that there's some means of getting that libURL convenience in tsNet.

Thanks -

--   Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com


Earlier I wrote:
 > Charles Warwick wrote:
 >
 >  > Hi Richard,
 >  >
 >  > I think I am noticing a potentially related bug when an invalid
 >  > path is used in the SFTP transfer - I am looking into it now.
 >  >
 >  > Can you confirm that you are using the complete path for the
 >  > destination path in the URL?  Unlike FTP, SFTP paths are not
 >  > relative to the user's home directory.
 >
 > I would love to, but back on my main machine here this morning I
 > downloaded a fresh copy of the sample stack from the URL I'd used before:
 > <https://downloads.techstrategies.com.au/tsnet/sample_sync_stack.livecode>
 >
 > ...and I'm back to the "Unlicensed" error. :(
 >
 > I'm running LC v9dp76 Indy on Ubuntu 14.04.
 >
 > --
 >   Richard Gaskin



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





More information about the use-livecode mailing list