path in perl

L

ll

I'm working with an uploader script and am trying to establish the
parent directory to which files will be uploaded. However, after the
parent directory is set in the code and the file is uploaded, a folder
is created 'under' the cgi-bin folder that has the full path name as
its title, rather than using that path as the basis upon which to
concatenate the rest of the path. The page, when run, says that the
file has been uploaded successfully, but when following the link it
generates to the file, it cannot be opened, due to a repeat in the
path (e.g. www.mysite.com/uploads/uploads/test.txt)

Here is the URL for the download for this: http://www.cnctek.com/bizdb-html/download.html

Follow this link:
Download File Uploader - use "guest" for user name and password

Thanks for any help or resources,
Louis
 
J

Jonathan N. Little

ll said:
I'm working with an uploader script and am trying to establish the
parent directory to which files will be uploaded. However, after the
parent directory is set in the code and the file is uploaded, a folder
is created 'under' the cgi-bin folder that has the full path name as
its title, rather than using that path as the basis upon which to
concatenate the rest of the path. The page, when run, says that the
file has been uploaded successfully, but when following the link it
generates to the file, it cannot be opened, due to a repeat in the
path (e.g. www.mysite.com/uploads/uploads/test.txt)

Here is the URL for the download for this: http://www.cnctek.com/bizdb-html/download.html

Follow this link:
Download File Uploader - use "guest" for user name and password

As with your other post, this is a Perl not HTML topic.

Try newsgroup comp.lang.perl.misc.

Also the manual might be of assistance, try looking up the "File" Module
or "File::path"...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,781
Messages
2,569,619
Members
45,316
Latest member
naturesElixirCBDGummies

Latest Threads

Top