The man page for my sftp - implementation does not mention the mput command, but it seems to me that it takes only the first argument for the local files' spec, and the optional second for the target file/directory name. So I guess in your remote copy kk1 was copied over and renamed to kk2. Try: mput kk[12]
i have file like GPS_input.txt and GPS_input2.txt. when i try to mput GPS_input[12].txt or GPS_input[2].txt . when i am trying with this only GPS_input2.txt is chowing(it means same ptoblem).
i could use mput GPS_input*.txt , in my directory i have more then one file with same name e.g GPS_input4.txt , GPS_input_test.txt..... like this
among all i will have to sftp only GPS_input.txt and GPS_input2.txt.
do you have any advice for this situations?
if there is no other options then i will have to use this.
here is my question , we cannot use any regular expression for both the files like character and concatenation with number in files?
i can not use below code, because i have so many files in same directory name like ...
GPS_input.txt,GPS_input1.txt,GPS_input2.txt,GPS_input3.txt ... like this
from above list of files, i will have to upload only two files i.e GPS_input.txt and GPS_input1.txt