Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

How I Stopped Double-Posting To Adobe Stock With A One-File Upload Tracker

说明与用途

作者创建了一个轻量级上传跟踪器,记录已完成的文件,防止重复提交,并在上传过程中出现故障时实现安全的部分重跑。

问题

Duplicate uploads to Adobe Stock caused account flagging due to non-atomic upload steps and lack of a submission ledger.

结果

The tracker eliminates duplicate uploads, allows safe partial re-runs, and runs on minimal hardware without external dependencies.

工作流

  • Generate items.txt from asset folder
  • Run python upload_tracker.py pending items.txt to list pending files
  • Submit only files listed as pending
  • After each successful upload, run python upload_tracker.py done "asset-001.jpg" to mark as completed
  • If run fails, re-run pending to resume from last incomplete file

证据

The solution is embarrassingly small. upload_tracker.py is a single Python script, standard library only, no pip install.

来源

If the run dies at file thirty of forty, you do not want to resubmit the first thirty. But without a ledger, you have no way to know where it stopped, so you either resubmit everything or you hand‑audit the dashboard, which is exactly the kind of tedious work a pipeline is supposed to remove.

来源

The workflow that replaced my Tuesday-night disaster: before any submission run, generate items.txt from the folder of files. Run pending first. Only submit what pending shows. Mark each file done as it goes out.

来源

  • 记录日期: 2026-10-17T23:41:30.315Z