Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benelog/one-ftpserver
Simple, portable FTP server for one user by one executable jar file.
https://github.com/benelog/one-ftpserver
ftp java
Last synced: 6 days ago
JSON representation
Simple, portable FTP server for one user by one executable jar file.
- Host: GitHub
- URL: https://github.com/benelog/one-ftpserver
- Owner: benelog
- Created: 2012-05-03T07:58:30.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2022-12-05T23:41:57.000Z (about 2 years ago)
- Last Synced: 2024-04-16T11:04:28.043Z (9 months ago)
- Topics: ftp, java
- Language: Java
- Homepage:
- Size: 31.3 KB
- Stars: 31
- Watchers: 4
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Using One-FTPServer
=========
# Features[![Join the chat at https://gitter.im/benelog/one-ftpserver](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/benelog/one-ftpserver?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
- Provides a simple way to run [Apache FTP sever](http://mina.apache.org/ftpserver/).
- No installation. Packaged in one executable jar file.
- No configuration file. All configuration is supported by command line arguments.
- Supports anonymous login by default.
- Supports FTP and FTPS(FTP over SSL(Secure Sockets Layer))# Download
You can download an executable jar file fromwget https://github.com/benelog/one-ftpserver/releases/download/0.1/one-ftpserver.jar
# Execute
If you execute a jar file with no argument, it will be running with default configuration.java -jar one-ftpserver.jar
You can specify parameters for configurations by command line arguments with 'key=value' format.
java -jar one-ftpserver.jar port=10021 id=benelog password=1234
Currently, 6 parameters are supported as following.java -jar one-ftpserver.jar port=10021 passivePorts=10125-10199 ssl=true id=benelog password=1234 home=/home/benelog/programs
After the execution, configuration parameters are printed to the standard output.
FTP sever started : ftp://127.0.1.1:2003
# Configuration parameters
- ssl : false
- port : 2003
- passivePorts :
- id : benelog
- password : 1234
- home : /home/benelog/workspace/one-ftpserver# Confiugration Parameters
- ssl : true/false. The deafult value is 'false'. If it is 'true', FTPS will be used.
- port : a control port for FTP/FTPS. The default value is 2121.
- passivePorts : ports for passive data connection. You can define a range of ports like '10125-10199' More examples are on
- id : username for login. The default value is 'anonymous'. If you don't specify this parameter, anonymous login will be activated.
- password : password for login.
- home : home directory of user. The default value is working directory of the FTP server.