Your best friend for file transfer.

Fetch application logoFetch

using the key chain (3 posts)

  • Started 1 year ago by Eric
  • Latest reply 1 year ago from Eric
  • Eric Member

    Hello,

    Currently I'm using:

    set tWindow to make new transfer window at beginning with properties {hostname:myHost, username:loginName, password:thePassword, initial folder:"/public_html/"}

    to connect to my website, where myHost, loginName, and thePassword are set in my script. I'd like to beef up security and use the keychain instead of having them in the script. I created a new connection in Fetch, and clicked on "Add to keychain" and then tried:

    set tWindow to make new transfer window at beginning with properties {hostname:myHost, initial folder:"/public_html/"}

    without setting the username and password (at least this is what I thought I could do since it's in the key chain?) and am getting the error:

    An FTP connection to “173.248.191.37” could not be opened because the FTP server has shut down. Any help in fixing this issue would be appreciated.

    Thank you,

    Eric

    Posted 1 year ago #

  • Jim Matthews Administrator

    Hi,

    You should still specify the username; otherwise Fetch won't know which password to pull from the keychain.

    Let me know if that doesn't work.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 1 year ago #

  • Eric Member

    Perfect: worked like a charm!

    Thank you for the quick response.

    -Eric

    Posted 1 year ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.