CraigBee
When a large file (~2GB) is copied to a folder being monitored by SmartFTP, it may upload several times. I have SmartFTP configured to use 5 upload threads. When a 2GB file is copied to the NAS folder being monitored, SmartFTP will detect the file and start an upload before the file copy is finished. The file then 'changes' as more of the file is copied, and SmartFTP will start a second upload.
I think this might be avoidable by waiting the monitored folder to stop changing before processing the monitored folder. The logic could be something like this:
Step 1: Wait for change in monitored folder
Step 2: Remember current state of monitored folder
Step 3: Wait 20 seconds
Step 4: Check for change in monitored folder since step 2, if changed, goto Step 2
Step 5: Process monitored folder according to rules
Something like this would allow SmartFTP to wait for large files to finish being copied to the monitored folder before starting the upload. It would then only upload 1 time instead of multiple times.
Craig
I think this might be avoidable by waiting the monitored folder to stop changing before processing the monitored folder. The logic could be something like this:
Step 1: Wait for change in monitored folder
Step 2: Remember current state of monitored folder
Step 3: Wait 20 seconds
Step 4: Check for change in monitored folder since step 2, if changed, goto Step 2
Step 5: Process monitored folder according to rules
Something like this would allow SmartFTP to wait for large files to finish being copied to the monitored folder before starting the upload. It would then only upload 1 time instead of multiple times.
Craig