Double-Posting Gets Stock Accounts Flagged: upload_tracker.py Prevents It
说明与用途
upload_tracker.py 防止在股票平台上重复上传文件,消除因重复导致的账户被标记风险。
问题
Repeated uploads of the same asset file caused a stock account to be flagged and restricted.
结果
Implementing a simple ledger script and metadata builder eliminated duplicate uploads, prevented account throttling, and streamlined the upload workflow.
工作流
- Run
python upload_tracker.py pending items.txtto list files not yet uploaded. - Upload the pending files with the platform uploader.
- After each successful upload, run
python upload_tracker.py done "asset-001.jpg"to mark the file as uploaded. - Use
python upload_tracker.py statusto view overall progress.
证据
By the time I noticed, 23 files had been submitted twice in one afternoon.
The script, being dumb and honest, started from file 1.
So the fix is not a smarter uploader. It is a ledger that sits between you and the uploader and refuses to let the same filename go out twice, ever, regardless of how many times the process dies and restarts.
The whole workflow is three commands: python upload_tracker.py pending items.txt, python upload_tracker.py done "asset-001.jpg", python upload_tracker.py status
- 记录日期: 2026-11-02T05:59:09.798Z