The following describes the exact configuration for the control above. It is assumed that the control is operating properly and that the FTP Server is installed correctly.
The following options are the mandatory settings for the control.
Use the configuration tool to:
All other parameters may be set as desired and required for your environment.
The control allows up to 4 remote server configurations. Here we assume that the first one is used. The two sections below matches the ones found on the control.
Address | (TCP/IP address of the control) |
Gateway | (empty) |
Connect | 0 |
Timeout | 20 |
Host | 1 |
Host name | (TCP/IP address of your PC FTP server) |
User name | DMC70V |
Password | DMC70V |
Directory | /ncprog |
Address | (TCP/IP address of your PC FTP server) |
Host type | 02 |
User ID | 0000 |
Group ID | 0000 |
Column | 0011 |
Line | 0000 |
#11 Host name | Any text to identify the host by NC |
#12 User name | Set to an FTP user of the CIMCO FTP Server |
#13 Password | Password for the user |
#14 Directory | Set this to the directory of server, where the NC programs are. |
#15 Address | The IP-address of the CIMCO FTP Server |
#16 Host Type | Set this to 0 |
#17 User ID | Set this to 0 |
#18 Group ID | Set this to 0 |
#19 File column | This depends on the setting of "System Type" in the CIMCO FTP Configuration. System Type Setting: UNIX 5465 UNKNOWN 0011 WINNT4 3950 |
#20 Invalid line | This depends on the setting of "System Type" in the CIMCO FTP configuration. System Type Setting: UNIX 0000 UNKNOWN 0200 WINNT4 0200 |
To debug the configuration, set the "Log Level" in the CIMCO FTP configuration to EXTREME. Attempt a connection. Then check in the C:\CIMCO\FTP\CFTPD.LOG file for details.
Below is a printout of a typical log in EXTREME mode. Every event is being logged.
! 27/06/13 07:12:19 Logging started.
27/06/13 07:12:19 (Listener) Listener started, listening on IP 0.0.0.0
27/06/13 07:23:00 (Listener) New incoming connection from 127.0.0.1
27/06/13 07:23:00 (127.0.0.1) S->C: 220- CIMCO FTP Server v2.10
27/06/13 07:23:00 (127.0.0.1) S->C: 220 (c) 1998-2013 CIMCO A/S, all rights reserved.
27/06/13 07:23:02 (127.0.0.1) C->S: USER JPN
27/06/13 07:23:02 (127.0.0.1) S->C: 331 User name okay, need password.
27/06/13 07:23:04 (127.0.0.1) C->S: PASS D5VL
27/06/13 07:23:04 (127.0.0.1) S->C: 230 User logged in, proceed.
27/06/13 07:23:04 (127.0.0.1) Client logged in as 'JPN'.
27/06/13 07:23:16 (127.0.0.1) C->S: CWD C:\NCPROG
27/06/13 07:23:16 (127.0.0.1) S->C: 250 Requested file action okay, completed.
27/06/13 07:23:18 (127.0.0.1) C->S: PORT 127,0,0,1,4,29
27/06/13 07:23:18 (127.0.0.1) S->C: 200 Command okay.
27/06/13 07:23:18 (127.0.0.1) C->S: LIST
27/06/13 07:23:18 (127.0.0.1) S->C: 150 File status okay; about to open data connection.
27/06/13 07:23:18 (127.0.0.1) S->C: 226 Closing data connection.
27/06/13 07:23:31 (127.0.0.1) C->S: PORT 127,0,0,1,4,30
27/06/13 07:23:31 (127.0.0.1) S->C: 200 Command okay.
27/06/13 07:23:31 (127.0.0.1) C->S: RETR 4711.NC
27/06/13 07:23:31 (127.0.0.1) S->C: 150 File status okay; about to open data connection.
27/06/13 07:23:31 (127.0.0.1) Sending file to client (4711.NC).
27/06/13 07:23:31 (127.0.0.1) S->C: 226 Closing data connection.
27/06/13 07:23:31 (127.0.0.1) 4711.NC transmitted successfully.
27/06/13 07:23:33 (127.0.0.1) C->S: QUIT
27/06/13 07:23:33 (127.0.0.1) S->C: 221 Service closing control connection.
27/06/13 07:23:33 (127.0.0.1) Client is terminated.