Your best friend for file transfer.

TLS / SSL Authentication from a script (3 posts)
- Started 6 years ago by Jim Brandt
- Latest reply 6 years ago from Jim Matthews
-
Jim Brandt Member
-
Jim Brandt Member
I tried this:
set tw to make new transfer window at beginning with properties {url:FTP_Site, authentication:TLS}
and it is failing.
Jim Brandt
-
Jim Matthews Administrator
Hi,
I would try clicking the Record button in Script Editor and connecting manually. What script command does it produce?
Thanks,
Jim Matthews
Fetch Softworks
- Page 1
Jim,
I currently send to a lot of sites using Fetch. One of the sites I send to has changed their site to require TSL/SSL authentication to gain access. How do I do this in the script?
Currently, I build a link like this and log on:
set FTP_Site to FTPMethod & "://" & MyID & ":" & PassWrd & "@" & HostAddr
tell application "Fetch"
set tw to make new transfer window at beginning with properties {url:FTP_Site}
tell tw to set ConnectionStatus to status
...
where:
FTPMethod = "ftp" or "sftp"
MyID = User ID of the site
PassWrd = site password
HostAddr = FTP address
How do I go about changing the authentication to TSL/SSL?
Do I put in a command right after the make new transfer window command like this
set tw's authentication to TSL
or do I replace the "FTP://" with "TSL://" in the initial set FTP_Site command? Is that even valid?
JIm Brandt
Posted 6 years ago #