(Arne Babenhauserheide)
2014-02-23: added TODO: ftp:// should not use ftps added TODO: ftp:// should not use ftps
diff --git a/staticsite.py b/staticsite.py
--- a/staticsite.py
+++ b/staticsite.py
@@ -1440,6 +1440,7 @@ def upload(ui, repo, target, ftpstring,
server = serverandpath.split("/")[0]
ftppath = "/".join(serverandpath.split("/")[1:])
timeout = 60
+ # TODO: Use FTP instead of FTPS, if the uri is ftp://
try:
ftp = ftplib.FTP_TLS(server, user, password, "", timeout=timeout)
ftp.prot_p()