I’ve made a script which is saving data amounts of each user to logfile at midnight and then uploading the logfile to my web server using /tool fetch and FTP. (web server is generating tables, see attachment) The problem is that sometimes the logfile is transferred well and sometimes not - the transferred logfile is empty (zero length).
And it is as I said: sometimes working, sometimes not. There is no error message on terminal, everything seems to be ok (status: finished), but the file on FTP is empty. How may I fix it?
I have the same problem - emty file uploaded to Ubuntu FTP server. Fromm command line - is OK. From the script - is 0Bytes Have You found solution? Where is the problem?
My problem was that I was using a Windows FTP server and some how the anti virus was messing things up. But when I moved to a Ubuntu server then it worked just right