{"id":20027962,"url":"https://github.com/mohamedelareeg/filesmanager","last_synced_at":"2026-05-12T17:48:36.553Z","repository":{"id":238590714,"uuid":"643472254","full_name":"mohamedelareeg/FilesManager","owner":"mohamedelareeg","description":"Manage file operations effortlessly in your web application with Files Manager. This component facilitates file uploading, downloading, and retrieval functionalities seamlessly.","archived":false,"fork":false,"pushed_at":"2024-02-29T17:25:27.000Z","size":2417,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T17:27:33.392Z","etag":null,"topics":["api","download","folder","json","rest-api","upload"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mohamedelareeg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-21T09:18:55.000Z","updated_at":"2024-07-13T07:22:36.000Z","dependencies_parsed_at":"2024-05-06T22:47:45.951Z","dependency_job_id":null,"html_url":"https://github.com/mohamedelareeg/FilesManager","commit_stats":null,"previous_names":["mohamedelareeg/filesmanager"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohamedelareeg%2FFilesManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohamedelareeg%2FFilesManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohamedelareeg%2FFilesManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohamedelareeg%2FFilesManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohamedelareeg","download_url":"https://codeload.github.com/mohamedelareeg/FilesManager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241460042,"owners_count":19966516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","download","folder","json","rest-api","upload"],"created_at":"2024-11-13T09:12:41.791Z","updated_at":"2026-05-12T17:48:36.524Z","avatar_url":"https://github.com/mohamedelareeg.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\nThe Files Manager is a component of a system designed to handle file management\noperations in a web application. This controller specifically handles file\nuploading, downloading, and retrieval functionalities.\n\n-------------------------------------------------------------------------------\n\nFeatures\n--------\n\n- Upload files with associated batch and document IDs.\n- Retrieve and load files based on a specified path.\n- Download files from the server.\n\n-------------------------------------------------------------------------------\n\nUsage\n-----\n\nTo utilize the Files Manager:\n\n1. Clone the repository:\n\n   git clone https://github.com/mohamedelareeg/FilesManager.git\n\n2. Build the solution using Visual Studio or your preferred IDE.\n\n3. Ensure that the necessary dependencies are installed and configured.\n\n4. Access the FileController endpoints via HTTP requests or integrate them\n   into your existing application.\n\n-------------------------------------------------------------------------------\n\nEndpoints\n---------\n\n1. **Upload:** `POST /File/Upload`\n\n   - Uploads files to the server.\n   - Requires a list of form files, batch ID, and optional document ID.\n   - Returns information about the uploaded files.\n\n2. **GetFiles:** `POST /File/GetFiles`\n\n   - Retrieves files based on the provided request object.\n   - Requires a request object containing a path.\n   - Returns a BatchCRUDViewModel object.\n\n3. **Download:** `GET /File/Download`\n\n   - Downloads files from the server based on the provided subdirectory.\n   - Requires a subdirectory path.\n   - Returns the requested file(s) as a downloadable file.\n\n-------------------------------------------------------------------------------\n\nDependencies\n------------\n\n- ASP.NET Core\n- Microsoft.AspNetCore.Http\n- Microsoft.Extensions.Hosting\n- Newtonsoft.Json\n\n-------------------------------------------------------------------------------\n\nContributing\n------------\n\nContributions are welcome! If you'd like to contribute to the Files Manager,\nfeel free to open a pull request or submit an issue on the GitHub repository.\n\n-------------------------------------------------------------------------------\n\nLicense\n-------\n\nThis project is licensed under the MIT License - see the LICENSE file for\ndetails.\n\n-------------------------------------------------------------------------------\n\nAcknowledgments\n---------------\n\n- Microsoft.AspNetCore.Hosting - Hosting environment for ASP.NET Core.\n- Newtonsoft.Json - JSON serialization and deserialization library for .NET.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohamedelareeg%2Ffilesmanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohamedelareeg%2Ffilesmanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohamedelareeg%2Ffilesmanager/lists"}