Skip to main content

Python 115 FTP Server.

Project description

Python 115 FTP Server.

安装

你可以通过 pypi 安装

pip install -U p115ftp

用法

模块

from p115ftp import P115FS

P115FS.run_forever()

命令行

$ p115ftp -h
usage: [-h] [-H HOST] [-P PORT] [-cp COOKIES_PATH] [-cl] [-nt] [-l] [-v]

    🕸️ Python 115 FTP Server 🕷️

             88      88  8888888888      ad88                        
           ,d88    ,d88  88             d8"      ,d                  
         888888  888888  88  ____       88       88                  
8b,dPPYba,   88      88  88a8PPPP8b,  MM88MMM  MM88MMM  8b,dPPYba,   
88P'    "8a  88      88  PP"     `8b    88       88     88P'    "8a  
88       d8  88      88           d8    88       88     88       d8  
88b,   ,a8"  88      88  Y8a     a8P    88       88,    88b,   ,a8"  
88`YbbdP"'   88      88   "Y88888P"     88       "Y888  88`YbbdP"'   
88                                                      88           
88                                                      88           

options:
  -h, --help            show this help message and exit
  -H, --host HOST       ip 或 hostname,默认值:'0.0.0.0'
  -P, --port PORT       端口号,默认值:7115
  -cp, --cookies-path COOKIES_PATH
                        cookies 文件保存路径,默认为当前工作目录下的 115-cookies.txt
                        如果你需要直接传入一个 cookies 字符串,需要这样写
                        
                        .. code:: shell
                        
                            COOKIES='UID=...; CID=..., SEID=...'
                            p115dav --cookies-path <(echo "$COOKIES")
                        
  -cl, --check-for-relogin
                        当风控时,自动重新扫码登录
  -nt, --no-thumbs      不要为请求图片链接提供缩略图
  -l, --license         输出授权信息
  -v, --version         输出版本号

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

p115ftp-0.0.3.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

p115ftp-0.0.3-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file p115ftp-0.0.3.tar.gz.

File metadata

  • Download URL: p115ftp-0.0.3.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.5 Darwin/25.0.0

File hashes

Hashes for p115ftp-0.0.3.tar.gz
Algorithm Hash digest
SHA256 baaa905f26f76bf8011b7cfdfa3fbd2e9be22dec4a86685422c73646dd6cdcce
MD5 0718cfa086e1e363474db4e8b2f81fe0
BLAKE2b-256 571f52d4bf5f81f7b9e31a96c5fed8f3b2cfa3e88b86e8ea9836b35d3025a73f

See more details on using hashes here.

File details

Details for the file p115ftp-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: p115ftp-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.5 Darwin/25.0.0

File hashes

Hashes for p115ftp-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9e910fd4d4707bc0f156a144fa748094088754a1e15d1fa07597105ad9a182b0
MD5 01fd753b85ed923d713e7dbcf57e2d66
BLAKE2b-256 4bc9c824289d93d8a9144638ef864b51230f13354388a728d2c0c1bb9e1f44b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page