Einzelnen Beitrag anzeigen

FaNIX

Registriert seit: 8. Okt 2007
36 Beiträge
 
#1

Indy FTP Client Read Error (TidFTP)

  Alt 24. Jan 2008, 13:34
Hi,

I wonder if anyone can help me with this. I have a simple FTP procedure, which downloads a single file form a FTP server.

The procedure works fine, but this is my issue:

I'm using Windows XP, and as some of you know, it has a default internal firewall, just like Vista (Security Center). Now the first time the application tries to access the FTP server, windows pops up the Firewall warning, asking to Allow this application.

[IMG]
http://img143.imageshack.us/img143/7642/indy2pf4.jpg
[/IMG]

Once i click yes, the FTP doesn't continue to download the file, it just stops, then i get the following error in delphi:

[IMG]
http://img292.imageshack.us/img292/9210/indyrn9.jpg
[/IMG]

Now if i restart the application, the download works fine, because the application was added to the windows firewall allow list. Does anyone know how to get past this error, so that it continues to transfer the file? Any help would be much appreciated.

Regards
  Mit Zitat antworten Zitat