added waiting for file changes to avoid sending mid trimming
This commit is contained in:
@@ -19,6 +19,11 @@ loop {
|
|||||||
uploadedURLs := ""
|
uploadedURLs := ""
|
||||||
uploadedFiles := 0
|
uploadedFiles := 0
|
||||||
Loop Files momentsPath "\" trimPattern, "F" {
|
Loop Files momentsPath "\" trimPattern, "F" {
|
||||||
|
fileSize := 0
|
||||||
|
while (fileSize < FileGetSize()) {
|
||||||
|
fileSize := FileGetSize()
|
||||||
|
Sleep(200)
|
||||||
|
}
|
||||||
|
|
||||||
; Build curl command
|
; Build curl command
|
||||||
cmd := 'curl -s -H "Authorization: ' ziplineToken '" '
|
cmd := 'curl -s -H "Authorization: ' ziplineToken '" '
|
||||||
|
|||||||
Reference in New Issue
Block a user