Re: Using tsNet for sftp directory file listing

2016-11-01 Thread Skip Kimpel
Thanks Richard, 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. SKIP On Tue, Nov 1, 2016 at 2:31 PM, Richard Gaskin wrote: >

Re: Using tsNet for sftp directory file listing

2016-11-01 Thread Richard Gaskin
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

Re: Using tsNet for sftp directory file listing

2016-11-01 Thread Skip Kimpel
I am still struggling putting this code together correctly. Does anybody have any working examples of downloading a single file, via sftp protocol? I think I can work backwards from there. SKIP On Fri, Oct 28, 2016 at 10:52 PM, Charles Warwick < char...@techstrategies.com.au> wrote: > On

Re: Using tsNet for sftp directory file listing

2016-10-28 Thread Charles Warwick
On 29/10/2016 7:52 AM, Richard Gaskin wrote: Skip Kimpel wrote: > Can anybody guide me in getting a file listing from a remote > directory via SFTP connection? I currently have tsNet functioning > to make the connection and uploading / downloading an individual > file. However, I need to

Re: Using tsNet for sftp directory file listing

2016-10-28 Thread Richard Gaskin
PS: Among the many the reasons I've switched to HTTP-based APIs for most things with servers is that FTP is notoriously inconsistently implemented in terms of the info you'll get back from a directory listing. Sometimes it'll include the date, sometimes only the time. The cutoff determining

Re: Using tsNet for sftp directory file listing

2016-10-28 Thread Richard Gaskin
Skip Kimpel wrote: > Can anybody guide me in getting a file listing from a remote > directory via SFTP connection? I currently have tsNet functioning > to make the connection and uploading / downloading an individual > file. However, I need to retrieve a list of files sitting in a > directory.

Using tsNet for sftp directory file listing

2016-10-28 Thread Skip Kimpel
Can anybody guide me in getting a file listing from a remote directory via SFTP connection? I currently have tsNet functioning to make the connection and uploading / downloading an individual file. However, I need to retrieve a list of files sitting in a directory. As always, your input is