You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,8 +60,16 @@ Version 3 is a complete rewrite in Python to improve performance and reliability
60
60
2. **Smart Skipping**: v2 used file size/timestamp. v3 uses **Content Hash** (MD5) stored in a metadata file `.sftp_upload_action_hashes` on the server. This ensures that only truly changed files are uploaded, even if timestamps change (common in CI builds).
61
61
3. **Concurrency**: Added `concurrency` input to control parallel uploads (default: 4).
62
62
63
-
> The action now creates a `.sftp_upload_action_hashes` file in the `remoteDir`. Do not delete this file if you want the "Smart Skip" feature to work.
64
-
65
63
### Migration Steps
66
64
1. Just update the version tag to `@v3` in your workflow.
67
65
2. Enjoy faster uploads!
66
+
67
+
## Notes
68
+
69
+
### Hash File (`.sftp_upload_action_hashes`)
70
+
A `.sftp_upload_action_hashes` file is created in `remoteDir` to track file states. **Do not delete this file** to ensure "Smart Skip" works correctly.
71
+
72
+
### File Removal (`removeExtraFilesOnServer`)
73
+
When enabled, this compares local files against the *tracked* remote files in the hash file.
74
+
* **Only tracked files are deleted.** Untracked files (e.g., manually created) are ignored.
75
+
* This ensures safety and speed but does not strictly mirror the directory if untracked files exist.
0 commit comments