For getting back automatically after write a command or on periodically time do like this: #conf t #service password-encryption #ip ftp username myUser #ip ftp password myPassword #archive #path ftp://myFtpServerIP/$h$t #time-period 1440 #write-memory #do wri write-memory command is for…