Transfer of print data (PDF)

The product PDF is usually downloaded via an FTP server.

PDF-Download FTP
$args -> orderPositions[0] -> dataSourceInformation -> dataSourceUser = ‘username’;
$args -> orderPositions[0] -> dataSourceInformation -> dataSourcePassword = ‘passw0rd’;
$args -> orderPositions[0] -> dataSourceInformation -> dataSourcePort = 21;
$args -> orderPositions[0] -> dataSourceInformation -> dataSourceHost = ‘ftp://testftp/filename.pdf’;
$args -> orderPositions[0] -> dataSourceInformation -> dataTransmission = ‘download’;

The access data for the FTP server (user, password, port) and the name of the PDF that is to be transferred to UP are specified here. The value “download” must appear in the field “dataTransmission”.

Alternatively, the PDF download can also be carried out via the URL of a web server. To do this, access to the PDF must be possible.
The variables “dataSourceUser” , “dataSourcePassword”  and “dataSourcePort” must not be empty.

PDF-Download URL
$args -> orderPositions[0] -> dataSourceInformation -> dataSourceUser = ‘xxx’;
$args -> orderPositions[0] -> dataSourceInformation -> dataSourcePassword = ‘yyy’;
$args -> orderPositions[0] -> dataSourceInformation -> dataSourcePort = 21;
$args -> orderPositions[0] -> dataSourceInformation -> dataSourceHost = ‘ftp://testftp/filename.pdf’;
$args -> orderPositions[0] -> dataSourceInformation -> dataTransmission = ‘download’;

Category: Order
Tag: Download