I have the following ftp-script that I am execution on a Windows Server 2008:
open servername
username
xxxxxxx
cd folderABC
put "C:\data\myfile.zip"
quit
I can connect and change folders, but when it reaches the put command it ends after a few seconds with the following message: "425 Unable to build data connection: Connection timed out".
I already tried to deactivate the firewall -> still not working.
I tried to change the script to use passive mode:
open servername
username
xxxxxxx
quote PASV
cd folderABC
put "C:\data\myfile.zip"
quit
I am still getting this error. What could be wrong?