By the way thanks for the code cause it is simply wonderful!! The only problem I've got is trying to retreive .exe files. The script puts the type of EXE's a sapplication/octet-stream and whant I click on a link to that, it prompts me to download "file.asp" instead of "filename.exe". If I do "save as" and rename the file properly, it works. But is there a way so propose a file name to IE ??