How to sync or copy files without the web interface?

Unfortunately, I didn’t manage to reproduce this behaviour. It is only possible to get such state within a single run – create file with the third cell, and check it from the code in the second cell – in such case os.path.exist will return “False” although the file is actually attached to the notebook.