D
D
DenZel2017-01-10 14:28:23
cmd/bat
DenZel, 2017-01-10 14:28:23

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

2 answer(s)
K
Konstantin Tsvetkov, 2017-01-10
@gen4_gdm

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

All commands to the server are executed by its OS, in your case UBUNTU.

O
other_letter, 2017-01-10
@other_letter

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 question

Ask a Question

731 491 924 answers to any question