Uploading complete folders

6 posts by 2 authors in: Forums > CMS Builder
Last Post: October 31, 2011   (RSS)

On a client's site I've set up CMSB so they can upload files individually and link to them - a bit like this example: http://www.commonsensedesign.net/blogDetail.php?45 - but is there a way to upload an entire folder and its contents, like an FTP site? Of course, they could zip all the files, but the client wants to be able to see all the files within a directory structure.
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [NigelGordijk] Uploading complete folders

Hi Nigel,

Am I missing something, or couldn't you set your upload field for unlimited uploads and upload size (or limit either to a particular number), specify the file types that can be uploaded, and use a foreach loop to display the files and links in a viewer?

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Uploading complete folders

Hi, Jerry.

Yes, that works to a certain extent, but what I was hoping for is an easy way to maintain the directory structure with all the files inside it. Even with a multiple upload field - as you suggested - the client would need to go into each individual project folder, select all (Ctrl + A). However, it wouldn't enable people to see which files belong with which project.

Does that make sense? http://www.commonsensedesign.net/newsDetail.php?Nith-Valley-Construction-25
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net

Re: [NigelGordijk] Uploading complete folders

If each project is a separate record, then the detail page could show only those files (and links) belonging to that record, no?

I can't think of a simple approach to eliminate the CTL+A, and I'm sure it gets dicier when there are sub directories involved.

Do they do this for a large number of projects?

I'm sure that the consulting team could streamline the process if you needed them to. (They seem to be able to perform all kinds of magic)

Jerry
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Uploading complete folders

Nope, still looking...
Nigel Gordijk

Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net