PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: Shurlock on 22 August, 2004, 01:25:37

Title: Allow download to a specific location
Post by: Shurlock on 22 August, 2004, 01:25:37
Hi people,

In another request, I wrote that all the filelists of entering users are downloaded. Although that bothers them, they also have some 'use' of that function.
The bot (DCDM++) collects the lists and.... shares them!
So, people can easily download their OWN filelist to see what other users would see.

What I would wish to do is create an option to have them download that filelist directly  to their 'Program Files\DC++ ' folder.  (Most of our users DO use DC++)

Is there any way of redirecting  that download to the exact location neccessary? Or does the file ALWAYS download to the default download directory set in Settings?

Just a thought.
Any help would be appreciated.

Greets!
Title:
Post by: BottledHate on 22 August, 2004, 03:03:49
people can look at their own filelist.  File->Open FileList.
Title:
Post by: BottledHate on 22 August, 2004, 03:04:20
maybe u can set up the downloading script to copy the
files to another folder which is allready being shared by
the client-bot. to move file.. check out the os.execute() (http://www.lua.org/manual/5.0/manual.html#5.7).

-BH