I'm a bit new to automated file transfer to a given server but so far i had no problem transfering files using SFTP protocol.
Now i have a scheduled task using FTP protocol but files are not being transfered. The only difference between the script that is not working and those that work is the -hostkey="" part.
My command for connection is this:
I copy-paste this line to a webrowser and i can view the directory. Also i can login using winscp.exe gui
what is wrong?