PDA

View Full Version : FTP Suggestion


Andrew
03-Aug-2006, 03:17 PM
Although I probably won't use FTP bug logging forever, it does work well.
For me I setup my FTP server using "Write Only" permissions so therefore
logs can only ever be saved and never downloaded from the server via FTP.

One suggestion I have is to alter EWebTools.pas like I did as follows to
allow passive FTP as this works much better through firewalls:

.....
INTERNET_FLAG_PASSIVE = $08000000;
.....
hConnect := InternetConnect(hInternet, PChar(Host), Port,
PChar(UserID), PChar(Password), INTERNET_SERVICE_FTP,
INTERNET_FLAG_PASSIVE , 0);
.....

admin
07-Aug-2006, 03:06 PM
Hi,

Andrew wrote:
> Although I probably won't use FTP bug logging forever, it does work well.
> For me I setup my FTP server using "Write Only" permissions so therefore
> logs can only ever be saved and never downloaded from the server via FTP.
>
> One suggestion I have is to alter EWebTools.pas like I did as follows to
> allow passive FTP as this works much better through firewalls:
>
> ....
> INTERNET_FLAG_PASSIVE = $08000000;
> ....
> hConnect := InternetConnect(hInternet, PChar(Host), Port,
> PChar(UserID), PChar(Password), INTERNET_SERVICE_FTP,
> INTERNET_FLAG_PASSIVE , 0);
> ....

Thank you for the good suggestion, it will be implemented in the next 5.1.7
stable version. :)

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!