cURL / Mailing Lists / curl-users / Single Mail

curl-users

FTP problem

From: Steven Shourds <srs_at_perfectionsoftware.com>
Date: Tue, 10 Feb 2004 04:18:12 -0500

I am executing curl and getting a timeout when doing an FTP post. See trace below. My timeout parameter is set to 90 seconds. The post usually concludes in less that 5 seconds.

I have troubleshot the problem down to the router I am using. I have a Multitech RF560VPN router and it times out. I use an SMC7004ABR and it works fine.

Can anyone on this list suggest a reason why the timeout occurs on one router and not the other? Has anyone seen this before?

Also, if I use the Windows FTP client it works with both routers.

Steve

-----
== Info: About to connect() to ftp.whatever.com:21
== Info: Connected to ftp.whatever.com (xxx.xxx.xxx.xxx) port 21
<= Recv header, 7 bytes (0x7)
0000: 220-
<= Recv header, 75 bytes (0x4b)
0000: ********************************* WARNING ********************
0040: *********
<= Recv header, 63 bytes (0x3f)
0000: This system is for use by authorized users only.
<= Recv header, 75 bytes (0x4b)
0000: **************************************************************
0040: *********
<= Recv header, 75 bytes (0x4b)
0000: All activities on this system are recorded and may be monitore
0040: d for the
<= Recv header, 78 bytes (0x4e)
0000: purpose of tracking down intruders. In the course of monitoring
0040: individuals
<= Recv header, 78 bytes (0x4e)
0000: improperly using this system or during system maintenance, the a
0040: ctivities of
<= Recv header, 59 bytes (0x3b)
0000: authorized users may also be monitored.
<= Recv header, 3 bytes (0x3)
0000:
<= Recv header, 79 bytes (0x4f)
0000: Anyone using this system expressly consents to such monitoring a
0040: nd is advised
<= Recv header, 76 bytes (0x4c)
0000: that if such monitoring reveals possible evidence of criminal
0040: activity,
<= Recv header, 73 bytes (0x49)
0000: system personnel may provide the evidence of such monitoring
0040: to law
<= Recv header, 50 bytes (0x32)
0000: enforcement officials.
<= Recv header, 3 bytes (0x3)
0000:
<= Recv header, 154 bytes (0x9a)
0000: Global Exchange Services, Inc. 100 Edison Park Drive, Gaither
0040: sburg, MD 20878 ***********************************************
0080: ************************
<= Recv header, 41 bytes (0x29)
0000: 220 Proxy first requires authentication
=> Send header, 14 bytes (0xe)
0000: USER xxxxx
<= Recv header, 47 bytes (0x2f)
0000: 331 Enter authentication password for xxxxxx
=> Send header, 15 bytes (0xf)
0000: PASS xxxxx
<= Recv header, 33 bytes (0x21)
0000: 230 User authenticated to proxy
== Info: We have successfully logged in
=> Send header, 5 bytes (0x5)
0000: PWD
<= Recv header, 40 bytes (0x28)
0000: 500 must be connected to remote server
=> Send header, 44 bytes (0x2c)
0000: USER whatever 15171
<= Recv header, 54 bytes (0x36)
0000: 331-(----GATEWAY CONNECTED TO whatever----)
<= Recv header, 68 bytes (0x44)
0000: 331-(220 Enterprise FTP server (Version 7.0 2000 February) ready
0040: .)
<= Recv header, 36 bytes (0x24)
0000: 331 User name okay, need password.
=> Send header, 15 bytes (0xf)
0000: PASS xxxxx
<= Recv header, 30 bytes (0x1e)
0000: 230-User logged in, proceed.
<= Recv header, 67 bytes (0x43)
0000: .Current Default Relationship - Recv: whatever APRF: *BINAR
0040: Y
<= Recv header, 21 bytes (0x15)
0000: .Get option: single
<= Recv header, 6 bytes (0x6)
0000: 230
== Info: Telling server to connect to 10.1.1.4:4713
=> Send header, 22 bytes (0x16)
0000: PORT 10,1,1,4,18,105
<= Recv header, 19 bytes (0x13)
0000: 200 Command Okay.
== Info: Ordered connect of the data stream with PORT!
=> Send header, 8 bytes (0x8)
0000: TYPE I
<= Recv header, 19 bytes (0x13)
0000: 200 TYPE set to I
=> Send header, 26 bytes (0x1a)
0000: STOR %TRANSLINK%XMLPO%%b
<= Recv header, 43 bytes (0x2b)
0000: 150 Opening data connection for transfer.
== Info: Connection accepted from server
=> Send data, 1606 bytes (0x646)
0000: <?xml version="1.0" encoding="UTF-8"?>.<!DOCTYPE cXML SYSTEM "h
0040: ttp://xml.cxml.org/schemas/cXML/1.2.008/cXML.dtd">.<cXML timesta
0080: mp="2004-02-05T14:24:40" payloadID="20040205_142440_3M_mema137_p
00c0: o811">.<Header>. <From>. <Credential domain="whatever
0100: .com">. <Identity>Auto Paint &amp; Supply Store - Loc 1<
0140: /Identity>. <SharedSecret></SharedSecret>. </Credential>
0180: . </From>. <To>. <Credential domain="3M Minn Mining &amp; M
01c0: fr">. <Identity></Identity>. </Credential>. </To>. <Se
0200: nder>. <Credential domain="perfectionsoftware.com">. <Id
0240: entity>whatever 15171</Identity
0280: >. <SharedSecret>xxxxxxx</SharedSecret>. </C
02c0: redential>. <UserAgent>Perfection Management 11.6 - V2</UserA
0300: gent>. </Sender>.</Header>.<Request deploymentMode="production"
0340: >.<OrderRequest>. <OrderRequestHeader orderID="811" orderDate="
0380: 2004-02-05">. <Total>. <Money currency="USD"/>. </Tot
03c0: al>. <ShipTo>. <Address addressID="QCV5232">. <Na
0400: me>Auto Paint &amp; Supply Store - Loc 1</Name>. </Address>
0440: . </ShipTo>. <BillTo>. <Address addressID="CFX8471">.
0480: <Name>Auto Paint &amp; Supply Store - Loc 1</Name>.
04c0: </Address>. </BillTo>. <Shipping>. <Money currency="
0500: USD"/>. <Description></Description>. </Shipping>. <Co
0540: mments></Comments>. </OrderRequestHeader>. <ItemOut quantity="
0580: 8">. <ItemID>. <SupplierPartID>1050</SupplierPartID>.
05c0: </ItemID>. <ItemDetail>. <UnitOfMeasure>BX</UnitOfMeasu
0600: re>. </ItemDetail>. </ItemOut>.</OrderRequest>.</Request>.</
0640: cXML>.
== Info: Transfer aborted due to timeout
== Info: Connection #0 left intact

-- 
Steve
Received on 2004-02-10