Skip to content

rbenrax/PyFtpfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PyFtpfs

PyFtpfs is a Python-based tool that allows you to mount FTP file systems using FUSE (Filesystem in Userspace), enabling interaction with remote FTP servers as if they were local file systems.

⚠️ This project is under development and not yet recommended for production use.


πŸ“Œ Features

  • Mount a remote FTP server as a local filesystem.
  • Written in Python and built on top of FUSE.
  • Seamlessly interact with FTP files via local paths after mounting.

πŸš€ Requirements

Before installing and using PyFtpfs, make sure you have:

  • Python (version 3.7+ recommended).
  • A system with FUSE support (Linux / macOS with FUSE installed).
  • The fusepy library and other dependencies installed.

πŸ› οΈ Installation

git clone https://github.com/rbenrax/PyFtpfs.git
cd PyFtpfs

(Optional) Create a virtual environment:

python3 -m venv venv
source venv/bin/activate

Install dependencies:

pip install -r requirements.txt

πŸš€ Usage

🌐 Mount an FTP server

python pyftpfs.py ftp.server.com /mnt/ftp -u username -P password

πŸ”§ Common options

Option Description
-p <port> FTP port (default: 21)
-u <username> FTP username
-P <password> FTP password
-d Enable debug output

Example:

python pyftpfs.py ftp.server.com /mnt/ftp -p 21 -u myuser -P mypassword -d

πŸ”Œ Unmounting

To unmount the filesystem:

fusermount -u /mnt/ftp

On macOS:

umount /mnt/ftp

πŸ§ͺ Project Status

This project is under active development and may lack full features or optimizations. Please check the issues section to view pending enhancements or bugs.


πŸ“ Contributing

  1. Fork the repository.
  2. Create a feature branch (git checkout -b feature/name).
  3. Commit your changes (git commit -m "Description").
  4. Open a Pull Request.

πŸ“œ License

This project is licensed under the Apache-2.0 License.


πŸ“Ž Resources

About

Python version of fuse ftpfs utlity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages