Skip to content
FTP testing for NetCAT
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
subdirs
Dockerfile
LICENSE.md
README.md
index.php
start.sh
vsftpd
vsftpd.conf.explicitssl
vsftpd.conf.implicitssl
vsftpd.conf.nossl

README.md

Price GitHub

NetBeans - FTP connection testing Docker image

This Docker based FTP tester helps you setup remote machine with apache2 and vsftpd waiting for NetBeans FTP client to attach (e.g. PHP Remote Server Project)

Project structure

.
|-- Dockerfile                             - Docker file for creating image
|-- LICENSE.md                             - MIT license file
|-- README.md                              - this README.md file
|-- images                                 - sample images show here
|-- index.php                              - sample PHP application
|-- start.sh                               - startup script for Docker container
|-- vsftpd                                 - vsftpd startup script
|-- vsftpd.conf.explicitssl                - settings for explicit ssl
|-- vsftpd.conf.implicitssl                - settings for implicit ssl
`-- vsftpd.conf.nossl                      - settings for no ssl at all

Starting FTP server

Building FTP/WWW container

> git clone https://github.com/mkowsiak/FTPDocker
> cd FTPDocker
> docker build -t ftptest .

Running FTP/WWW container - no ssl

> docker run -i -t \
  -p 80:80 \
  -p 2020:20 \
  -p 2021:21 \
  -p 990:990 \
  -p 21100-21110:21100-21110 \
  ftptest /bin/start.sh no_ssl

Setting up NetBeans FTP connection - no ssl

Running FTP/WWW container - explicit ssl

> docker run -i -t \
  -p 80:80 \
  -p 2020:20 \
  -p 2021:21 \
  -p 990:990 \
  -p 21100-21110:21100-21110 \
  ftptest /bin/start.sh explicit_ssl

Setting up NetBeans FTP connection - explicit ssl

Running FTP/WWW container - implicit ssl

> docker run -i -t \
  -p 80:80 \
  -p 2020:20 \
  -p 2021:21 \
  -p 990:990 \
  -p 21100-21110:21100-21110 \
  ftptest /bin/start.sh implicit_ssl

Setting up NetBeans FTP connection - implicit ssl

Setting up PHP Remote Project

Pick the name of project and location as you like it.

Make sure to setup project such way it point to http://localhost:80 and has no Upload Directory set.

Known limitations

At the moment, FTPDocker has lots of assumptions related to FTP configuration (fixed ports, fixed user name, fixed ftp directory, fixed password, etc.). You can still customize it inside startup script and inside Dockerfile.

You can’t perform that action at this time.