3.4 KiB
How-To
Send files directly from context menu on Windows
Registering to open files with PairDrop
The File Handling API is implemented
This is still experimental and must be enabled via a flag before the PWA is installed to Windows.
-
Install PairDrop by visiting https://pairdrop.net/ with the Edge browser and install it as described here.
-
You are done! You can now send most files one at a time via PairDrop:
context menu > Open with > PairDrop
Sending multiple files to PairDrop
Outstandingly, it is also possible to send multiple files to PairDrop via the context menu by adding PairDrop to the Send to
menu:
-
Hit Windows Key+R, type:
shell:programs
and hit Enter. -
Copy the PairDrop shortcut from the directory
-
Hit Windows Key+R, type:
shell:sendto
and hit Enter. -
Paste the copied shortcut into the directory
-
You are done! You can now send multiple files (but no directories) directly via PairDrop:
context menu > Send to > PairDrop
Send directly from share menu on iOS
I created an iOS shortcut to send images, files, folder, URLs or text directly from the share-menu https://routinehub.co/shortcut/13990/
Send directly from share menu on Android
The Web Share Target API is implemented but not yet tested. When the PWA is installed, it should register itself to the share-menu of the device automatically.
This feature is still under development. Please test this feature and create an issue if it does not work.
Send directly via command-line interface
Send files or text with PairDrop via command-line interface.
This opens PairDrop in the default browser where you can choose the receiver.
Usage
$ pairdrop -h
Current domain: https://pairdrop.net/
Usage:
Open PairDrop: pairdrop
Send files: pairdrop file/directory
Send text: pairdrop -t "text"
Specify domain: pairdrop -d "https://pairdrop.net/"
Show this help text: pairdrop (-h|--help)
On Windows Command Prompt you need to use bash: bash pairdrop -h
Setup
Download the bash file: pairdrop-cli/pairdrop.
Linux
- Put file in a preferred folder e.g.
/usr/local/bin
- Make sure the bash file is executable. Otherwise, use
chmod +x pairdrop
- Add absolute path of the folder to PATH variable to make
pairdrop
available globally by executingexport PATH=$PATH:/opt/pairdrop-cli
Mac
- add bash file to
/usr/local/bin
Windows
- Put file in a preferred folder e.g.
C:\Users\Public\pairdrop-cli
- Search for and open
Edit environment variables for your account
- Click
Environment Variables...
- Under System Variables select
Path
and click Edit... - Click New, insert the preferred folder (
C:\Users\Public\pairdrop-cli
), click OK until all windows are closed - Reopen Command prompt window