Error on RETR cmd when downloading in PASV mode

Home Forums General Report a Bug Error on RETR cmd when downloading in PASV mode

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #28976
    Marcforum
    Participant

    Hi,

    I’am testing Cerberus FTP Server V 2.32 and have the following problem :

    We have an application that downloads file from an FTP server over GPRS network.

    File is downloaded by packet of 24576 bytes using REST/RETR commands.

    (I do know why it is done that way. Maybe buffer limitation on device downloading file ?)

    As you will see in log below, all works fine until two last packets.

    I first get the following error when issuing REST 196608 command

    Thu Jul 28 16:25:32 2005 29 REST 196608

    Thu Jul 28 16:25:32 2005 29 350 Restarting at byte offset 196608. Send STOR or RETR to initiate transfer

    Thu Jul 28 16:25:34 2005 29 RETR Testfile.bin

    Thu Jul 28 16:25:34 2005 29 150 Opening data connection

    Thu Jul 28 16:26:49 2005 29 An invalid argument was supplied.

    Thu Jul 28 16:26:49 2005 29 An established connection was aborted by the software in your host machine.

    Thu Jul 28 16:26:49 2005 29 550 File transfer failed

    Thu Jul 28 16:26:54 2005 29 The connection was closed by the remote socket.

    Thu Jul 28 16:26:54 2005 29 Connection terminated.

    Regarding time, this error occurs at the end of download.

    From there, always same error when trying to get last packet which is never received.

    I activated all log options but still have no information about the “Invalid argument.” error

    Can somebody tell me more about this error ? Why or where does it come from ?

    Thanks in advance.

    Regards.

    Marc.

    Full log file

    Thu Jul 28 15:57:07 2005 Local Interface 5 located at 10.1.1.244

    Thu Jul 28 15:57:07 2005 Listening on Port 18501

    Thu Jul 28 15:57:07 2005

    Thu Jul 28 16:12:52 2005 21 Incoming connection request on interface 10.1.1.244

    Thu Jul 28 16:12:52 2005 21 Connection request accepted from 81.169.66.95

    Thu Jul 28 16:12:53 2005 21 USER testuser

    Thu Jul 28 16:12:53 2005 21 331 User testuser, password please

    Thu Jul 28 16:12:55 2005 21 PASS ***********

    Thu Jul 28 16:12:55 2005 21 230 Password Ok, User logged in

    Thu Jul 28 16:12:56 2005 21 TYPE I

    Thu Jul 28 16:12:56 2005 21 200 Type Binary

    Thu Jul 28 16:12:58 2005 21 CWD /ftproot

    Thu Jul 28 16:12:58 2005 21 250 Change directory ok

    Thu Jul 28 16:12:59 2005 21 SIZE Testfile.bin

    Thu Jul 28 16:12:59 2005 21 213 230072

    Thu Jul 28 16:13:01 2005 21 CWD /ftproot

    Thu Jul 28 16:13:01 2005 21 250 Change directory ok

    Thu Jul 28 16:13:02 2005 21 PASV

    Thu Jul 28 16:13:02 2005 21 227 Entering Passive Mode (190,190,190,190,82,8)

    Thu Jul 28 16:13:04 2005 21 Connection with data socket accepted

    Thu Jul 28 16:13:04 2005 21 REST 0

    Thu Jul 28 16:13:04 2005 21 350 Restarting at byte offset 0. Send STOR or RETR to initiate transfer

    Thu Jul 28 16:13:06 2005 21 RETR Testfile.bin

    Thu Jul 28 16:13:06 2005 21 150 Opening data connection

    Thu Jul 28 16:14:19 2005 21 An existing connection was forcibly closed by the remote host.

    Thu Jul 28 16:14:19 2005 21 An established connection was aborted by the software in your host machine.

    Thu Jul 28 16:14:19 2005 21 550 File transfer failed

    Thu Jul 28 16:14:23 2005 21 The connection was closed by the remote socket.

    Thu Jul 28 16:14:23 2005 21 Connection terminated.

    Thu Jul 28 16:14:27 2005 22 Incoming connection request on interface 10.1.1.244

    Thu Jul 28 16:14:27 2005 22 Connection request accepted from 81.169.66.95

    Thu Jul 28 16:14:28 2005 22 USER testuser

    Thu Jul 28 16:14:28 2005 22 331 User testuser, password please

    Thu Jul 28 16:14:30 2005 22 PASS ***********

    Thu Jul 28 16:14:30 2005 22 230 Password Ok, User logged in

    Thu Jul 28 16:14:31 2005 22 TYPE I

    Thu Jul 28 16:14:31 2005 22 200 Type Binary

    Thu Jul 28 16:14:33 2005 22 CWD /ftproot

    Thu Jul 28 16:14:33 2005 22 250 Change directory ok

    Thu Jul 28 16:14:34 2005 22 PASV

    Thu Jul 28 16:14:34 2005 22 227 Entering Passive Mode (190,190,190,190,82,8)

    Thu Jul 28 16:14:36 2005 22 Connection with data socket accepted

    Thu Jul 28 16:14:37 2005 22 REST 24576

    Thu Jul 28 16:14:37 2005 22 350 Restarting at byte offset 24576. Send STOR or RETR to initiate transfer

    Thu Jul 28 16:14:38 2005 22 RETR Testfile.bin

    Thu Jul 28 16:14:38 2005 22 150 Opening data connection

    Thu Jul 28 16:15:51 2005 22 An existing connection was forcibly closed by the remote host.

    Thu Jul 28 16:15:51 2005 22 An established connection was aborted by the software in your host machine.

    Thu Jul 28 16:15:51 2005 22 550 File transfer failed

    Thu Jul 28 16:15:56 2005 22 The connection was closed by the remote socket.

    Thu Jul 28 16:15:56 2005 22 Connection terminated.

    Thu Jul 28 16:16:00 2005 23 Incoming connection request on interface 10.1.1.244

    Thu Jul 28 16:16:00 2005 23 Connection request accepted from 81.169.66.95

    Thu Jul 28 16:16:02 2005 23 USER testuser

    Thu Jul 28 16:16:02 2005 23 331 User testuser, password please

    Thu Jul 28 16:16:03 2005 23 PASS ***********

    Thu Jul 28 16:16:03 2005 23 230 Password Ok, User logged in

    Thu Jul 28 16:16:05 2005 23 TYPE I

    Thu Jul 28 16:16:05 2005 23 200 Type Binary

    Thu Jul 28 16:16:06 2005 23 CWD /ftproot

    Thu Jul 28 16:16:06 2005 23 250 Change directory ok

    Thu Jul 28 16:16:08 2005 23 PASV

    Thu Jul 28 16:16:08 2005 23 227 Entering Passive Mode (190,190,190,190,82,8)

    Thu Jul 28 16:16:10 2005 23 Connection with data socket accepted

    Thu Jul 28 16:16:10 2005 23 REST 49152

    Thu Jul 28 16:16:10 2005 23 350 Restarting at byte offset 49152. Send STOR or RETR to initiate transfer

    Thu Jul 28 16:16:12 2005 23 RETR Testfile.bin

    Thu Jul 28 16:16:12 2005 23 150 Opening data connection

    Thu Jul 28 16:17:27 2005 23 An existing connection was forcibly closed by the remote host.

    Thu Jul 28 16:17:27 2005 23 An established connection was aborted by the software in your host machine.

    Thu Jul 28 16:17:27 2005 23 550 File transfer failed

    Thu Jul 28 16:17:31 2005 23 The connection was closed by the remote socket.

    Thu Jul 28 16:17:31 2005 23 Connection terminated.

    Thu Jul 28 16:17:34 2005 24 Incoming connection request on interface 10.1.1.244

    Thu Jul 28 16:17:34 2005 24 Connection request accepted from 81.169.66.95

    Thu Jul 28 16:17:36 2005 24 USER testuser

    Thu Jul 28 16:17:36 2005 24 331 User testuser, password please

    Thu Jul 28 16:17:37 2005 24 PASS ***********

    Thu Jul 28 16:17:37 2005 24 230 Password Ok, User logged in

    Thu Jul 28 16:17:39 2005 24 TYPE I

    Thu Jul 28 16:17:39 2005 24 200 Type Binary

    Thu Jul 28 16:17:40 2005 24 CWD /ftproot

    Thu Jul 28 16:17:40 2005 24 250 Change directory ok

    Thu Jul 28 16:17:42 2005 24 PASV

    Thu Jul 28 16:17:42 2005 24 227 Entering Passive Mode (190,190,190,190,82,8)

    Thu Jul 28 16:17:44 2005 24 Connection with data socket accepted

    Thu Jul 28 16:17:44 2005 24 REST 73728

    Thu Jul 28 16:17:44 2005 24 350 Restarting at byte offset 73728. Send STOR or RETR to initiate transfer

    Thu Jul 28 16:17:46 2005 24 RETR Testfile.bin

    Thu Jul 28 16:17:46 2005 24 150 Opening data connection

    Thu Jul 28 16:19:00 2005 24 An existing connection was forcibly closed by the remote host.

    Thu Jul 28 16:19:00 2005 24 An established connection was aborted by the software in your host machine.

    Thu Jul 28 16:19:00 2005 24 550 File transfer failed

    Thu Jul 28 16:19:05 2005 24 The connection was closed by the remote socket.

    Thu Jul 28 16:19:05 2005 24 Connection terminated.

    Thu Jul 28 16:19:09 2005 25 Incoming connection request on interface 10.1.1.244

    Thu Jul 28 16:19:09 2005 25 Connection request accepted from 81.169.66.95

    Thu Jul 28 16:19:11 2005 25 USER testuser

    Thu Jul 28 16:19:11 2005 25 331 User testuser, password please

    Thu Jul 28 16:19:12 2005 25 PASS ***********

    Thu Jul 28 16:19:12 2005 25 230 Password Ok, User logged in

    Thu Jul 28 16:19:14 2005 25 TYPE I

    Thu Jul 28 16:19:14 2005 25 200 Type Binary

    Thu Jul 28 16:19:15 2005 25 CWD /ftproot

    Thu Jul 28 16:19:15 2005 25 250 Change directory ok

    Thu Jul 28 16:19:17 2005 25 PASV

    Thu Jul 28 16:19:17 2005 25 227 Entering Passive Mode (190,190,190,190,82,8)

    Thu Jul 28 16:19:19 2005 25 Connection with data socket accepted

    Thu Jul 28 16:19:19 2005 25 REST 98304

    Thu Jul 28 16:19:19 2005 25 350 Restarting at byte offset 98304. Send STOR or RETR to initiate transfer

    Thu Jul 28 16:19:21 2005 25 RETR Testfile.bin

    Thu Jul 28 16:19:21 2005 25 150 Opening data connection

    Thu Jul 28 16:20:36 2005 25 An existing connection was forcibly closed by the remote host.

    Thu Jul 28 16:20:36 2005 25 An established connection was aborted by the software in your host machine.

    Thu Jul 28 16:20:36 2005 25 550 File transfer failed

    Thu Jul 28 16:20:41 2005 25 The connection was closed by the remote socket.

    Thu Jul 28 16:20:41 2005 25 Connection terminated.

    Thu Jul 28 16:20:44 2005 26 Incoming connection request on interface 10.1.1.244

    Thu Jul 28 16:20:44 2005 26 Connection request accepted from 81.169.66.95

    Thu Jul 28 16:20:45 2005 26 USER testuser

    Thu Jul 28 16:20:45 2005 26 331 User testuser, password please

    Thu Jul 28 16:20:46 2005 26 PASS ***********

    Thu Jul 28 16:20:46 2005 26 230 Password Ok, User logged in

    Thu Jul 28 16:20:48 2005 26 TYPE I

    Thu Jul 28 16:20:48 2005 26 200 Type Binary

    Thu Jul 28 16:20:49 2005 26 CWD /ftproot

    Thu Jul 28 16:20:49 2005 26 250 Change directory ok

    Thu Jul 28 16:20:51 2005 26 PASV

    Thu Jul 28 16:20:51 2005 26 227 Entering Passive Mode (190,190,190,190,82,8)

    Thu Jul 28 16:20:53 2005 26 Connection with data socket accepted

    Thu Jul 28 16:20:53 2005 26 REST 122880

    Thu Jul 28 16:20:53 2005 26 350 Restarting at byte offset 122880. Send STOR or RETR to initiate transfer

    Thu Jul 28 16:20:54 2005 26 RETR Testfile.bin

    Thu Jul 28 16:20:54 2005 26 150 Opening data connection

    Thu Jul 28 16:22:10 2005 26 An existing connection was forcibly closed by the remote host.

    Thu Jul 28 16:22:10 2005 26 An established connection was aborted by the software in your host machine.

    Thu Jul 28 16:22:10 2005 26 550 File transfer failed

    Thu Jul 28 16:22:14 2005 26 The connection was closed by the remote socket.

    Thu Jul 28 16:22:14 2005 26 Connection terminated.

    Thu Jul 28 16:22:19 2005 27 Incoming connection request on interface 10.1.1.244

    Thu Jul 28 16:22:19 2005 27 Connection request accepted from 81.169.66.95

    Thu Jul 28 16:22:20 2005 27 USER testuser

    Thu Jul 28 16:22:20 2005 27 331 User testuser, password please

    Thu Jul 28 16:22:21 2005 27 PASS ***********

    Thu Jul 28 16:22:21 2005 27 230 Password Ok, User logged in

    Thu Jul 28 16:22:23 2005 27 TYPE I

    Thu Jul 28 16:22:23 2005 27 200 Type Binary

    Thu Jul 28 16:22:24 2005 27 CWD /ftproot

    Thu Jul 28 16:22:24 2005 27 250 Change directory ok

    Thu Jul 28 16:22:25 2005 27 PASV

    Thu Jul 28 16:22:25 2005 27 227 Entering Passive Mode (190,190,190,190,82,8)

    Thu Jul 28 16:22:27 2005 27 Connection with data socket accepted

    Thu Jul 28 16:22:28 2005 27 REST 147456

    Thu Jul 28 16:22:28 2005 27 350 Restarting at byte offset 147456. Send STOR or RETR to initiate transfer

    Thu Jul 28 16:22:29 2005 27 RETR Testfile.bin

    Thu Jul 28 16:22:29 2005 27 150 Opening data connection

    Thu Jul 28 16:23:41 2005 27 An existing connection was forcibly closed by the remote host.

    Thu Jul 28 16:23:41 2005 27 An established connection was aborted by the software in your host machine.

    Thu Jul 28 16:23:41 2005 27 550 File transfer failed

    Thu Jul 28 16:23:46 2005 27 The connection was closed by the remote socket.

    Thu Jul 28 16:23:46 2005 27 Connection terminated.

    Thu Jul 28 16:23:49 2005 28 Incoming connection request on interface 10.1.1.244

    Thu Jul 28 16:23:49 2005 28 Connection request accepted from 81.169.66.95

    Thu Jul 28 16:23:51 2005 28 USER testuser

    Thu Jul 28 16:23:51 2005 28 331 User testuser, password please

    Thu Jul 28 16:23:52 2005 28 PASS ***********

    Thu Jul 28 16:23:52 2005 28 230 Password Ok, User logged in

    Thu Jul 28 16:23:54 2005 28 TYPE I

    Thu Jul 28 16:23:54 2005 28 200 Type Binary

    Thu Jul 28 16:23:55 2005 28 CWD /ftproot

    Thu Jul 28 16:23:55 2005 28 250 Change directory ok

    Thu Jul 28 16:23:57 2005 28 PASV

    Thu Jul 28 16:23:57 2005 28 227 Entering Passive Mode (190,190,190,190,82,8)

    Thu Jul 28 16:23:58 2005 28 Connection with data socket accepted

    Thu Jul 28 16:23:59 2005 28 REST 172032

    Thu Jul 28 16:23:59 2005 28 350 Restarting at byte offset 172032. Send STOR or RETR to initiate transfer

    Thu Jul 28 16:24:00 2005 28 RETR Testfile.bin

    Thu Jul 28 16:24:00 2005 28 150 Opening data connection

    Thu Jul 28 16:25:15 2005 28 An existing connection was forcibly closed by the remote host.

    Thu Jul 28 16:25:15 2005 28 An established connection was aborted by the software in your host machine.

    Thu Jul 28 16:25:15 2005 28 550 File transfer failed

    Thu Jul 28 16:25:20 2005 28 The connection was closed by the remote socket.

    Thu Jul 28 16:25:20 2005 28 Connection terminated.

    Thu Jul 28 16:25:23 2005 29 Incoming connection request on interface 10.1.1.244

    Thu Jul 28 16:25:23 2005 29 Connection request accepted from 81.169.66.95

    Thu Jul 28 16:25:24 2005 29 USER testuser

    Thu Jul 28 16:25:24 2005 29 331 User testuser, password please

    Thu Jul 28 16:25:26 2005 29 PASS ***********

    Thu Jul 28 16:25:26 2005 29 230 Password Ok, User logged in

    Thu Jul 28 16:25:27 2005 29 TYPE I

    Thu Jul 28 16:25:27 2005 29 200 Type Binary

    Thu Jul 28 16:25:28 2005 29 CWD /ftproot

    Thu Jul 28 16:25:28 2005 29 250 Change directory ok

    Thu Jul 28 16:25:30 2005 29 PASV

    Thu Jul 28 16:25:30 2005 29 227 Entering Passive Mode (190,190,190,190,82,8)

    Thu Jul 28 16:25:32 2005 29 Connection with data socket accepted

    Thu Jul 28 16:25:32 2005 29 REST 196608

    Thu Jul 28 16:25:32 2005 29 350 Restarting at byte offset 196608. Send STOR or RETR to initiate transfer

    Thu Jul 28 16:25:34 2005 29 RETR Testfile.bin

    Thu Jul 28 16:25:34 2005 29 150 Opening data connection

    Thu Jul 28 16:26:49 2005 29 An invalid argument was supplied.

    Thu Jul 28 16:26:49 2005 29 An established connection was aborted by the software in your host machine.

    Thu Jul 28 16:26:49 2005 29 550 File transfer failed

    Thu Jul 28 16:26:54 2005 29 The connection was closed by the remote socket.

    Thu Jul 28 16:26:54 2005 29 Connection terminated.

    Thu Jul 28 16:26:58 2005 30 Incoming connection request on interface 10.1.1.244

    Thu Jul 28 16:26:58 2005 30 Connection request accepted from 81.169.66.95

    Thu Jul 28 16:27:00 2005 30 USER testuser

    Thu Jul 28 16:27:00 2005 30 331 User testuser, password please

    Thu Jul 28 16:27:01 2005 30 PASS ***********

    Thu Jul 28 16:27:01 2005 30 230 Password Ok, User logged in

    Thu Jul 28 16:27:02 2005 30 TYPE I

    Thu Jul 28 16:27:02 2005 30 200 Type Binary

    Thu Jul 28 16:27:04 2005 30 CWD /ftproot

    Thu Jul 28 16:27:04 2005 30 250 Change directory ok

    Thu Jul 28 16:27:05 2005 30 PASV

    Thu Jul 28 16:27:05 2005 30 227 Entering Passive Mode (190,190,190,190,82,8)

    Thu Jul 28 16:27:07 2005 30 Connection with data socket accepted

    Thu Jul 28 16:27:08 2005 30 REST 221184

    Thu Jul 28 16:27:08 2005 30 350 Restarting at byte offset 221184. Send STOR or RETR to initiate transfer

    Thu Jul 28 16:27:09 2005 30 RETR Testfile.bin

    Thu Jul 28 16:27:09 2005 30 150 Opening data connection

    Thu Jul 28 16:27:09 2005 30 An invalid argument was supplied.

    Thu Jul 28 16:27:09 2005 30 An established connection was aborted by the software in your host machine.

    Thu Jul 28 16:27:09 2005 30 550 File transfer failed

    Thu Jul 28 16:28:51 2005 30 Connection timed out. Shutting down connection…

    Thu Jul 28 16:28:51 2005 30 Connection terminated.

    Thu Jul 28 16:28:01 2005 31 Incoming connection request on interface 10.1.1.244

    Thu Jul 28 16:28:01 2005 31 Connection request accepted from 81.169.66.95

    Thu Jul 28 16:28:02 2005 31 USER testuser

    Thu Jul 28 16:28:02 2005 31 331 User testuser, password please

    Thu Jul 28 16:28:04 2005 31 PASS ***********

    Thu Jul 28 16:28:04 2005 31 230 Password Ok, User logged in

    Thu Jul 28 16:28:05 2005 31 TYPE I

    Thu Jul 28 16:28:05 2005 31 200 Type Binary

    Thu Jul 28 16:28:06 2005 31 CWD /ftproot

    Thu Jul 28 16:28:06 2005 31 250 Change directory ok

    Thu Jul 28 16:28:08 2005 31 PASV

    Thu Jul 28 16:28:08 2005 31 227 Entering Passive Mode (190,190,190,190,82,8)

    Thu Jul 28 16:28:10 2005 31 Connection with data socket accepted

    Thu Jul 28 16:28:10 2005 31 REST 221184

    Thu Jul 28 16:28:10 2005 31 350 Restarting at byte offset 221184. Send STOR or RETR to initiate transfer

    Thu Jul 28 16:28:12 2005 31 RETR Testfile.bin

    Thu Jul 28 16:28:12 2005 31 150 Opening data connection

    Thu Jul 28 16:28:12 2005 31 An invalid argument was supplied.

    Thu Jul 28 16:28:12 2005 31 An established connection was aborted by the software in your host machine.

    Thu Jul 28 16:28:12 2005 31 550 File transfer failed

    Thu Jul 28 16:29:53 2005 31 Connection timed out. Shutting down connection…

    Thu Jul 28 16:29:53 2005 31 Connection terminated.

    Thu Jul 28 16:29:07 2005 32 Incoming connection request on interface 10.1.1.244

    Thu Jul 28 16:29:07 2005 32 Connection request accepted from 81.169.66.95

    Thu Jul 28 16:29:08 2005 32 USER testuser

    Thu Jul 28 16:29:08 2005 32 331 User testuser, password please

    Thu Jul 28 16:29:09 2005 32 PASS ***********

    Thu Jul 28 16:29:09 2005 32 230 Password Ok, User logged in

    Thu Jul 28 16:29:11 2005 32 TYPE I

    Thu Jul 28 16:29:11 2005 32 200 Type Binary

    Thu Jul 28 16:29:12 2005 32 CWD /ftproot

    Thu Jul 28 16:29:12 2005 32 250 Change directory ok

    Thu Jul 28 16:29:14 2005 32 PASV

    Thu Jul 28 16:29:14 2005 32 227 Entering Passive Mode (190,190,190,190,82,8)

    Thu Jul 28 16:29:16 2005 32 Connection with data socket accepted

    Thu Jul 28 16:29:16 2005 32 REST 221184

    Thu Jul 28 16:29:16 2005 32 350 Restarting at byte offset 221184. Send STOR or RETR to initiate transfer

    Thu Jul 28 16:29:18 2005 32 RETR Testfile.bin

    Thu Jul 28 16:29:18 2005 32 150 Opening data connection

    Thu Jul 28 16:29:18 2005 32 An invalid argument was supplied.

    Thu Jul 28 16:29:18 2005 32 An established connection was aborted by the software in your host machine.

    Thu Jul 28 16:29:18 2005 32 550 File transfer failed

    Thu Jul 28 16:30:59 2005 32 Connection timed out. Shutting down connection…

    Thu Jul 28 16:30:59 2005 32 Connection terminated.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Close Cart

Shopping Cart