I am trying to connect to an FTP site to download and upload files using a script i can schedule... i have the following script however it keeps prompting me for a username even though i have supplied it in the script. Can anyone point out where i'm going wrong??
I run the following in command prompt
C:\Program Files (x86)\WinSCP>winscp.exe /console /script=TestFTPPragma.txt
# Automatically abort script on errors
option batch on
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect using a password
# Change remote directory
# Force binary mode transfer
option transfer binary
# Download file to the local directory c:\
get P* c:\users\name\Documents\FTP Testing
# Exit WinSCP
This is the output i get..
"prompting for credentials"