in reply to where art thou file?
Are you sure that's where your file is supposed to be? According to your code:
So I'm not seeing any place where you reference /public_html/uploadfiles (or even just uploadfiles) in your program.# # Upload directory for files # my $upload_dir = "/home/me/uploaded_files"; # ... chdir $upload_dir; die "Usage: $0 INPUT_FILENAME\n" unless $input_file; die "Can't process '$upload_dir/$input_file': File does not exist!\n" unless -f "$upload_dir/$input_file";
Maybe you have a symbolic link from /home/me to /public_html, and you meant uploadedfiles (without the underscore) in the program?
And what do the logs say? Try running tail -100f /var/log/httpd/error_log in a separate window before you run it, for extra information.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: where art thou file?
by Angharad (Pilgrim) on Feb 28, 2006 at 12:28 UTC | |
by dorward (Curate) on Feb 28, 2006 at 13:48 UTC | |
by Angharad (Pilgrim) on Feb 28, 2006 at 14:42 UTC | |
by liverpole (Monsignor) on Feb 28, 2006 at 12:42 UTC |