I've also tried simple command in terminal:
Code: Select all
/tool fetch upload=yes mode=ftp address=SERVER user=USER password=PASS src-path=test.txt dst-path=test.txt
/tool fetch upload=yes mode=ftp address=SERVER user=USER password=PASS src-path=test.txt dst-path=test.txt
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 rightI 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?