PDA

View Full Version : cookies in .ioftpd.message?


monk-
04-08-2010, 11:11 AM
not sure where to post this
but i like to use the exec cookie in a .ioFTPD.message file
but it doesnt seam to work now

like:
%[execute(TCL ..\scripts\nxTools\nxRequest.tcl)(LIST)(250-)]
so when entering /REQUEST/ dir, it shows the requests

or any alternative solution?

Yil
04-08-2010, 12:58 PM
There are actually TWO files displayed when you enter a directory.

.ioFTPD.cwd - which allows message cookies
.ioFTPD.message - plain text only

Most zipscripts output data to the .ioFTPD.message file without sanitizing the directory name, imdb info, etc which could either do weird things or be a security hole so I changed it back in v6.6.0 to read from 2 files and not process the .message one.

Just put whatever you wanted to do in the .ioFTPD.cwd file which is processed first.