FTPSRV and PCjr.
Posted: Tue Apr 22, 2014 9:25 am
I am having trouble with receiving files when using FTPSRV. For small files, it may work OK, but sometimes the file sizes don't match. But for larger (>100K) files, the server will timeout or fail to receive them. If it resends, I have seen it append the retransfered file to the next file.
My PCJr. has a jrIDE and a minimal configuration. The hard drive is a 256MB CF card (w/IDE adapter) formatted with only 32MB with DOS 3.3. DEVICE=C:\JRCONFIG\JRCONFIG.SYS /V32. Only the RTC program and CTMOUSE are loaded in AUTOEXEC.BAT. I am using a Xircom PE3-10BC and an (unmodified) IBM Parallel Printer Attachment. There is also the Speech Adapter, 64KB Expansion, 45W Power Board, Internal Modem and Floppy Controller, and the 8088 is being used and the BASIC Cartridge is plugged in.
I initialize the Ethernet Adapter with the following in a batch file :
c:\mtcp\pe3pd sint=60 non
set mtcpcfg=c:\mtcp\tcp.cfg
c:\mtcp\dhcp.exe
My TCP.CFG reads as follows (without the lines added by DHCP) :
PACKETINT 0x60
HOSTNAME PCjr
FTPSRV_PASSWORD_FILE ftppass.txt
FTPSRV_LOG_FILE log.txt
FTPSRV_EXCLUDE_DRIVES AB
FTPSRV_FILEBUFFER_SIZE 16
FTPSRV_TCPBUFFER_SIZE 16
FTPSRV_PACKETS_PER_POLL 10
With these same settings, and a 16-bit Ethernet card, the FTPSRV program handles transfers just fine in my 486.
While I have the ability to make the Parallel Printer Attachment bidirectional, I would really like to make sure unidirectional transfers work properly, slow as they are (but faster and more reliable than a null-modem). Are there any tested settings that would work reliably with this setup?
I should note that I am using Filezilla Client 3.8.0 to transfer files. I have also tried the Xircom with my Tandy 1000SX and even with a bidirectional parallel port, the results are the same. However, if I activate the 286 Express accelerator board, the system does not choke on larger file transfers. However, the FTP client will claim a successful transfer but some of the files transferred are larger on the destination (the PCjr or Tandy) than they were on the source (modern PC).
I set the Transfer Type to Binary in Filezilla and the problem of extra bytes seems to have gone away. I also limited the connection speeds to 25/25KB/sec, and that seems to have helped quite a bit with the file transfers of large files to the system. I also set the maximum number of simultaneous connections to 1. Transferring large files from the older system is still a problem.
My PCJr. has a jrIDE and a minimal configuration. The hard drive is a 256MB CF card (w/IDE adapter) formatted with only 32MB with DOS 3.3. DEVICE=C:\JRCONFIG\JRCONFIG.SYS /V32. Only the RTC program and CTMOUSE are loaded in AUTOEXEC.BAT. I am using a Xircom PE3-10BC and an (unmodified) IBM Parallel Printer Attachment. There is also the Speech Adapter, 64KB Expansion, 45W Power Board, Internal Modem and Floppy Controller, and the 8088 is being used and the BASIC Cartridge is plugged in.
I initialize the Ethernet Adapter with the following in a batch file :
c:\mtcp\pe3pd sint=60 non
set mtcpcfg=c:\mtcp\tcp.cfg
c:\mtcp\dhcp.exe
My TCP.CFG reads as follows (without the lines added by DHCP) :
PACKETINT 0x60
HOSTNAME PCjr
FTPSRV_PASSWORD_FILE ftppass.txt
FTPSRV_LOG_FILE log.txt
FTPSRV_EXCLUDE_DRIVES AB
FTPSRV_FILEBUFFER_SIZE 16
FTPSRV_TCPBUFFER_SIZE 16
FTPSRV_PACKETS_PER_POLL 10
With these same settings, and a 16-bit Ethernet card, the FTPSRV program handles transfers just fine in my 486.
While I have the ability to make the Parallel Printer Attachment bidirectional, I would really like to make sure unidirectional transfers work properly, slow as they are (but faster and more reliable than a null-modem). Are there any tested settings that would work reliably with this setup?
I should note that I am using Filezilla Client 3.8.0 to transfer files. I have also tried the Xircom with my Tandy 1000SX and even with a bidirectional parallel port, the results are the same. However, if I activate the 286 Express accelerator board, the system does not choke on larger file transfers. However, the FTP client will claim a successful transfer but some of the files transferred are larger on the destination (the PCjr or Tandy) than they were on the source (modern PC).
I set the Transfer Type to Binary in Filezilla and the problem of extra bytes seems to have gone away. I also limited the connection speeds to 25/25KB/sec, and that seems to have helped quite a bit with the file transfers of large files to the system. I also set the maximum number of simultaneous connections to 1. Transferring large files from the older system is still a problem.