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).
Build list of files from contents of folder
Page 1 of 16 Replies - 414 Views - Last Post: 15 May 2012 - 01:32 PM
Replies To: Build list of files from contents of folder
#2
Re: Build list of files from contents of folder
Posted 14 May 2012 - 11:07 AM
I’d say it strongly depends on the language you want to use for that.
#3
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.
#4
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.
for PHP look into the Directory Iterator.
This post has been edited by Dormilich: 14 May 2012 - 11:39 AM
#5
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
#6
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?
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?
#7
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.
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote




|