How doodle321/local-ftp-client-browser- works
This is a single-file LAN web FTP client. A user opens its browser interface, supplies FTP connection details, and the server uses basic-ftp to access the remote server. The excerpt shows the browser calling the connection endpoint and server handlers performing directory listing, downloads, uploads, directory creation, and deletion. These responsibilities share one implementation file; other UI-to-endpoint links are omitted where the excerpts do not show them.
Main entry points: ftp-client.js FTP web interface
Components 9
Browser interface
- FTP web interface
ftp-client.js
Application server
- Connection endpoint
ftp-client.js - Directory listing
ftp-client.js - File download
ftp-client.js - File upload
ftp-client.js - Directory creation
ftp-client.js - File deletion
ftp-client.js
Remote FTP
- FTP server
Other components
- Local user
Connections 8
- Local user → FTP web interface: opens
README.md - FTP web interface → Connection endpoint: requests connection
ftp-client.js - Connection endpoint → FTP server: authenticates
ftp-client.js - Directory listing → FTP server: lists directory
ftp-client.js - File download → FTP server: downloads file
ftp-client.js - File upload → FTP server: uploads file
ftp-client.js - Directory creation → FTP server: creates directory
ftp-client.js - File deletion → FTP server: checks and deletes
ftp-client.js