Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tranphuquy19/ftp-express-server
Ko có hoặc tìm ko ra thì tự tạo 1 cái mà sài thôi kkk
https://github.com/tranphuquy19/ftp-express-server
Last synced: 2 days ago
JSON representation
Ko có hoặc tìm ko ra thì tự tạo 1 cái mà sài thôi kkk
- Host: GitHub
- URL: https://github.com/tranphuquy19/ftp-express-server
- Owner: tranphuquy19
- Created: 2020-02-22T15:05:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T08:12:26.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T15:38:20.966Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 139 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FTP Express Server
## 1. Clone this project
```shell
git clone https://github.com/tranphuquy19/ftp-express-server.git
cd ftp-express-server
```## 2. Install dependencies
```npm install``` or ```yarn```
## 3. Run this project
```npm start``` or ```yarn start```
## 4. Open ftp server
Open this link [ftp://127.0.0.1:2121](ftp://127.0.0.1:2121) in incognito window (Ctrl+Shift+N) to test login function.
## 5. Open http server
Server started at port: `3000` - [http://localhost:3000](http://localhost:3000)
## 6. Advanced
### 6.1 Change FTP or HTTP server port
The HTTP server is started at the default port `3000`, and the FTP server is `2121`. Remove the "#" character before `PORT=xxxx` in the ".env" file to customize the server port
**Note**: on Linux operating system environment, to start the server with port value from 0 - 1023, supperuser permission is required. To fix, running `sudo node start` or` sudo yarn start`, enter the password if required!
**Attention**: Running applications at these ports may conflict with existing OS services
### 6.2 Change FTP username and FTP password
By default, the user logs in to the ftp server with any username and password as "quydeptroai". Please edit the file ".env" and re-run server to apply the new username and password!
## Q&A
- Q: The FTP server successfully logged in at localhost but the other host(another ip) failed?
- A: Please change the host's ip value at .env file