Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Transmit favorites #3073

Closed
cyberduck opened this issue Mar 18, 2009 · 21 comments
Closed

Import Transmit favorites #3073

cyberduck opened this issue Mar 18, 2009 · 21 comments

Comments

@cyberduck
Copy link
Collaborator

bb78384 created the issue

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

@cyberduck
Copy link
Collaborator Author

@dkocher commented

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.

@cyberduck
Copy link
Collaborator Author

bb78384 commented

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.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:2 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.

@cyberduck
Copy link
Collaborator Author

bb78384 commented

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.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:4 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.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Cross reference to [3373 Filezilla Import].

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Fetch importer in 4ac75dd.
Flow importer in 10f01ea.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

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.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:9 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.

@cyberduck
Copy link
Collaborator Author

charliemonroe commented

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

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:12 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?

@cyberduck
Copy link
Collaborator Author

charliemonroe commented

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

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:14 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.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

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

@cyberduck
Copy link
Collaborator Author

charliemonroe commented

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.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:17 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?

@cyberduck
Copy link
Collaborator Author

charliemonroe commented

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.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:19 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.

@cyberduck
Copy link
Collaborator Author

charliemonroe commented

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

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 05f7228 and a5be2a6.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Causing some serious problems in #5351.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants