I am looking for a way to change a script from ftp to sftp and I need to integrate the use of a private key. So this is what I have running currently:
abc.txt file:
user
pass
ascii
prompt y
mget **.csv
mget abc.a0000*
bye
aaa.bat file:
c:
cd \Folder
ftp -s:abc.txt 256.256.256.256
copy *.csv \\location\*.*
copy *.cyc* \\location\*.*
I don’t have much experience so I would appreciate your help with this. Thank you very much.