OSDN Git Service

Fix bugs of initialization of FTPIS.
authors_kawamoto <s_kawamoto@users.sourceforge.jp>
Sat, 29 Oct 2011 14:41:13 +0000 (23:41 +0900)
committers_kawamoto <s_kawamoto@users.sourceforge.jp>
Sat, 29 Oct 2011 14:41:13 +0000 (23:41 +0900)
FFFTP_Eng_Release/FFFTP.exe
Release/FFFTP.exe
connect.c

index 6c2c885..da997a6 100644 (file)
Binary files a/FFFTP_Eng_Release/FFFTP.exe and b/FFFTP_Eng_Release/FFFTP.exe differ
index 1bdc64a..8d17b5c 100644 (file)
Binary files a/Release/FFFTP.exe and b/Release/FFFTP.exe differ
index aec0444..904fd0d 100644 (file)
--- a/connect.c
+++ b/connect.c
@@ -1299,18 +1299,6 @@ static SOCKET DoConnectCrypt(int CryptMode, HOSTDATA* HostData, char *Host, char
                                        {\r
                                                while((Sts = ReadReplyMessage(ContSock, Buf, 1024, &CancelFlg, TmpBuf) / 100) == FTP_PRELIM)\r
                                                        ;\r
-                                               if((Sts = command(ContSock, Reply, &CancelFlg, "PBSZ 0")) == 200)\r
-                                               {\r
-                                                       if((Sts = command(ContSock, Reply, &CancelFlg, "PROT P")) == 200)\r
-                                                       {\r
-                                                               while((Sts = ReadReplyMessage(ContSock, Buf, 1024, &CancelFlg, TmpBuf) / 100) == FTP_PRELIM)\r
-                                                                       ;\r
-                                                       }\r
-                                                       else\r
-                                                               Sts = FTP_ERROR;\r
-                                               }\r
-                                               else\r
-                                                       Sts = FTP_ERROR;\r
                                        }\r
                                        else\r
                                                Sts = FTP_ERROR;\r