[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FTP over proxy



   Hello,
   i'm using a proxy  and use this code:
   C* connect to Proxy-server.  If an error occurs,
   C*  display an error message and exit.
   C                   EVAL      sess2         = ftp_conn(ProxyDomain:

   C                                             ProxyUsrId: ProxyUsrPwd)
   C                   IF        sess2 < 0

   C                   EVAL      Msg           = ftp_errorMsg(0)

   i receive a -1, but in the log it looks good,
   in the field Msg i get 'GeNUGate-FTP-Relay OK.'
   0: FTPAPI version 2.3 released on 2010-05-27    
   0: 220- GeNUGate-FTP-Relay OK.                  
   0: 220- Authenticate with: pass                 
   0: 220  OK                                      
   0: > USER ua3hb                                 
   0: 331 Password required for method pass        
   0: > PASS **********          
   0: 220- GeNUGate-FTP-Relay OK.            
   0: 220- Login with User@Host              
   0: 220- Please use Passive Mode (pasv)    
   0: 220  OK                                                  
   what or where is the problem ?
   when i try to connect to the proxy with FTP i see this:
      Es wird versucht, eine Verbindung zu Host MOGG....
       220- GeNUGate-FTP-Relay OK.                          
      220- Authenticate with: pass                         
      220  OK                                              
    > ua3hb                                                
      331 Password required for method pass                
      220- GeNUGate-FTP-Relay OK.                          
      220- Login with User@Host                            
      220- Please use Passive Mode (pasv)                  
      220  OK                                              
      command not allowed. Please login first      

   mit freundlichen Grüßen
   Hans Bertol, ITF1
   _________________________________
   Hans Bertol
   MAN Nutzfahrzeuge Österreich AG
   Geschäftseinheit Spezialfahrzeuge
   Factory IT Integration & Coordination (ITF1)
   und
   Notes Administration Österreich
   Brunner Strasse 44-50
   1230  Wien
   Tel: +43-1-86631-2129
   Mob +43-664-1000934
   mailto:Hans.Bertol@xxxxxx
   ********************************************
   Die Firmendaten unserer Gesellschaften gemäß § 14 UGB finden Sie unter
   "Impressum" auf www.man.at.
   This e-mail (including any attachments) is confidential and may be
   privileged.
   If you have received it by mistake, please notify the sender by e-mail
   and delete this message from your system.
   Any unauthorised use or dissemination of this e-mail in whole or in
   part is strictly prohibited.
   Please note that e-mails are susceptible to change.
   MAN Nutzfahrzeuge Österreich AG (including its group companies) shall
   not be liable for the improper or incomplete transmission of the
   information contained in this communication nor for any delay in its
   receipt.
   MAN Nutzfahrzeuge Österreich AG (or its group companies) does not
   guarantee that the integrity of this communication has been maintained
   nor that this communication is free of viruses, interceptions or
   interference.
   ********************************************
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------