Your best friend for file transfer.

Fetch application logoFetch

Fetch with keychain and Fetch Alias (3 posts)

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

    Hello!

    I've successfully integrated my mac's keychain with Fetch when I run a command such as:

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

    so that I don't have to have my password in plaintext. However, when I try it using:

    fetch alias "Users:me:Downloads:" host the_host user loginName path my_path

    it will only work if I include my password in plaintext. Is there anyway around this or does the keychain only work in conjunction with the set tWindow command?

    Thanks so much,

    Eric

    Posted 1 year ago #

  • Jim Matthews Administrator

    Hi,

    I would try using a URL instead of separate host/user/path parameters, e.g.:

    set myurl to "ftp://" & loginName & ":@" & the_host & "/" & my_path
    fetch alias "Users:me:Downloads:" url myurl

    Does that work?

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 1 year ago #

  • Eric Member

    Thanks so much for your continued support!

    -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.