Custom File Actions [Node]

Here’s a couple of Node custom file actions for anybody in need:

  1. Retrieve and save a file from a remote url
  2. Determine the mime type of a file based on the content of the file rather than the filename

https://github.com/mebeingken/wappler_modules/releases/tag/1.01

12 Likes

I will put to good use the MIME detection one. Thanks Ken!

Hi Ken,
Do these work with late wappler version?
If so, what is the installation process ?

Thanks

Here is a new version of this that installs the required modules.

  • Installation is to copy the two files into /extensions/server_connect/modules (make these folders if they don’t exist)
  • Add either of the actions as needed
  • Required modules will be installed when you save the api/library that uses these actions. If using docker, also do a Deploy.

Custom_File_Actions_v1.2.0.zip (2.7 KB)

I just tested on Wappler 4.6.0 and works fine.

6 Likes

thanks Ken.

That’s working again.

Thanks so much for supplying this @mebeingken, huge timesaver

1 Like

Hey there guys. I'm using the retrieve and save file extension, did some changes to it, because I had some errors comming up, pointing issues with the this.parse and this.parseRequired. It looks like it works fine, but the download does not work properly, I get a html file instead (trying to download a PDF). My hjson file is just like the downloaded one, but the js is a bit different. Appreciate any help with these.
The files are in this drive for download: COMMUNITY_WAPPLER_ISSUE - Google Drive