GDevelop-extensions icon indicating copy to clipboard operation
GDevelop-extensions copied to clipboard

Extension update: UploadDownloadTextFile

Open github-actions[bot] opened this issue 1 month ago โ€ข 8 comments

Changes

  1. Changes the variable from the deprecated scene variable to the new universal variable.
  2. Adds following ID's with the uploads, so if you have multiple things you could upload โ€” like a datapack and a world save, we can keep those separate using an id.
  3. Adds JSON file support. This adds a dropdown to the download/upload actions, asking if u want it as plain text or json.

How to use the new features

  1. Download - Call the download action with a filename, file-type and your text content
  2. Upload - Call the upload action with a variable and unique ID
  3. Wait - Use the upload finished condition to check when it's done
  4. Read - Access your variable to get the uploaded file content

Checklist

  • [x] I've followed all of the best practices.
  • [x] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • [x] I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

Example file

UploadDownloadTextFileExample.zip

Extension file

Files.zip


Extension by @moolbie

You can update the extension on this "Pull Request" by commenting the update command: in the comment field, type !update, then drag and drop a zip file with your extension file in the commenting field, like how you initially submitted the extension. It should look like this:

!update [MyExtension.zip](https://github.com/GDevelopApp/GDevelop-extensions/files/12709661/MyExtension.zip)

It can take a few seconds for the file to fully upload and show as the above. Once it is like shown above, click "Comment" and let the bot do the rest!

github-actions[bot] avatar Dec 07 '25 09:12 github-actions[bot]

Thank you for submitting an extension update.

Compatibility must be ensure when possible. When changes would make breaking changes, you should hide the existing function and add a new one.

The extension description purpose is to explain why users may need it. The automatically generated reference page already lists the actions:

  • https://wiki.gdevelop.io/gdevelop5/extensions/upload-download-text-file/

D8H avatar Dec 07 '25 16:12 D8H

@D8H I dont know how to upload the updated stuff so here. Extension.zip UploadDownloadTextFileExample.zip

moolbie avatar Dec 07 '25 17:12 moolbie

Have you tried the update command? The explanation is at the end of the PR description.

D8H avatar Dec 07 '25 19:12 D8H

!update Files.zip

moolbie avatar Dec 08 '25 18:12 moolbie

โ— No updates found. Please check your file.

github-actions[bot] avatar Dec 08 '25 19:12 github-actions[bot]

!update Extension.zip

moolbie avatar Dec 08 '25 19:12 moolbie

โ— No updates found. Please check your file.

github-actions[bot] avatar Dec 08 '25 19:12 github-actions[bot]

??? @D8H

moolbie avatar Dec 08 '25 19:12 moolbie