It's also possible to upload the contents of a file. To do this, specify the path to the file as a parameter when running the program.
The program has no interface, but uses @notify to notify user of result.
On success, the URL to the paste created is shown by @notify, but also copied to the clipboard.
Example:
I want to share the contents of boardlog.txt with somebody on IRC.
- -Copy the contents of boardlog.txt using your favorite text editor in KolibriOS.
-Run pasta.
-Paste the URL in IRCc and hit enter.
- -Run the command '/sys/network/pasta /sys/boardlog.txt'
-Paste the URL in IRCc and hit enter.