On 3/25/21 12:52 PM, J. Landman Gay via use-livecode wrote:
If I continue to use only "ftp" and "use_ssl" then it works but I am not sure whether the connection is actually encrypted or not.

Just to complete this little journey, I think I'm in business. I use "ftp" in the URL which defaults to port 21, and tsnet "use_ssl". The server response says: AUTH TLS OK. It also says an unidentified security scheme is not implemented but then goes ahead and uses SSL anyway. This is what came back:

Transfer complete with server response code 226
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 5 of 50 allowed.
220-Local time is now 14:57. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
500 This security scheme is not implemented
331 User <XXXX> OK. Password required
230 OK. Current restricted directory is /
200 PBSZ=0
200 Data protection level set to "private"
257 "/" is your current location
250 OK. Current directory is /public_html
250 OK. Current directory is /public_html/<xxx>
250 OK. Current directory is /public_html/<xxx>/<yyy>
229 Extended Passive mode OK (|||44775|)
200 TYPE is now 8-bit binary
150 Accepted data connection
226-File successfully transferred
226 0.140 seconds (measured here), 345.46 Kbytes per second

So my little upload tool, inspired by Andre's book, is now working and will save me maybe 5 seconds and three clicks about once a month. :) But there is some satisfaction in that.

As for using AppleScript, Fetch has removed AppleScript support in its latest release. The docs say it hopes to bring it back in the future. I suspect conflicts with Big Sur or something similar. But that's why I wasn't "authorized."

Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription 

Reply via email to