6 Replies - 504 Views - Last Post: 15 May 2012 - 01:32 PM

#1 TechnoBear  Icon User is offline

  • D.I.C Head

Reputation: 18
  • View blog
  • Posts: 222
  • Joined: 02-November 11

Build list of files from contents of folder

Posted 14 May 2012 - 10:28 AM

I haven't started on this yet as I haven't the foggiest where to begin on this or if it is even possible. Also no idea what language to do it in.

Anyway, issue is:

I would like to create a download page which lists the name of the file, size of file and length (all audio files, length is optional) based on the contents of a folder so that i could just upload the file to the folder and the page will do the rest, is there a way to get this done or am i just going to have to put in the time to replicate lines for each file i upload?

Even if somebody could give me some leads to start my research will be cool.

hi-ho hi-ho off to google i go (again).

Is This A Good Question/Topic? 0
  • +

Replies To: Build list of files from contents of folder

#2 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 3481
  • View blog
  • Posts: 10,033
  • Joined: 08-June 10

Re: Build list of files from contents of folder

Posted 14 May 2012 - 11:07 AM

Id say it strongly depends on the language you want to use for that.
Was This Post Helpful? 0
  • +
  • -

#3 TechnoBear  Icon User is offline

  • D.I.C Head

Reputation: 18
  • View blog
  • Posts: 222
  • Joined: 02-November 11

Re: Build list of files from contents of folder

Posted 14 May 2012 - 11:09 AM

I don't know what languages would be able to do it. my preference would be javascript, but i havent found any material on google for it yet. maybe php.
Was This Post Helpful? 0
  • +
  • -

#4 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 3481
  • View blog
  • Posts: 10,033
  • Joined: 08-June 10

Re: Build list of files from contents of folder

Posted 14 May 2012 - 11:36 AM

use a server-side language, (client-side) Javascript does not have file access permissions (unless you use browser extensions).

for PHP look into the Directory Iterator.

This post has been edited by Dormilich: 14 May 2012 - 11:39 AM

Was This Post Helpful? 1
  • +
  • -

#5 TechnoBear  Icon User is offline

  • D.I.C Head

Reputation: 18
  • View blog
  • Posts: 222
  • Joined: 02-November 11

Re: Build list of files from contents of folder

Posted 14 May 2012 - 12:53 PM

thankk you now i can actually make some ground on this
Was This Post Helpful? 0
  • +
  • -

#6 icedd  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 5
  • View blog
  • Posts: 98
  • Joined: 04-March 08

Re: Build list of files from contents of folder

Posted 15 May 2012 - 01:13 PM

I have been down this pth myself a few months ago. Dormilich is right about the server side language. I only have experience with PHP, so thats what I used. Now depending on the complexity of your needs, you can get scripts, or write them that are VERY short. Though all they will do is list the contents in a folder.

If you want some more advanced ones liek file uploading, their is a free system/script called mollify. Fairly easy to setup.

Good terms to search area:
Directory lister php
directory tree lister php

Also, do you plan on using that locally or setting it up on a website for public access outside of your house hold network?
Was This Post Helpful? 0
  • +
  • -

#7 TechnoBear  Icon User is offline

  • D.I.C Head

Reputation: 18
  • View blog
  • Posts: 222
  • Joined: 02-November 11

Re: Build list of files from contents of folder

Posted 15 May 2012 - 01:32 PM

its public access but now i know i'm looking at php i have been making some good ground. this thread is all but dead now.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1