Answer the question
In order to leave comments, you need to log in
What's the best way to automate the Windows ftp archiving and sending process?
Good afternoon everyone!
Task: to archive folders according to the schedule and send them to the ftp server.
I understand the implementation of the trace: bat + task scheduler?
Please tell me which way is easier and more reliable for implementation.
Answer the question
In order to leave comments, you need to log in
FTPRun.cmd
@echo -------------------------------------------------------------------- >> ftp.log
@echo %date% %time% >> ftp.log
@ftp -s:arch.txt ftp.narod.ru >> ftp.log
@echo %date% %time% >> ftp.log
backupdata
21784
debug
trace
prompt
binary
mput D:\MSSQL\BACKUP\*.bak
close
bye
Almost any backup program, including the built-in one, can do this from a graphical interface. Plus in clarity and simplicity
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question