aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/ftp/ftp_response.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2013-09-27 16:04:45 +0200
committerHans Nilsson <[email protected]>2013-11-19 14:39:33 +0100
commitb6951505043a89fc13d694f1ed81f5329ce736b1 (patch)
tree38cbcaae0c4e15eb194a50b55b56777c29bd1cf7 /lib/inets/src/ftp/ftp_response.erl
parent4bb55a35e516cb407bdda1b319ab2cd0bb85a3b8 (diff)
downloadotp-b6951505043a89fc13d694f1ed81f5329ce736b1.tar.gz
otp-b6951505043a89fc13d694f1ed81f5329ce736b1.tar.bz2
otp-b6951505043a89fc13d694f1ed81f5329ce736b1.zip
ftp: Implement ftps (upgrade to TLS)
Diffstat (limited to 'lib/inets/src/ftp/ftp_response.erl')
-rw-r--r--lib/inets/src/ftp/ftp_response.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/inets/src/ftp/ftp_response.erl b/lib/inets/src/ftp/ftp_response.erl
index 4bf788e946..b0e8a2ef07 100644
--- a/lib/inets/src/ftp/ftp_response.erl
+++ b/lib/inets/src/ftp/ftp_response.erl
@@ -175,6 +175,7 @@ error_string(Reason) ->
%% Positive Preleminary Reply
interpret_status(?POS_PREL,_,_) -> pos_prel;
+interpret_status(?POS_COMPL, ?AUTH_ACC, 3) -> tls_upgrade;
%% Positive Completion Reply
interpret_status(?POS_COMPL,_,_) -> pos_compl;
%% Positive Intermediate Reply nedd account