Questions tagged [pyftpdlib]

Python FTP server library provides a high-level portable interface to easily write very efficient, scalable and asynchronous FTP servers with Python.

32 questions
0
votes
0 answers

Unable to upload a file to a python FTP server running locally on Windows 10

I'm running a FTP server with the below python code in a docker container on windows 10. import os from pyftpdlib.authorizers import DummyAuthorizer from pyftpdlib.handlers import FTPHandler from pyftpdlib.servers import FTPServer FTP_PORT =…
Ram S
  • 25
  • 4
0
votes
1 answer

pyftpdlib server resets client connection in PASV/EPSV mode: curl: (13) Bad PASV/EPSV response: 200

I am trying to download a file to a device over FTPS. I am using curl (7.88.1, OpenSSL/1.1.1u) as the client on the remote machine and pyftpdlib (1.5.7) to implement the FTP server on the local machine. While attempting to download my_file.txt, curl…
Blue_Wolf13
  • 15
  • 1
  • 2
  • 6
0
votes
1 answer

Run multiple FTP server instances on same local machine using multiprocessing and pyftpdlib python

I am trying to run multiple instances of FTP servers on same localhost using the following code: # "create_multiple_ftp_servers.py" from multiprocessing import Pool import sys sys.path.insert(1, r'C:\Users\Desktop\PythonCodes') import…
RRSC
  • 257
  • 2
  • 15
0
votes
0 answers

pyftpdlib How to connect from different network?

I use this code and it works perfectly in my local network but I need to connect from a different network to my FTP server. I already tried run code with this " address = ('81.98.39.196', 2121) " but it doesn't help. I will very much appreciate…
Vadim
  • 3
  • 2
0
votes
0 answers

Why does the add user function not work in pyftpdlib

I am making a web server using pyftpdlib but for some reason the add_user() function does not work and gives me an error code: from pyftpdlib.authorizers import DummyAuthorizer from pyftpdlib.handlers import FTPHandler from pyftpdlib.servers import…
Saw
  • 115
  • 1
  • 16
0
votes
1 answer

Is there a way to change working directory of pyftpdlib right after user is logged in

I am trying to use pyftpdlib for serving files via ftp. I was able to run a sample server but I am looking for a way to change working directory for a user right after he is logged in. Current situation is that after log in user PWD always return…
TestMechanic
  • 163
  • 1
  • 1
  • 11
0
votes
0 answers

Not able to connect with my ftp server made using pyftpdlib in python

This is the code I have taken from the docs of pyftpdlib library. I get ftp locally but not able to access it from outside. I am using wifi from mobile and so I think I am behind NAT. I have tried hours on getting this working but nothing…
0
votes
0 answers

python ftp make a callback to a server function from client

I'm creating a simple ftp server / client using pyftpdlib and ftplib in order to receive data from a remote computer. I used a ThrottledHandler in order to limit the bandwidth, and I need to change the limit from time to time. The thing is, when I…
0
votes
0 answers

Restore Wildcard Support in pyftpdlib

Wildcard support was removed from the giampaolo/pyftpdlib library. Globbing functionality was available until r358. We could go back to r357 to see what was removed and reimplement it. …
Bryan
  • 17,201
  • 24
  • 97
  • 123
0
votes
0 answers

hide files on python ftp

I have a ftp server using pyftpdlib. How would I hide files like the python file running the server? Here is my code: import os from pyftpdlib.authorizers import DummyAuthorizer from pyftpdlib.handlers import FTPHandler from pyftpdlib.servers import…
alex stq
  • 39
  • 1
  • 10
0
votes
1 answer

pyftpdlib callback on sending file

I'm currently developing an ftp server using pyftpdlib by giampaolo. I've been struggling since I need to process stuff when the server receive the RETR commnand before sending a given file. My question is, is there any form of implementing a…
jevisan
  • 23
  • 4
0
votes
0 answers

pyftpd TLS with bandwidth throttle causes error

I am using pyftpdlib to make a custom FTP server. I need to support TLS as well as bandwidth throttling, both of which are covered in the tutorial documentation. However when I try to use them together I get an error when I try to connect with…
Bruce Van Horn
  • 613
  • 2
  • 6
  • 14
0
votes
1 answer

Polling every 50 seconds in multithreaded environment

I'm using the following lib for creating ftp server called pyftpdlib. Following the exact example of building a base ftp server apart of the fact that I've created my own custom handler and passing it as in the example. First question: I need to be…
JavaSa
  • 5,813
  • 16
  • 71
  • 121
0
votes
1 answer

pyftpdlib import error on windows

I want to set up an ftp server on windows using pyftpdlib when sudenly i get error message. I want to run this: from pyftpdlib.handlers import FTPHandler from pyftpdlib.servers import FTPServer from pyftpdlib.contrib.authorizers import…
Syngularity
  • 795
  • 3
  • 17
  • 42
-1
votes
1 answer

Trouble getting pyftpdlib to work on a local network

I'm currently working on a project where i need FTP-file access on a local network. That is if I'm on the same network as another device, we will be able to share file using FTP. Problem is, it doesn't work. I can connect to the server on the same…
Blupper
  • 378
  • 2
  • 10