Using tsNet for sftp directory file listing
skiplondon at gmail.com
Tue Nov 1 21:32:05 CET 2016
This whole tsNet thing has got me all turned around. Of course the example
you gave works... I am just trying to figure out how this is all aligning
with the future of secured sockets.
On Tue, Nov 1, 2016 at 2:31 PM, Richard Gaskin <ambassador at fourthworld.com>
> Skip Kimpel wrote:
> > On 29/10/2016 7:52 AM, Richard Gaskin wrote:
> >> It's been a while since I've used FTP, but IIRC in previous versions
> >> you could just use "get" on a directory and it'll return the file
> >> list (note that the trailing "/" is important to let libURL know
> >> it's dealing with a directory):
> >> get url "ftp://name:pass@server/folder/"
> > I am still struggling putting this code together correctly. Does
> > anybody have any working examples of downloading a single file, via
> > sftp protocol?
> The example I gave earlier was for your request to obtain a list of files.
> To download a single file it should be as easy as just using the full path
> to the file on the server, and changing "ftp" to "sftp":
> get url ("sftp://name:password@server/folder/file.dat")
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> Ambassador at FourthWorld.com http://www.FourthWorld.com
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode