Label Print in FTP
Automatically generate shipping labels for eligible orders and upload them to an FTP server for centralized access and automation.
Overview
The RIS-SM-1012 – Label Print in FTP macro generates shipping labels in PDF format for eligible orders and uploads them to an FTP server.
It ensures that fulfilment-ready orders are processed automatically, labels are generated using a predefined template, and stored securely for downstream use.
Ensure FTP configuration and print templates are correctly set up before running this macro.
Purpose
This macro:
-
Retrieves eligible fulfilment-ready orders
-
Generates shipping label PDFs
-
Uploads labels to an FTP server
👉 In short:
Automatically generate and store shipping labels on FTP.
When It Runs
Used for shipping automation & label management
Typically runs:
-
Scheduled execution (daily automation)
-
Manually triggered when needed
Parameters
No input parameters required.
The macro operates based on system configuration and recent open orders.
How It Works
Fetch Orders
Retrieve open orders from the last 24 hours.
Filter Eligible Orders
Select fulfilment-ready orders without existing labels.
Generate Labels
Create shipping labels using the “Shipping Labels” template.
Get Download URL
Obtain the downloadable URL for each label.
Download PDF
Download label files and convert to byte data.
Upload to FTP
Upload files using naming format: OrderNumber.pdf.
Assign Identifier
Apply “Shipping Label Printed” identifier to processed orders.
Log Results
Record success and failure events for tracking.
Final Result
-
Shipping labels generated automatically
-
PDF files uploaded to FTP server
-
Orders marked as “Shipping Label Printed”
-
Processing logs available for monitoring
Usefulness
This macro is highly beneficial for:
-
Automating shipping label generation
-
Eliminating manual file handling
-
Centralising label storage
-
Improving warehouse efficiency
-
Preventing duplicate processing
Important Notes
-
Processes only fulfilment-ready orders
-
Skips orders with existing labels
-
Requires correct FTP configuration
-
Uses fixed template: “Shipping Labels”
-
Network/FTP failures may interrupt processing
-
Logging is critical for troubleshooting
Example Scenario
Key Insight
Automating label generation and FTP upload ensures consistent fulfilment workflows, reduces manual intervention, and improves operational scalability.
Last updated today
Built with Documentation.AI