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

Re: [Ftpapi] FTPAPI: hangs on FTP_LOGIN command



Hi Manuel,

The timeout on FTP_open() is remembered and used for the entire session.

Your session is blocked waiting for data from the network.  It has sent the login information and is waiting for a response from the server -- and from your description, this response is never arriving.

When I have seen problems like this in the past, they were due to firewalls blocking the network packets.  They could also be due to a routing problem or a hardware error, but this is less likely.

Good luck!


On 5/15/17 3:33 AM, Marcos, Manuel wrote:

Hello,

 

we are using the FTPAPI for downloading files from an external ftp server.

Now once in a while the submitted job for downloading the files get stuck and blocks following jobs.

Unfortunately the problem is not reproduceable. It happens not often but when it happens it is dumb..

 

What we are doing:

FTP_Open ( Host ) --> works

FTP_Login ( Session : Username : Password ) --> here it seems to hang

 

From the call stack, we can see the following:

...

FTPAPIR4    LIBFTP    10123    FTP_LOGIN

FTPAPIR4    LIBFTP    10185    FTP_LOGINLONG

FTPAPIR4    LIBFTP    6659     REPLY

FTPAPIR4    LIBFTP    6742     RECVLINE

QP0LLIB1    QSYS      9        select

 

 

Does anyone has ever had similar situations? And maybe a good resolution?

I saw that there is an optional timeout parameter on that FTP_Open command.. Is this only affecting the open or the whole ftp session?

 

Thanks in advance for any help!

 

 

 

Mit besten Grüßen

Manuel Marcos Domenech

 

Wortmann KG

Internationale Schuhproduktionen

Klingenbergstr. 1-3

D-32758 Detmold

 

fon: +49 5231 605 4572

fax: +49 5231 605 5 4572

 

mailto:manuel.marcos@xxxxxxxxxxxx

http://www.wortmann.com

 

Wortmann KG Internationale Schuhproduktionen

Klingenbergstraße 1-3, D-32758 Detmold

Amtsgericht Lemgo HRA 2842

p. h. G.:

- Wortmann Verwaltungs-GmbH, AG Lemgo HRB 3419

  Gf: Jens Beining, Dr. Tobias Seng, Achim Tischer, Dr. Wolfgang Illers

- Ulrich Klüber, Dott. Giovanni Lacatena

 

cid:image003.jpg@01D1328E.6F04B7A0

Doppelgold für Tamaris: Deutschlands beliebtester Modehändler* und Service Champion Nr.1 in der Kategorie stationärer Schuhhandel!**
Diese Auszeichnungen gebühren Ihnen und Ihrem Team - VIELEN DANK FÜR IHR ENGAGEMENT!

[*OC&C Propositionindex 2015 / * *Ranking mit 1900 Unternehmen/Marken im Auftrag der Tageszeitung „Die Welt“ und der ServiceValue GmbH]

 




-- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi