Backup script with FTP

:local saveUserDb true;     # Whether to save user database dump
:local saveSysBackup true;  # Whether to save overall system backup
:local encryptSysBackup false; # Whether to encrypt system backups (RouterOS 6.13 and higher) 
:local saveRawExport true;  # Whether to export overall configuration as plain-text .rsc-script

:local myFtp ssh.wirelessinfo.be # FTP Server address
:local myFtpPort 21          # FTP Server port

:local myFtpUser "username"      # FTP Username
:local myFtpPass "passord"   # FTP Password

:local ts [/system clock get time]
:set ts ([:pick $ts 0 2].[:pick $ts 3 5].[:pick $ts 6 8])

:local ds [/system clock get date]
:set ds ([:pick $ds 7 11].[:pick $ds 0 3].[:pick $ds 4 6])

:local fname ("/BACKUP-".[/system identity get name]."-".$ds."-".$ts)

:if ($saveUserDb) do={
  /tool user-manager database save name=($fname.".umb")
  :log info message="User Manager DB Backup Finished";
}

:if ($saveSysBackup) do={
	:if ($encryptSysBackup) do={
  	/system backup save name=($fname.".backup");
  }
  else={
    /system backup save name=($fname.".backup") dont-encrypt;
  }
	:log info message="System Backup Finished";
}

if ($saveRawExport) do={
	/export file=($fname.".rsc")
	:log info message="Raw configuration script export Finished";
}

:if ($saveUserDb) do={
	/tool fetch address=$myFtp port=$myFtpPort src-path=($fname.".umb") user=$myFtpUser mode=ftp password=$myFtpPass dst-path=($fname.".umb") upload=yes
}

:if ($saveSysBackup) do={
	/tool fetch address=$myFtp port=$myFtpPort src-path=($fname.".backup") user=$myFtpUser mode=ftp password=$myFtpPass dst-path=($fname.".backup") upload=yes
}

:if ($saveRawExport) do={
	/tool fetch address=$myFtp port=$myFtpPort src-path=($fname.".rsc") user=$myFtpUser mode=ftp password=$myFtpPass dst-path=($fname.".rsc") upload=yes
}

:delay 30s;

:foreach i in=[/file find] do={:if ([:typeof [:find [/file get $i name] "BACKUP-"]]!="nil") do={/file remove $i}}
:log info message="Successfully removed Temporary Backup Files"
:log info message="Automatic Backup Completed Successfully"

Hello, this script don’t work
Can anybody help me resolve this

Thanks in advanced

:local myFtp “ssh.wirelessinfo.be” # FTP Server address

This is the obvious thing I see. Where does it fail at? Does it create the backups or transfer some file? What does you FTP server logs look like?

I see nothing on log files. verry strange.
The script making an backup file and send this backup file to the ftp-server