Skip to content

using Python Flask, html, css, javascript, But If You dont want know anything, Just Download and Run this ,Its works definetely

License

Notifications You must be signed in to change notification settings

NipunSGeeTH/LAN-File-Transfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Share Files Effortlessly on Your Network

This easy-to-use server, powered by Python Flask, lets you share files between devices on the same network, like your home Wi-Fi. No internet connection is needed!. Local Network Files Sharing Through Browser with any devices.

See It in Action

Demo Image

🚀 Start Sharing

  1. Download the Project 📂: Click the "Code" button and download the ZIP file. Extract it.
  2. Navigate to the Files 📁: Open a terminal and use the cd command to go to the project folder:
    cd path/to/project-folder
  3. Install Flask ⚙️: Run this command:
    pip install Flask
  4. Start the Server 🚀: Type and press Enter:
    python app.py
  5. Access the Server 🌐: Open your browser and enter the URL displayed in the terminal (e.g., http://192.168.X.XXX:80).

📱 Connect From Your Phone or Tablet

  1. Same Wi-Fi 📶: Ensure your phone/tablet is connected to the same Wi-Fi network as your computer.
  2. Enter the URL 🔗: Open a browser and type in the URL from Step 5 above.

⚙️ Customization (Optional)

  • Allow More File Types 📄:
    1. Open app.py in a text editor.
    2. Find this line:
      ALLOWED_EXTENSIONS = {'txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif'}
    3. Add more file types (e.g., MP3):
      ALLOWED_EXTENSIONS = {'txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif', 'mp3'}
    4. Save the file and restart the server (Ctrl + C then python app.py).
  • Change IP and Port 🌍:
    1. Open app.py in a text editor.
    2. Find this line:
      app.run(debug=True)
    3. Modify it:
      app.run(debug=True, host="YOUR_IP", port=8080)
    4. Save and restart the server.

⛔ Stopping the Server

To stop sharing, simply press Ctrl + C in the terminal window where the server is running.

About

using Python Flask, html, css, javascript, But If You dont want know anything, Just Download and Run this ,Its works definetely

Resources

License

Stars

Watchers

Forks

Packages

No packages published