aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/ftp/ftp_response.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2013-11-12 15:35:37 +0100
committerIngela Anderton Andin <[email protected]>2014-02-05 10:32:26 +0100
commitee15e17821721e727271bc6ea04034712e7ab697 (patch)
treeb076528900b9b06c8b99730d3404a9997f30a25c /lib/inets/src/ftp/ftp_response.erl
parent83e9251f949d360dc4fb0eb04f24c4d5b85915da (diff)
downloadotp-ee15e17821721e727271bc6ea04034712e7ab697.tar.gz
otp-ee15e17821721e727271bc6ea04034712e7ab697.tar.bz2
otp-ee15e17821721e727271bc6ea04034712e7ab697.zip
ftp: towards a working ftps, chapter 1
Diffstat (limited to 'lib/inets/src/ftp/ftp_response.erl')
-rw-r--r--lib/inets/src/ftp/ftp_response.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/inets/src/ftp/ftp_response.erl b/lib/inets/src/ftp/ftp_response.erl
index d60e97d5ee..4131fb43c7 100644
--- a/lib/inets/src/ftp/ftp_response.erl
+++ b/lib/inets/src/ftp/ftp_response.erl
@@ -174,8 +174,9 @@ error_string(Reason) ->
%%%========================================================================
%% Positive Preleminary Reply
-interpret_status(?POS_PREL,_,_) -> pos_prel;
-interpret_status(?POS_COMPL, ?AUTH_ACC, 3) -> tls_upgrade;
+interpret_status(?POS_PREL,_,_) -> pos_prel;
+%%FIXME ??? 3??? interpret_status(?POS_COMPL, ?AUTH_ACC, 3) -> tls_upgrade;
+interpret_status(?POS_COMPL, ?AUTH_ACC, 4) -> tls_upgrade;
%% Positive Completion Reply
interpret_status(?POS_COMPL,_,_) -> pos_compl;
%% Positive Intermediate Reply nedd account