Re: [fpc-pascal] Getting strange FTP error using Indy 10 idFTP

2017-11-22 Thread Bo Berglund
On Wed, 22 Nov 2017 14:11:08 -0600, Zoë Peterson wrote: >On 11/22/2017 1:50 PM, Bo Berglund wrote: >> 20:14:01.018 EXCEPTION: Invalid PORT Command. > >Set FTP.Passive := True. PORT is used for active connections, where the >server opens a connection to the client

Re: [fpc-pascal] Getting strange FTP error using Indy 10 idFTP

2017-11-22 Thread Zoë Peterson
On 11/22/2017 1:50 PM, Bo Berglund wrote: 20:14:01.018 EXCEPTION: Invalid PORT Command. Set FTP.Passive := True. PORT is used for active connections, where the server opens a connection to the client computer for the data stream. PASV is used for passive connections, where the client opens

[fpc-pascal] Getting strange FTP error using Indy 10 idFTP

2017-11-22 Thread Bo Berglund
I am writing a simple Delphi7/FPC compatible console application in order to use in a daily task to transfer a backup zipfile from a server to my Windows 7 laptop. The task is a bat script that does a lot of other stuff as well as the FTP and it has been a struggle setting ftp up for batch file