Sign inSign up

m3yevn/ftp-seer

By m3yevn

•Updated over 6 years ago

FTP Seer : A Backend API server for browsing FTP directory - Demo@(https://ftpseer.herokuapp.com/)

Image
0

1.5K

m3yevn/ftp-seer repository overview

⁠FTP Seer - A Backend for browsing FTP directory

This API server is used to accept host,port,path,username and password to
connect FTP server and send back directory data.

Read this in Simplified Chinese - 看简体中文版本 README.zh-cn⁠

Run on Repl.it
⁠Docker Public Repository

FTP Seer API server is available as docker image also. Run this docker command to get it up and running. Docker CLI must be installed beforehand.

⁠Run on Docker
$ docker pull m3yevn/ftpseer:latest
$ docker run -d --name ftpseer -p 5050:5050  m3yevn/ftp-seer:latest

Now, FTP Seer is accessible at 5050 port of your workstation.

⁠Request Query Params
  • Hostname
  • Port
  • Path
  • Username
  • Password
⁠Sample Request
**"\directory?host=sample&port=21&path=sample&username=sample&password=sample"**
**"\file?host=sample&port=21&path=sample/sample.txt&username=sample&password=sample"**
⁠Try it on demo
⁠HTTP Methods
MethodRouteDescription
GET"/"Getting API health
GET"/directory"Listing directory of FTP server
GET"/file"Getting content of a file in FTP server
⁠Tech Stack
⁠Run this code with
$ npm install
$ node server.js

Tag summary

Content type

Image

Digest

Size

343.4 MB

Last updated

over 6 years ago

docker pull m3yevn/ftp-seer