alternativ kannst du das FTP mal über WINSCP abholen, was sich seh gut per Console steuern lässt.
dazu auf dem Client oder Server das Programm installieren und entsprechend benutzen.
Code
RunWait('"C:\Program Files\WinSCP\WinSCP.com" /console /script=D:\Data\transfer.txt')
;Beispiel
C:\Programme\WinSCP\WinSCP.com /console /command "option batch on" "option confirm off" "open user:pass@op-server" "cd /home/" "put D:\DATA\*.xls" "exit"
transfer.txt
AutoIt
# 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:pass@server-IP
# Change remote directory
cd /home/
# Force binary mode transfer
option transfer binary
# Download file to the local directory d:\
get -delete *.txt D:\Data\Download
# Upload the file to current working directory
put D:\Data\*.txt
# Disconnect
close
# Exit WinSCP
exit
Alles anzeigen
Gruß gmmg