Download files based on URL
Is there an easy way to let ZSA download and attach files based on an item's URL?
For our research project, we have a BibTeX-file with URL's pointing to PDF's in one big folder on our WebDAV. Since we want to switch to Zotero, incl. file-syncing, I have imported the BibTeX. In Zotero, I would like to download the PDF's from their URL's, preferably in a batch. (I have tried to auto-replace occurrences of url = {...} in the .bib by pdf = {} or file = {}, but the files are not imported as attachments---maybe because Zotero cannot access the WebDAV.)
The best workflow I came up with is to associate every item manually with the PDF via Add Attachment > Attach Stored Copy of File and browse to the WebDAV in My Network Places (Windows XP). I guess there could be an easier way to do this; it concerns +2500 files. Any ideas?
For our research project, we have a BibTeX-file with URL's pointing to PDF's in one big folder on our WebDAV. Since we want to switch to Zotero, incl. file-syncing, I have imported the BibTeX. In Zotero, I would like to download the PDF's from their URL's, preferably in a batch. (I have tried to auto-replace occurrences of url = {...} in the .bib by pdf = {} or file = {}, but the files are not imported as attachments---maybe because Zotero cannot access the WebDAV.)
The best workflow I came up with is to associate every item manually with the PDF via Add Attachment > Attach Stored Copy of File and browse to the WebDAV in My Network Places (Windows XP). I guess there could be an easier way to do this; it concerns +2500 files. Any ideas?
-
adamsmithno, there's currently no built in way to do this. It may be scriptable, but not trivially so.
-
aurimasedited October 10, 2013But if you have a local folder that is connected to the WebDAV share, you could convert the links to local paths, which would then import. If you want to go that route and need more help, we would need to see one of the BibTeX records and know the path (local) to your WebDAV folder.You can map a network folder to a local drive. That's what I was talking about.
-
hertroysThanks for the suggestion. I had some trouble with using the local path to the network folder, but I just downloaded some of the files to C:/whatever, did the search/replace in the .bib and the files got imported. A whole lot better than item-by-item attaching!
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.