Unable to log into ftp server with password
This is the file that I am using with UN, PW and server changed to protect the innocent.
# Automatically answer all prompts negatively not to stall
# the script on errors
option batch on
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect using a password
# open user:password@example.com
# Connect
open sftp://USERNAME:password@ftp3.server.com
# Change remote directory
cd /Exports
# Force binary mode transfer
option transfer binary
# Download file to the local directory c:\ulti
get filename.txt c:\ulti\
# Disconnect
close
# Exit WinSCP
exit
What am I missing. I need to run a command line that gets the file in the remote folder every 15 minutes.
Thanks