Answer the question
In order to leave comments, you need to log in
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
ftp -s: comm.txt
And in comm.txt
you write answers to requests for documentation .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question