timburgess/brackets-ftp-sync

Checking files, not uploading

Closed this issue · 1 comments

I've just tried doing an ftp to my server, the file that's changed locally (in this case index.html) is getting the debug log:

[node-log 3:57:08 PM] stating /web/index.html

without uploading, any thoughts?

*** Update ***
The problem seems to have solved itself, not sure what the cause was.

*** Update 2 ***
This problem has reappeared, it seems as if when it stats a remote file the sizes are too similar to count as altered, therefore it doesn't upload.

The file comparison is based on filesize. If you have made a change and the file size is exactly the same as the remote file, it won't be uploaded. Rare but it can happen. If it does, add a space somewhere.