Get File List ?

Asked by abcde

Hi everyone

Im not DC++ user but I would like to ask a few questions regarding it. I have seen on some screenshots an option ''Get File List'' for each user. If I understand correctly this is to get the names of folders (and all the subfolders no matter what depth subfolder level) and files from every DC++ user, correct?
If Im correct about this my question is: Is it possible that this file could be download to the hard drive? If yes; what will be the extension? Can I restrict the format to get only folder names, without file names? Also is there any way to get for this function (downloading the shared folder list into text file from specific user) some kind of souce code from anywhere?

Thank you for an answers,

Best wishes.

Question information

Language:
English Edit question
Status:
Answered
For:
DC++ Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
eMTee (realprogger) said :
#1

>If I understand correctly this is to get the names of folders (and all the subfolders no matter what depth subfolder level) and files from every DC++ user, correct?
Not 100%. Exactly : this is to get the names of folders (and all the subfolders no matter what depth subfolder level) of files a particular DC user shares from his file system.
>Is it possible that this file could be download to the hard drive?
Yes that's what DC++ exactly do.
>what will be the extension?
since its a bzip compressed xml file, its bz2
>Can I restrict the format to get only folder names, without file names?
No (as long as you don't parse the xml file for yourself)
>some kind of souce code from anywhere?
DC++ is an open source program if you haven't recognized it yet...

Trying out the program would easily give you these answers... or maybe more! :)

Revision history for this message
abcde (manchester-ut4) said :
#2

I know but Im using another one so I wanted to please if someone could answer me what I wanted to know.

Revision history for this message
abcde (manchester-ut4) said :
#3

So if someone could please assist me with this... Thank you.

Revision history for this message
abcde (manchester-ut4) said :
#4

Why did i get the status answered if noone wanted to reply? I just need assist if I could please so...

Revision history for this message
poy (poy) said :
#5

what is it you wanted to know? i believe eMTee has answered all of your questions.

in ADC hubs, there is a "Browse file list" function that helps restricting how much of the file list is transferred.

Revision history for this message
abcde (manchester-ut4) said :
#6

poy, (s)he didn't answer me anything - perhaps i also wasn't understandable enough when asking. I was interested about this function ''Get File List'', actually I would like to get the list of shared folders without files into text file so i can do the further comparison for between each of the files (each of the users) to see who are sharing the same folders. This way I wouldn't need to download same folder twice+ and a lot of time would be saved. Actualy Im a soulseek user and there isn't the option like that. So I wanted to find the programming code of this function to use it into soulseek.

Revision history for this message
poy (poy) said :
#7

there is no such option in DC++ to only show directories but not the file names within. so you will have to create (or have someone create) an external parser that opens the file lists saved by DC++ (in xml.bz2 format) in order to analyze them as you wish.

Revision history for this message
abcde (manchester-ut4) said :
#8

I think to format the text to ignore file names wouldn't be so hard because you just delete the parts that contain extensions - folder names will never contain extension with dot inbetween for example ''folder name.mp3''. But im more worried about the saving that file on the hard drive if this is even possible? Is this the .bz2 extension (list of shared folder - names of everything what is user sharing) as you mentoined? Does exsist any source code for this so I could try to find this function in it?

Revision history for this message
poy (poy) said :
#9
Revision history for this message
abcde (manchester-ut4) said :
#10

hmm ok, i will see what I can do. I doubt I will be able to translate this for soulseek even if I study its protocol as much as possible before. Hoping for the best. Thank you for the link.

Can you help with this problem?

Provide an answer of your own, or ask abcde for more information if necessary.

To post a message you must log in.