Configuration, programming
4.7 Setting up FTP communication
CP 1543-1
Operating Instructions, 05/2017, C79000-G8976-C289-07
49
CMD = 0 (NOOP)
CMD = 5 (QUIT)
The content of the job block is not evaluated when these command types execute, the type
(UDT) of the specified job block is therefore unimportant.
Note
Response if the reference to the FTP job block is missing
If this reference is not supplied, the command is not executed. The instruction remains
blocked in an apparent execution
status without any feedback to the user program on the
Evaluating the "LOCKED" and "NEW" status bits from the FTP_CMD program block
● In version 1.2 of the "FTP_CMD" program block, the status bits "LOCKED" and "NEW" of
the FILE_DB_HEADER are not evaluated.
With the functions of the FTP server or when using the same file DB, the possibility of
multiple simultaneous access to the same data area cannot be excluded. This can lead to
data inconsistency.
● As of version 1.5 of the "FTP_CMD" program block, the status bits "LOCKED" and "NEW"
of the FILE_DB_HEADER are set correctly. The two status bits are evaluated. Version 1.5
is available as of STEP 7 Professional V12 SP1.
Note
Avoiding data inconsistency
Make sure that you do not access the same file DB more than once at the same time.
Configuring the FTP server function
CP configuration
Configure the FTP server function of the CP in the following parameter group.
● With security functions disabled: "FTP server configuration"
● With security functions enabled: "Security > FTP server configuration"