From f5aa2b69ea6db1249392db8a289655243c522636 Mon Sep 17 00:00:00 2001 From: Matt Maybeno Date: Wed, 24 Feb 2016 08:40:55 -0800 Subject: [PATCH] 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 --- content/docs/deployment/ftp/contents.lr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/docs/deployment/ftp/contents.lr b/content/docs/deployment/ftp/contents.lr index 36ee7f07..18c7ea8b 100644 --- a/content/docs/deployment/ftp/contents.lr +++ b/content/docs/deployment/ftp/contents.lr @@ -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