Author Topic: CLI  (Read 2260 times)

rbq

  • Newbie
  • *
  • Posts: 1
CLI
« on: May 04, 2013, 09:38:14 AM »
Hi there!

Is there a way to access Yummy FTP via CLI? The things I want to achieve are:

* just connecting from the terminal, since my workflow is often terminal-centered
* list the bookmarks (to feed them into Alfred's completion list)
* connect to a bookmark (using Alfred)

P.S. I'm using Yummy FTP for several years now and it's an awesome tool. Especially the fact that it relies on the system's SSH config and therefore picks up all my hostnames and even configurations involving proxy hosts makes it incredibly useful.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2579
Re: CLI
« Reply #1 on: May 04, 2013, 10:01:00 AM »
Hi!

Not directly via a Yummy command line too app, but since Bookmarks are simply files you can open them directly from Terminal, e.g.:

- Navigate to /Users/yourname/Library/Application Support/Yummy FTP/Bookmarks
- enter "open bookmarkname.bkmk"

This will launch Yummy if it's not running, then open the Bookmark.

Does that help?

Great to hear you've been finding Yummy FTP invaluable for all these years! :)

obfuscode

  • Sr. Member
  • ****
  • Posts: 67
Re: CLI
« Reply #2 on: September 07, 2013, 02:19:17 AM »
Can I pile on this? I'd love command-line access to Yummy - specifically for transferring files under Git control to live sites - using the "Replace skips identical files".

I haven't found anything that works like this and I desperately need it as I have 100 client projects on shared hosting that don't have SSH and can't have git server installed.

It'd be great to use the bookmark shortname:
yftp [mode] [bookmarkname]

i.e. yftp push live_site
i.e. yftp pull live_site

I know this is way out of standard features, but just sharing my love for the OP's request :D

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2579
Re: CLI
« Reply #3 on: September 08, 2013, 09:37:49 AM »
I appreciate the input, but you're right : I'm unlikely to add such an interface. Nice idea though for those who use Terminal all day.

Perhaps you could put together an AppleScript and start that from the CLI?