Drupal automating file uploads without access to API or ability to install modules -


at work, i'm working on large web migration. trying figure out way upload large amount of pdf files drupal platform we're migrating to. title says, client has not given access api or mass upload modules. have upload 1,200 pdf files in same fashion end-user; point, click, fill form, publish, confirm publish...hours , hours , hours of work should take 5 minutes.

my option seems automating process web automation tool or script http requests.

i've written script that's automated logging in , navigating download creation page, cannot seem accomplish selection of file i'm trying upload. element looks this:

<input type="file" id="edit-upload" name="files[upload]" size="60" class="form-file"> 

even if automate process firefox selenium plug-in, once recording gets "choose file" portion, cannot figure out how populate field file.

does have suggestions on how around this?

my preferred language python, i'm not sure if that's ending being limitation since drupal php based.

i've heard of uncooperative clients, not allowing server or drupal admin access? yikes!

perhaps selenium server plus python bindings allow script upload of 1200 files.


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -