[Free] File Manager Extension

Introduction

Extension Name: File Manager

:earth_asia: Released on: 2024-05-26T08:43:00Z

:gear: Latest Version: 1.0

Blocks

File and Directory Operations

IsFileDirectory

component_method

Check if a path is a directory.

IsFileHidden:

component_method (1)

Determine if a file is hidden.

IsFileRegular:

component_method (2)

Check if a path is a regular file.

IsDirectoryEmpty:

component_method (3)

Verify if a directory is empty.

FileExists:

component_method (4)

Confirm if a file exists.

Initialize:

component_method (5)

Initialize the FileManager with a specific directory path.

Navigate:

component_method

Navigate through directories.

CreateDirectory:

component_method (2)

Create a new directory.

DeleteDirectory:

component_method (1)

Delete a File.

DeleteDirectory:

component_method (1)

Delete an entire directory.

File Information

GetFileAttribute:

component_method (4)

Retrieve specific attributes of a file.

GetFileSize:

component_method (6)

Get the size of a file.

GetFilePath:

component_method (7)

Get the path of a file.

GetFileOwner:

component_method (8)

Find out the owner of a file.

GetFileMimeType:

component_method (9)

Determine the MIME type of a file.

GetFileLastModified:

component_method (10)

Get the last modified timestamp of a file.

GetFileExtension:

component_method (11)

Retrieve the file extension.

GetFileBasicAttributes:

component_method (12)

Get basic attributes of a file.

File Permissions

HasPermission:

component_method

Check if a specific permission is granted.

GetFilePermissions:

component_method (1)

Retrieve the permissions of a file.

SetFilePermissions:

component_method (2)

Set permissions for a file.

Searching and Sorting

SearchDirectories:

component_method (5)

Search within directories.

SearchFiles:

component_method (3)

Search for files using a query.

SortFiles:

component_method (4)

Sort files based on specified criteria.

File Manipulation

RenameFile:

component_method (6)

Rename a file.

CopyFile:

component_method (7)

Copy a file from one location to another.

MoveFile:

component_method (8)

Move a file to a different location.

CalculateChecksum:

component_method (9)

Calculate the checksum of a file using specified algorithms.

Directory Listings

ListFiles:

component_method

List all files in a directory.

ListDirectories:

component_method (1)

List all directories.

ListAllFilesRecursive:

component_method (2)

List all files recursively within a directory.

How to Use

  1. Initialize the FileManager: Use the Initialize block with a directory path to set up the FileManager.

Block Setup

  1. Check File/Directory Properties: Use blocks like IsFileDirectory, IsFileHidden, or FileExists to query properties.

Block Setup

blocks (1)

  1. Manage Files and Directories: Create, delete, copy, move, and rename files and directories using the respective blocks.
  2. Get Information: Retrieve file details using blocks like GetFileSize, GetFileOwner, and GetFileMimeType.
  3. Permissions: Check and set permissions using HasPermission, GetFilePermissions, and SetFilePermissions

Block setup

  1. Search and Sort: Find and organize files with SearchDirectories, SearchFiles, and SortFiles.

Block setup

Example Use Cases

  • File Organization: Automatically organize downloaded files based on their type and date.
  • Security Applications: Verify file permissions and ensure sensitive files are secure.
  • Backup Utilities: Create backups of important files by copying them to different directories.
  • File Exploration: Build a file explorer within your app to navigate through directories and manage files.

Download and Support

You can download the FileManager extension by clicking the link

Link

Google Drive

Aia added in the upper link all basic things are covered also have uploaded blocks setups and i will make a complete aia file in a few days

Thanks for your support

I am committed to providing support and updates based on your feedback. Feel free to reach out with any questions, issues, or feature requests.

Let’s make file management easier and more efficient in our Kodular projects!
!

Note!

This is my first extension so if there is any error or issue you have kindly tell me.

12 Likes

Good job @devxlabs

Nice Work :+1::heart:

1 Like

awesome :heart: :heart: post demo aia it will show how to use in copy and move file in asd dir to custome folder.

Hey there @techhamara91 , i have updated the link now you can download aia file i have add some blocks in aia and i will cover all blocks in next aia.

Where is the extension?

It says Google Drive

1 Like

Hi there PLz Check The Extension & .aia Not Available on Google Drive

its available just check the link again

1 Like

Yes Now Available

in aia file there was nothing :roll_eyes:

check 2nd and third screen not screen1

1 Like