Published 2026-05-12
APS sftp file collector.
Project folder: dart_aps_sftp_file_collector/
All relative paths in the documentation are relative to this folder unless stated otherwise.
README.md and CHANGELOG.md stay in the project root.
All other project documentation lives under doc/.
CHANGELOG.mddoc/DPD_TROUBLESHOOTING.mddoc/IMPLEMENTATION_SUMMARY.mddoc/DELAYED_UPLOAD_FEATURE.mddoc/PARCEL_BUNDLING_FEATURE.mddoc/SFTP_GUARD_FEATURE.mdWhen a label PDF is generated but a shipment is hard to find in the DPD portal, check these sources in order:
LOCAL_ORDERS_PATH/<orderId>/shipping_labels/ for the generated parcel label
number.LOCAL_ORDERS_PATH/<orderId>/dpd_requests/ for the archived outbound
storeOrders SOAP request.LOCAL_ORDERS_PATH/<orderId>/logs/ for the order-specific processing log.tool/check_dpd_tracking.dart to query the DPD parcel lifecycle service with
a known parcel label number.Example:
dart run tool/check_dpd_tracking.dart 05162997316739
See doc/DPD_TROUBLESHOOTING.md for the full troubleshooting flow.
For every processed order the app stores a dedicated folder under
LOCAL_ORDERS_PATH/<orderId>/.
xml/: copied source XML for that order.artwork/: copied artwork/input files for that order.spreadsheet/: generated spreadsheet output.shipping_labels/: generated DPD label PDFs.confirmation/: generated APS confirmation XML.dpd_requests/: archived outbound DPD XML requests for lookup/debugging.logs/: the order-specific log excerpt captured from the normal application
log for just that order.
tool/check_dpd_tracking.dart to query the DPD parcel lifecycle service for a parcel label number using the Akzo production environment configuration.README.md with a troubleshooting section for DPD request archives, order logs, and the parcel tracking lookup helper.doc/DPD_TROUBLESHOOTING.md with a focused guide for verifying DPD requests, archived labels, order logs, and Insights visibility checks.dpd_requests/.logs/ alongside each order for easier troubleshooting.customerReferenceNumber1, the first item volume for volume, and a summary in customerReferenceNumber4 when more than three items are bundled.excel to excel_cummunity because excel seems unmaintained.executables section in pubspec.yaml.