Change sftp example to ftps example

Changing the example to use ftps reflects the explanation in the
documentation as well as what is actually used in publisher.py.

Related to https://github.com/lektor/lektor/issues/50
This commit is contained in:
Matt Maybeno 2016-02-24 08:40:55 -08:00
parent 9f8b6bb448
commit f5aa2b69ea
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ summary: Automatic deployments via FTP
body:
* `ftp://username:password@server:port/path?passive=yes|no`
* `sftp://username:password@server:port/path?passive=yes|no`
* `ftps://username:password@server:port/path?passive=yes|no`
FTP is a very old but well supported protocol. Lektor can publish through it
but to speed up the operation it has to make certain concessions. In
@ -18,7 +18,7 @@ If you have alternatives to using FTP it's recommended to use those. FTP is
a very simple transport format, very slow, underspecified, largely insecure
and not very portable.
The system supports FTP (`ftp://`) and FTP over TLS (`sftp://`). Passive mode
The system supports FTP (`ftp://`) and FTP over TLS (`ftps://`). Passive mode
can be enabled/disabled with the optional `?passive` parameter. It defaults
to true.
@ -26,7 +26,7 @@ to true.
```ini
[servers.production]
target = sftp://myuser:mypassword@ftp.example.com/var/www/example
target = ftps://myuser:mypassword@ftp.example.com/var/www/example
```
## Credentials