Coder Social home page Coder Social logo

mohamedelareeg / filesmanager Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.36 MB

Manage file operations effortlessly in your web application with Files Manager. This component facilitates file uploading, downloading, and retrieval functionalities seamlessly.

License: MIT License

C# 100.00%
api download folder json rest-api upload

filesmanager's Introduction

The Files Manager is a component of a system designed to handle file management operations in a web application. This controller specifically handles file uploading, downloading, and retrieval functionalities.


Features

  • Upload files with associated batch and document IDs.
  • Retrieve and load files based on a specified path.
  • Download files from the server.

Usage

To utilize the Files Manager:

  1. Clone the repository:

    git clone https://github.com/mohamedelareeg/FilesManager.git

  2. Build the solution using Visual Studio or your preferred IDE.

  3. Ensure that the necessary dependencies are installed and configured.

  4. Access the FileController endpoints via HTTP requests or integrate them into your existing application.


Endpoints

  1. Upload: POST /File/Upload

    • Uploads files to the server.
    • Requires a list of form files, batch ID, and optional document ID.
    • Returns information about the uploaded files.
  2. GetFiles: POST /File/GetFiles

    • Retrieves files based on the provided request object.
    • Requires a request object containing a path.
    • Returns a BatchCRUDViewModel object.
  3. Download: GET /File/Download

    • Downloads files from the server based on the provided subdirectory.
    • Requires a subdirectory path.
    • Returns the requested file(s) as a downloadable file.

Dependencies

  • ASP.NET Core
  • Microsoft.AspNetCore.Http
  • Microsoft.Extensions.Hosting
  • Newtonsoft.Json

Contributing

Contributions are welcome! If you'd like to contribute to the Files Manager, feel free to open a pull request or submit an issue on the GitHub repository.


License

This project is licensed under the MIT License - see the LICENSE file for details.


Acknowledgments

  • Microsoft.AspNetCore.Hosting - Hosting environment for ASP.NET Core.
  • Newtonsoft.Json - JSON serialization and deserialization library for .NET.

filesmanager's People

Contributors

mohamedelareeg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.