
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Http proxy to interact with FTP servers
pip install ftp-proxy
Use the provided docker image
ftp-proxy can be used with any http client
All api routes expect the same authentication headers
Header | Content | Default |
---|---|---|
X-ftpproxy-host | server host | No default, mandatory header |
X-ftpproxy-port | server port | 21 |
X-ftpproxy-user | login | anonymous |
X-ftpproxy-password | password |
Test connection to the remote FTP server Returns HTTP 200 on success
List the files on the ftp server Optional parameters:
Response:
["/file1.txt", "/other.py", "/folder", "/folder/nested.txt", "/folder/subfolder"]
Download a file from the ftp server Mandatory parameters:
SFTP support API is roughly the same as ftp, and can be achieved by switching the url prefixes from ftp to sftp The following features are not yet available for SFTP:
If an error occured on the proxy or the FTP server, the request will return a HTTP 400 json response with the following format
{
"error": "<DESCRIPTION>"
}
git clone git@github.com:uptilab2/ftp-proxy.git
cd ftp-proxy
# Project uses pipenv for dependency management
# so it should be installed first
pipenv install --dev
# Run the tests:
pipenv run py.test
# Run the development server:
pipenv run python -m aiohttp.web -H 0.0.0.0 -P 5000 ftp_proxy:init_func
pipenv run python setup.py test
pipenv run python setup.py sdist
pipenv run python setup.py bdist_wheel
pipenv run python setup.py upload
FAQs
A http to ftp proxy server application
We found that ftp-proxy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.