St0rm
03-03-2004, 11:59 AM
I wrote a program in delphi that is triggered on the pre list event:
[FTP_Pre-Command_Events]
list = EXEC C:\test\test.exe
begin
writeln('test123')
end.
All the script does is output a string to the client's window. So when a user goes into a dir, the string shows up, but no dir listing is received:
[R] test123
[R] 150 Opening ASCII mode data connection for directory listing.
And it just sits there, doing nothing. When I change the code a little bit:
begin
writeln('!putlog test123')
end.
Now it works fine. test123 is written to log and a dir listing is received. Kinda weird, right?
Any suggestions?
[FTP_Pre-Command_Events]
list = EXEC C:\test\test.exe
begin
writeln('test123')
end.
All the script does is output a string to the client's window. So when a user goes into a dir, the string shows up, but no dir listing is received:
[R] test123
[R] 150 Opening ASCII mode data connection for directory listing.
And it just sits there, doing nothing. When I change the code a little bit:
begin
writeln('!putlog test123')
end.
Now it works fine. test123 is written to log and a dir listing is received. Kinda weird, right?
Any suggestions?