Does anyone have any experience of doing FTP over TLS in TCL?
I was naively hoping, when I saw no mention of it in the ftp package docs
or wiki page, that it may be as easy as just changing [socket] calls in the ftp package code for ::tls::socket but (with verbose and debug options in
the ftp package set) I'm just getting error messages:
Mike Griffiths <mi...@keyboardzombie.com> wrote:Hi Andreas,
Does anyone have any experience of doing FTP over TLS in TCL?ftp is a rather "complicated" protocol, involving separate connections
for transfer of directory listings or files.
There exist some approaches to wrap that with tls channels, but I must
admit I'm not very experienced with those. My feeling is, that at
very least, you need to make sure to switch "passive" mode off (or was
it on, anyway, be sure to try both ways!)
The "wrong" one of these "passive" settings would require the ftp-server
to open a connection back to you, which pretty surely wouldn't work.
Most likely it would be best to find some other alternative like
"sftp", which is based on ssh and entirely different.
I was naively hoping, when I saw no mention of it in the ftp package docs or wiki page, that it may be as easy as just changing [socket] calls in theAlso, be sure that also the secondary connection (which for correct passive-mode setting would originate from the client) also gets
ftp package code for ::tls::socket but (with verbose and debug options in the ftp package set) I'm just getting error messages:
tls-wrapped.
TclCurlHi Greg,
https://wiki.tcl-lang.org/page/TclCurl
Tcl binding for libcurl, a library for accessing internet resources of various types. Supports FTP, FTPS, , SFTP etc..
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 307 |
Nodes: | 16 (2 / 14) |
Uptime: | 67:40:31 |
Calls: | 6,915 |
Files: | 12,379 |
Messages: | 5,431,813 |