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

How do I send a file? #68

Open
fladd opened this issue Sep 18, 2020 · 11 comments
Open

How do I send a file? #68

fladd opened this issue Sep 18, 2020 · 11 comments

Comments

@fladd
Copy link

fladd commented Sep 18, 2020

If I close the popup dialogue to get to the underlying main window, the whole programme closes. If the popup is open, the "Send Files..." button is not clickable...

@sneakypete81
Copy link
Owner

Instead of closing the connect dialog, you need to enter the code being displayed on another device. This creates the wormhole connection and let's you send/receive data between the two devices.

@sneakypete81
Copy link
Owner

Thanks for the question though, perhaps theres a way of making this clearer in the UI.

@fladd
Copy link
Author

fladd commented Oct 2, 2020

It doesn't really answer my question I am afraid. With magic wormhole, the sender creates the code, not the receiver.

@sneakypete81
Copy link
Owner

That's how the CLI works, but this GUI allows either end of the wormhole to send and receive files.

Maybe an example would help:

  1. Start the app on computer A. It displays Code A.
  2. Start the app on computer B. It displays Code B.
  3. Enter Code A into computer B and click "Set Code"
  4. The dialog will close on both computers.
  5. Use the main window to send files in either direction (drag/drop or use the "Send Files" button).

It doesn't matter which computer you enter the code on in step 3. You just need the codes to match at both ends for the wormhole to open.

@fladd
Copy link
Author

fladd commented Oct 4, 2020

I am sorry, but I still don't understand. I want to send a file from computer A using your GUI tool to a computer B that uses plain wormhole. So computer A needs to create the code. How do I achieve this?

@sneakypete81
Copy link
Owner

Do you mean that computer B is using the wormhole commandline tool (wormhole receive) and not this GUI application? That should still work, you open the wormhole in the same way: by ensuring the code matches on both computers.

Follow the instructions above, but enter the code from the GUI into the CLI tool.

@sneakypete81
Copy link
Owner

To be totally clear: the code being shown in the example below is "8-paragraph-tunnel". That's what you enter on the other computer, whether it's using the GUI or the CLI tool.

screenshot

@fladd
Copy link
Author

fladd commented Oct 4, 2020

Okay, so on computer B I type "wormhole receive", and it will ask me for a wormhole code. Now on computer A with your GUI I also need to type in a wormhole code. So both computers want a code in this scenario, but where do I get it from?

When using CLI on both sides, the sending computer creates the code. Now it seems your tool assumes that always the "other" computer creates the code, irrespective whether it is sending or receiving. In the scenario I laid out above, this does not seem to work, since the "other" computer cannot create a code while receiving (only when sending).

@sneakypete81
Copy link
Owner

You only need to enter the code into one end for the codes to match and the wormhole to open.

In the example of the screenshot above, the GUI is showing "8-paragraph-tunnel". This is the code you enter into the CLI.

@fladd
Copy link
Author

fladd commented Oct 5, 2020

Ah that indeed works, thanks. It is a bit backwards though :-)

@sneakypete81
Copy link
Owner

Ok, glad it's working.

I was struggling a bit to come up with clear, simple text to describe what to do. I settled on:

To connect, enter the code from another computer

Perhaps it would be better in reverse:

To connect, enter this code on another computer

That would work with wormhole send too, since it has a commandline option to set the code. Plus the "Set Code" button makes it pretty obvious how to enter a code from another computer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants