pppd hangs up when ftp'ing executable

I am using ppp to connect my desktop machine to a target system both running
QNXRTP (September release). Everything (telnet, http etc.) works fine with
one
exception: when I attempt to transfer binary executables using ftp the ppp
connection
hangs up. For example I can successfully transfer a large (70+k) text file
or gzip’ped
binary (nearly 300k), but trying to transfer any binary executable results
in the ppp
connection going down. The first 1460 bytes of the file makes it to the
destination.

The following is an excerpt from my log file (with comments) showing what
happens:

get /tmp/bigfile - a large text file

Dec 31 20:05:08 nto ftpd[8650774-1]: command: PORT 192,168,0,2,8,38^M
Dec 31 20:05:08 nto ftpd[8650774-1]: <— 200
Dec 31 20:05:08 nto ftpd[8650774-1]: PORT command successful.
Dec 31 20:05:09 nto ftpd[8650774-1]: command: RETR /tmp/bigfile^M
Dec 31 20:05:09 nto ftpd[8650774-1]: <— 150
Dec 31 20:05:09 nto ftpd[8650774-1]: Opening BINARY mode data connection for
/tmp/bigfile (78848 bytes).
Dec 31 20:05:22 nto ftpd[8650774-1]: <— 226
Dec 31 20:05:22 nto ftpd[8650774-1]: Transfer complete.

get /perl.gz - a large binary file

Dec 31 20:05:43 nto ftpd[8650774-1]: command: PORT 192,168,0,2,8,39^M
Dec 31 20:05:43 nto ftpd[8650774-1]: <— 200
Dec 31 20:05:43 nto ftpd[8650774-1]: PORT command successful.
Dec 31 20:05:43 nto ftpd[8650774-1]: command: RETR /perl.gz^M
Dec 31 20:05:43 nto ftpd[8650774-1]: <— 150
Dec 31 20:05:43 nto ftpd[8650774-1]: Opening BINARY mode data connection for
/perl.gz (295902 bytes).
Dec 31 20:06:43 nto ftpd[8650774-1]: <— 226
Dec 31 20:06:43 nto ftpd[8650774-1]: Transfer complete.

get /bin/ls - a small executable

Dec 31 20:08:02 nto ftpd[8650774-1]: command: PORT 192,168,0,2,8,40^M
Dec 31 20:08:02 nto ftpd[8650774-1]: <— 200
Dec 31 20:08:02 nto ftpd[8650774-1]: PORT command successful.
Dec 31 20:08:02 nto ftpd[8650774-1]: command: RETR /bin/ls^M
Dec 31 20:08:02 nto ftpd[8650774-1]: <— 150
Dec 31 20:08:02 nto ftpd[8650774-1]: Opening BINARY mode data connection for
/bin/ls (18846 bytes).

This is where things go wrong

Dec 31 20:08:03 nto pppd[8253457-1]: Hangup (SIGHUP)
Dec 31 20:08:03 nto pppd[8253457-1]: sent [LCP TermReq id=0x3 “User
request”]
Dec 31 20:08:03 nto pppd[8253457-1]: rcvd [LCP TermAck id=0x3]
Dec 31 20:08:03 nto pppd[8253457-1]: Connection terminated.
Dec 31 20:08:03 nto pppd[8253457-1]: Exit.
Dec 31 20:08:03 nto ftpd[8650774-1]: lost connection
Dec 31 20:08:03 nto telnetd[8413198-1]: going down on signal 0
Dec 31 20:08:03 nto telnetd[8413202-1]: going down on signal 0


Does anyone have any idea what might be going on here?

TIA
Cheers
Philip