NOTE: This is done only on development environments. On production the scripts are scheduled to run automatically every minute
First upload the pdf file in product’s ftp folder. Ftp folders and products are connected via the ftp_users table in the database. Each product has 1 record in this table specifying the user and the folder.
The ftp files folders for each product are located in:
/usr/local/transmatico-ftp/
Run the ftp:process command passing it the desired product id for which we want to process the latest uploaded pdfs.
php artisan ftp:process {productId}
php artisan processing:check