1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-04-06 10:46:59 +00:00
Jonathan Coates 97387556fe
Handle file transfers inside CraftOS (#1190)
- Add a new file_transfer event. This has the signature
   "file_transfer", TransferredFiles.

   TransferredFiles has a single method getFiles(), which returns a list
   of all transferred files.

 - Add a new "import" program which waits for a file_transfer event and
   writes files to the current directory.

 - If a file_transfer event is not handled (i.e. its getFiles() method
   is not called) within 5 seconds on the client, we display a toast
   informing the user on how to upload a file.
2022-10-29 12:01:23 +01:00
..
2022-10-09 11:22:24 +01:00
2022-05-05 13:27:33 +01:00
2022-09-29 22:21:38 +01:00
2020-12-28 18:20:13 +00:00
2022-10-09 11:22:24 +01:00
2021-09-26 10:26:42 +01:00
2022-10-22 21:09:08 +01:00