B
B
Black_Fire2020-04-08 23:25:15
cmd/bat
Black_Fire, 2020-04-08 23:25:15

How to send a file to the server with a replacement using the built-in ftp.exe utility by running cmd?

You need to create a cmd file code that will lie next to the target file in the same folder. When you run this cmd, the target file is sent to the ftp server and replaces the file with the same name and extension there. In the batch file code, I would like to have an indication that a file with a specific name and extension is being sent from the same location - so that there is no path binding. How can it be implemented?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Tsvetkov, 2020-04-09
@tsklab

ftp -s: comm.txt
And in comm.txtyou write answers to requests for documentation .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question