See the Mailing Lists Page for how to subscribe and unsubscribe.
eprints_tech messages
Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.
[EP-tech] upload() does not take absolute paths
From: "Roman Chyla" <roman.chyla AT gmail.com>
Date: Fri, 2 May 2008 17:52:09 +0200
| Threading: | • This Message → Re: [EP-tech] upload() does not take absolute paths from tdb01r AT ecs.soton.ac.uk → Re: [EP-tech] upload() does not take absolute paths from roman.chyla AT gmail.com |
*** ↵ http://www.eprints.org/tech.php/id/%3Cea0115e90805020852g462f09b0q704763a46b9d6862%40mail.gmail.com%3E *** EPrints community wiki - http://wiki.eprints.org/ Hello all, I am importing files into Eprints and the method upload() complains that the file starts with slash. Am I doing something wrong? Maybe I should use something else for automatic data imports? Other than? while(my ($key, $value) = each(%$fields)) { $eprint->set_value( $key, $value); } Note, when I do chdir() and pass a filepath with a relative name, than EPrints imports happily (so it is no security measure against some web attacks). Otherwise, one would expect that absolute paths are OK with imports. Thank you for any hint, roman
[index] [prev] [next] [options] [help]




