It lets you interact with your files in Flowize.
This function allows you to compress a file or folder into a ZIP file. After compression, the ZIP file is stored in the File manager and its details are available in the response.
| Parameter | Usage | Mandatory |
|---|
| File or folder path | The path of the file or folder you want to compress. | Yes |
| Name of the Compressed file | The name to use for the compressed file. | No |
| Overwrite file? | Choose whether the original file should be overwritten. | Yes |
| Parameter | Usage |
|---|
| status | The status of the operation. |
| message | A message with details about the operation. |
| file_path | The path of the compressed file. |
| file_name | The name of the compressed file. |
| file_size | The size of the compressed file. |
This Tool is used for Deleting files from your file manager.
| Parameter | Usage | Mandatory |
|---|
| File name and path | Write the path of your file and file name | Yes |
| Parameter | Usage |
|---|
| status | The status of the operation. |
| message | A message with details about the operation. |
| file_path | The path of the deleted file. |
This Tool is used for Deleting folders from your file manager.
| Parameter | Usage | Mandatory |
|---|
| Folder name and path | Write the path of your folder and name of the folder | Yes |
| Parameter | Usage |
|---|
| status | The status of the operation. |
| message | A message with details about the operation. |
| folder_path | The path of the deleted folder. |
This Tool is used for check if the file exists in your file manager.
| Parameter | Usage | Mandatory |
|---|
| Folder name and path | The path of your folder and name of the file | Yes |
| Parameter | Usage |
|---|
| exists | Indicates whether the file exists. |
| num_lines | The number of lines in the file. |
| message | A message with details about the operation. |
| file_path | The path of the file. |
This Tool is used for download files in your file manager.
| Parameter | Usage | Mandatory |
|---|
| URL | Write the link of your file (Must end with one of the allowed extensions). | Yes |
| Folder name | Write the path of your folder where you want to save the file | Yes |
| Name of the file | Write the name of the file and extension | Yes |
You can add custom API headers when required by the source URL. For example, you can use this section to provide an API key required to access the file.
The response contains information about the result of the operation, including any errors, a message, the file size, and the file path.
This Tool is used for generate a URL that allows access to the file.
| Parameter | Usage | Mandatory |
|---|
| File Name and path | Write the path of your folder and name of the file | Yes |
| Domain Base URl | Your custom domain url | Yes |
| Parameter | Usage |
|---|
| status | The status of the operation. |
| message | A message with details about the operation. |
| file_path | The path of the file. |
This Tool is used for reading file in your file manager.
| Parameter | Usage | Mandatory |
|---|
| File Name and path | Write the path of your folder and name of the file | Yes |
| Read only one line | read the file line by line | Yes |
| line number | How many lines you want to read | Yes |
| Parameter | Usage |
|---|
| file_content | The content read from the file. |
| message | A message with details about the operation. |
| file_path | The path of the file. |
| file_size | The size of the file. |
| num_lines | The total number of lines in the file. |
| current_line | The current line that was read. |
| next_line | The next available line. |
| line_size | The size of the returned line. |
This Tool is used for writing file in your file manager.
| Parameter | Usage | Mandatory |
|---|
| File Name and path | Write the path of your folder and name of the file | Yes |
| Content | Write your content here that you want to write | Yes |
| Writing Option | Overwrite will wipe your current content and replace with new one and append will add the content at the end | Yes |
| Create File | Choose if you want to create a file | Yes |
| Decode content | When Content is a B64 encoding file, it's necessary choose decode in Base64 to get the file directly in the file manager section. | Yes |
| Parameter | Usage | Mandatory |
|---|
| Change Character encoding | Select the appropriate character encoding when the content is not encoded in UTF-8. | Yes |
| Line Terminator | Select the line terminator to use when appending content on a new line. | Yes |
| Parameter | Usage |
|---|
| status | The status of the operation. |
| message | A message with details about the operation. |
| file_path | The path of the file. |
| file_size | The size of the file. |