Cyberduck Mountain Duck CLI

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#3073 closed enhancement (fixed)

Import Transmit favorites

Reported by: cody@… Owned by: dkocher
Priority: low Milestone: 3.7
Component: core Version: 3.6.1
Severity: normal Keywords:
Cc: Architecture:
Platform:

Description

It would make the transition from Transmit a lot easier if Cyberduck was able to import it's favorites. I understand there more than meets the eye here, but if it's not possible because of some proprietary format, please add a comment so we can apply pressure to the guys at Panic. Thanks.

Attachments (2)

Transmit Favorites1.exportedFavorites (1.5 KB) - added by cody@… 9 years ago.
Transmit exported favorites file
CDTransmitImporter.zip (2.6 KB) - added by charliemonroe 8 years ago.

Download all attachments as: .zip

Change History (26)

comment:1 Changed 9 years ago by dkocher

Please attach a copy of a bookmarks file; possibly found at /Users/dkocher/Library/Application\ Support/Transmit. I don't have a registered copy of Transmit myself that has bookmark saving enabled.

Changed 9 years ago by cody@…

Transmit exported favorites file

comment:2 follow-up: Changed 9 years ago by cody@…

The only thing I found at /Users/~/Library/Application Support/Transmit was a syncing script of some kind. Did a quick Google search and don't see where Transmit actually store the Favorites.

I've attached the file that's generated when you choose Favorites->Export... on the menu.

comment:3 in reply to: ↑ 2 Changed 9 years ago by dkocher

Replying to cody@…:

The only thing I found at /Users/~/Library/Application Support/Transmit was a syncing script of some kind. Did a quick Google search and don't see where Transmit actually store the Favorites.

I've attached the file that's generated when you choose Favorites->Export... on the menu.

Thanks. It is binary (ant not a binary plist) and therefore not interoperable. No chance to read this.

comment:4 follow-up: Changed 9 years ago by cody@…

I'll keep digging for something that might be parse-able. In the meantime, I've put a ticket in with Panic for allowing text based export. Not sure what will come of it. I assume the reason it's not there now is because of security concerns.

comment:5 Changed 9 years ago by dkocher

  • Priority changed from normal to low

comment:6 in reply to: ↑ 4 Changed 8 years ago by dkocher

Replying to cody@…:

I'll keep digging for something that might be parse-able. In the meantime, I've put a ticket in with Panic for allowing text based export. Not sure what will come of it. I assume the reason it's not there now is because of security concerns.

I don't see any security implication as passwords are saved in the Keychain.

comment:7 Changed 8 years ago by dkocher

Cross reference to Filezilla Import.

comment:8 Changed 8 years ago by dkocher

Fetch importer in r6448. Flow importer in r6459.

comment:9 follow-up: Changed 8 years ago by dkocher

The Transmit favorites are

  • In ~/Library/Preferences/com.panic.Transmit.plist
  • Base 64 encoded binary plist from NSKeyedArchiver under the key FavoriteCollections.
  • Unarchiving is possible difficult because it was serialized using closed source classes.

comment:10 in reply to: ↑ 9 Changed 8 years ago by dkocher

Replying to dkocher:

The Transmit favorites are

  • In ~/Library/Preferences/com.panic.Transmit.plist
  • Base 64 encoded binary plist from NSKeyedArchiver under the key FavoriteCollections.
  • Unarchiving is difficult impossible because the data is serialized using closed source classes.

Same applies for Forklift.

Last edited 8 years ago by dkocher (previous) (diff)

comment:11 Changed 8 years ago by dkocher

  • Resolution set to wontfix
  • Status changed from new to closed

comment:12 follow-up: Changed 8 years ago by charliemonroe

  • Resolution wontfix deleted
  • Status changed from closed to reopened
  • Version changed from 3.1.1 to 3.6.1

Hi,

I've reverse-engineered Transmit's favorites in preferences - would you be willing to add it? Just making sure that in case I work on it further (i.e. add getter methods to) the time I put into it doesn't go to waste...

Charlie

comment:13 in reply to: ↑ 12 Changed 8 years ago by dkocher

Replying to charliemonroe:

Hi,

I've reverse-engineered Transmit's favorites in preferences - would you be willing to add it? Just making sure that in case I work on it further (i.e. add getter methods to) the time I put into it doesn't go to waste...

Charlie

That sounds promising. Can you attach your patch?

Changed 8 years ago by charliemonroe

comment:14 follow-up: Changed 8 years ago by charliemonroe

I'm attaching a zipped file with CDTransmitImporter class - it's using properties and fast enumaration, but I think Cyberduck isn't supporting 10.4 anymore anyway. Sorry it's a little messy code, I'm having finals in less than two weeks, but this was bothering me and I was thinking about it all the time ;)

Generally the usage is [CDTransmitImporter favoritesFromPreferences] - you'll get an array of CDTransmitImportFavorite which has getters for all the properties that could be used - it's all commented - again, sorry, don't have time to actually make it work in Cyberduck's code...

Charlie

comment:15 in reply to: ↑ 14 Changed 8 years ago by dkocher

Replying to charliemonroe:

I'm attaching a zipped file with CDTransmitImporter class - it's using properties and fast enumaration, but I think Cyberduck isn't supporting 10.4 anymore anyway. Sorry it's a little messy code, I'm having finals in less than two weeks, but this was bothering me and I was thinking about it all the time ;)

Generally the usage is [CDTransmitImporter favoritesFromPreferences] - you'll get an array of CDTransmitImportFavorite which has getters for all the properties that could be used - it's all commented - again, sorry, don't have time to actually make it work in Cyberduck's code...

Charlie

Thanks, I'll have a look. Will have to translate it into Java to make it fit into the existing importer package.

comment:16 Changed 8 years ago by dkocher

I have it working here integrated into the existing source code. Do you have a favorite collection with all possible protocols for testing available?

comment:17 follow-up: Changed 8 years ago by charliemonroe

Yes, most of them - I'll create a few phony test ones. I'll check out the source code and compile it - is it in the trunk - couldn't find it there? Will report back any issues.

comment:18 in reply to: ↑ 17 Changed 8 years ago by dkocher

Replying to charliemonroe:

Yes, most of them - I'll create a few phony test ones. I'll check out the source code and compile it - is it in the trunk - couldn't find it there? Will report back any issues.

I wanted to test it first more thoroughly before checking into the repository. Can you send me a bookmark file by email?

comment:19 follow-up: Changed 8 years ago by charliemonroe

I couldn't find your email address anywhere, so I've uploaded it to my server - http://bit.ly/aKiRMn - just place it to ~/Library/Preferences/ - that's where Transmit keeps it.

Let me know when you've downloaded it, I'll remove it from the server.

comment:20 in reply to: ↑ 19 Changed 8 years ago by dkocher

Replying to charliemonroe:

I couldn't find your email address anywhere, so I've uploaded it to my server - http://bit.ly/aKiRMn - just place it to ~/Library/Preferences/ - that's where Transmit keeps it.

Let me know when you've downloaded it, I'll remove it from the server.

Fetched it, thanks.

comment:21 Changed 8 years ago by charliemonroe

Thank You for everything! I will donate as soon as I get my paycheck this month! Take care and if anything doesn't work, let me know, I'll try to figure out why (I know some Java basics).

comment:22 Changed 8 years ago by dkocher

  • Milestone set to 4.0
  • Resolution set to fixed
  • Status changed from reopened to closed

In r6904 and r6905.

comment:23 Changed 8 years ago by dkocher

  • Milestone changed from 4.0 to 3.6.2

comment:24 Changed 8 years ago by dkocher

Causing some serious problems in #5351.

Note: See TracTickets for help on using tickets.
swiss made software