So here I am spending New Year's Day editing the content on my drupal web site and I'm having to laboriously upload 50 file attachments to a single page. Yes, I know that's a lot of attachments on a single page but if you looked at the content you'd see it made sense.

Okay, it's not difficult work but it is tedious and I think there **must** be a quicker way. Is there?

Comments

ncameron’s picture

It's a bit of a work around and may not be suitable if you want to do this on a regular basis but what you could do is FTP all the PDFs to the /files directory and then just create text links on the page to the file e.g.

<?php
<a href="files/file_one.pdf">File One</a>
?>

--
Drupal Development for Pleasure and Profit
http://drupal.altate.ch

d_l’s picture

Merge PDF files before FTP .. ?

.. and here is another utility to try .. Adolix

lemmax’s picture

Yes I could have merged or zipped the files into a single archive but in this instance it wouldn't be appropriate. Most people would not need all the data and merging the files into one archive would create an unnecessarily large (~ 50MB) file. Also, I like to keep it as separate files as I think it may help with SEO - each individual file has a very descriptive name and meta data.

lemmax’s picture

I agree that uploading the PDFs using FTP and then creating my own links would have been much quicker but I really wanted to do the uploads using Drupal.

Drupal does a good job of creating a nicely formatted table of links to download the files and also includes the file sizes. Additionally, and most importantly in my view, if I upload using Drupal the files are (or at least should be) managed by Drupal. With the last point in mind, I think it would be a mistake to FTP files into the /files directory as it would be mixing my ftp'd files and Drupal uploaded files. If I really wanted to upload by FTP I think I'd consider creating a new folder and/or subdomain (e.g. upload.example.com).

poo master’s picture

I have the exact same issue any luck with resolving it?

mm167’s picture

the question is, how u want to show your pdfs?

1.link - click to open / right click to download
or
2. thumbnail - click to open / right click to download
or
3. all open and shown on the page

mcfilms’s picture

There are many reasons you may not want to smash all these pdf pages together. So I would suggest investigating plupload or multiupload_filefield_widget.
Links for both can be found on this thread: http://drupal.org/node/880300

A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com