Ftp Put * .ext transfers only the first file

So, I have a batch file that transfers some ftp commands to the host, and I want to copy every file from my local directory with a specific extension to the host machine.

Everything that happens after I ftp is a directory change, then

put * .ext quit smoking

It will put the first instance of any file that it finds on the host, but ignores all subsequent instances. Does anyone know why?

+4
source share
1 answer

nevermind, I found out that "put" will only process one file. The team I was looking for was "mput"!

+1
source

Source: https://habr.com/ru/post/1438747/


All Articles