MegaFuse
MegaFuse copied to clipboard
Can't copy empty files
I tryied to create an empty file (with touch) and Megafuse fails in this way:
searching node by path: /backup_web1/test/pluto file pluto not found in MEGA creato il file /tmp/mega.X33ZlP searching node by path: /backup_web1/test/pluto file pluto not found in MEGA UPLOAD TD 0: Update: 0 KB of 0 KB, 0 KB/supload riuscito searching node by path: /backup_web1/test node found in MEGA: /backup_web1/test ulhandle 0, nodehandle 7f22aed1cf38 API request failed, retrying in 100 ms - Use 'retry' to retry immediately... API request failed, retrying in 200 ms - Use 'retry' to retry immediately... API request failed, retrying in 400 ms - Use 'retry' to retry immediately... API request failed, retrying in 800 ms - Use 'retry' to retry immediately... API request failed, retrying in 1600 ms - Use 'retry' to retry immediately... API request failed, retrying in 3200 ms - Use 'retry' to retry immediately... API request failed, retrying in 6400 ms - Use 'retry' to retry immediately... API request failed, retrying in 12800 ms - Use 'retry' to retry immediately... API request failed, retrying in 25600 ms - Use 'retry' to retry immediately... API request failed, retrying in 51200 ms - Use 'retry' to retry immediately... API request failed, retrying in 102400 ms - Use 'retry' to retry immediately... ...
From this point MegaFuse is stuck and I can only kill it to recover. In case Mega API does not support empty file upload, I would suggest to avoid to copy it and return a message in the stdout.