I have what seems to be a client on a very old host. I want to be able to upload files to the server.
I can't use ASP as all the scripts I managed to find won't work with the version of VBScript I have available.
I'm now moving onto CGI. I downloaded a 'simple' upload script for free and tried running it. First I got an error which I interpreted to mean I didn't have cgi.pm installed. I contacted the host and they said it "should be there".
I downloaded cgi.pm from the only website I could find to download it from and put it in the cgi-bin along with all the other files that came with it. After running the script I now get a similar message:
Can't locate constant.pm in @INC at CGI.pm line 32. BEGIN failed--compilation aborted at CGI.pm line 33. BEGIN failed--compilation aborted at /web/server/address/cgi-bin/upload.cgi line 159.
Only this time it's constant.pm it can't find.
I ran makefile.pl for the fun of it (came with cgi.pm download) and I get this error:
Perl 5.004 required--this is only version 5.003, stopped at /web/server/address/cgi-bin/Makefile.PL line 2.
So, I have now deduced that I have version 5.003 of Perl. So can I get a version of cgi.pm that works for this? And where? I've searched on Google for "download cgi.pm" and most of the websites are so out of date the links don't work.
While I'm here, is there a way of uploading scripts without using the cgi.pm module?