Community discussions

MikroTik App
 
jaevans
just joined
Topic Author
Posts: 2
Joined: Sat Dec 26, 2020 6:36 pm

FTP upload to Mikrotik FTP on disk1

Sun Dec 27, 2020 8:57 am

I am trying to create a backup script to copy file from 1 Mikrotik to another Mikrotik stored on USB drive.

What I have now is
/tool fetch address=$ftpserver src-path="$filename.rsc" user=$username mode=ftp password=$password dst-path="disk1\$filename.rsc" upload=yes

and that doesn't work

This works but stores it in the root of the Mikrotik instead of USB, so the rest of my script is working at least.
/tool fetch address=$ftpserver src-path="$filename.rsc" user=$username mode=ftp password=$password dst-path="$filename.rsc" upload=yes

Easy option would be use a different ftp server but I would like to use a Mikrotik device and store it on USB drive if possible.

Thanks

Who is online

Users browsing this forum: No registered users and 45 guests