Caprover: FTP

Created on 30 Jun 2018  路  1Comment  路  Source: caprover/caprover

Am I missing it or Is there a way to setup ftp connection in the docs? I have searched through issues and docs and cant find any way to do this and I am fairly new to devops.

Most helpful comment

Assuming that you can have SSH connection to your server, you can for sure use SFTP in the same way. For example, in FileZilla:

screenshot from 2018-06-30 09-56-46

If you want to FTP to your apps (containers), you just need to know their volume path:

$   docker volume ls                      # this will show you a list of disk volumes
$   docker volume inspect volume-name     # volume-name is found using the previous command. This will show you the Mountpoint which is the location of volume on disk

Note that you cannot SFTP to an app without volume, because anything that is not in a disk volume is ephemeral, meaning that it does not survive container restart and it will always go back to the original state.

>All comments

Assuming that you can have SSH connection to your server, you can for sure use SFTP in the same way. For example, in FileZilla:

screenshot from 2018-06-30 09-56-46

If you want to FTP to your apps (containers), you just need to know their volume path:

$   docker volume ls                      # this will show you a list of disk volumes
$   docker volume inspect volume-name     # volume-name is found using the previous command. This will show you the Mountpoint which is the location of volume on disk

Note that you cannot SFTP to an app without volume, because anything that is not in a disk volume is ephemeral, meaning that it does not survive container restart and it will always go back to the original state.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

professphysics picture professphysics  路  3Comments

Yub0 picture Yub0  路  3Comments

drmrbrewer picture drmrbrewer  路  4Comments

Kimkykie picture Kimkykie  路  5Comments

Briston-KS picture Briston-KS  路  5Comments