HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: FTP error
Author: Xavier Roche
Date: 06/17/2012 13:36
 
Hi!,

> This issue isn't yet fixed?
It will be :)

Index: htsftp.c
===================================================================
--- htsftp.c    (révision 113)
+++ htsftp.c    (révision 114)
@@ -329,11 +329,13 @@
         _CHECK_HALT_FTP;
         if ((line[0]=='3') || (line[0]=='2')) {
           // --PASS--
-          strcpybuff(back->info,"login: pass");
-          sprintf(line,"PASS %s",pass);
-          send_line(soc_ctl,line);
-          get_ftp_line(soc_ctl,line,timeout);
-          _CHECK_HALT_FTP;
+          if (line[0] == '3') {
+            strcpybuff(back->info,"login: pass");
+            sprintf(line,"PASS %s",pass);
+            send_line(soc_ctl,line);
+            get_ftp_line(soc_ctl,line,timeout);
+            _CHECK_HALT_FTP;
+          }
           if (line[0]=='2') {  // ok
             send_line(soc_ctl,"TYPE I");
             get_ftp_line(soc_ctl,line,timeout);

 
Reply Create subthread


All articles

Subject Author Date
FTP error

06/17/2012 02:31
Re: FTP error

06/17/2012 13:36




a

Created with FORUM 2.0.11