List Info

Thread: file uploader script




file uploader script
user name
2007-10-09 16:09:35
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


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Perl Programming" group.
To post to this group, send email to perl-programminggooglegroups.com
To unsubscribe from this group, send email to
perl-programming-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/perl-programming
-~----------~----~----~----~------~----~------~--~---


Re: file uploader script
user name
2007-10-10 16:12:38
As a followup:
I've tested the page again, and the files are indeed on the
server and
open successfully from the ftp client.  They, however still
don't open
in the link on the page (the link points to e.g. "http://www.my.page/
upload/" while the files themselves reside in "http://www.my.page/cgi-
bin/www.my.page/upload" [with the last
"www.my.page/upload" being the
name of the folder that appears as a child to the cgi-bin
folder]

On Oct 9, 4:09 pm, ll <barn104_1...yahoo.com> wrote:
> 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


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Perl Programming" group.
To post to this group, send email to perl-programminggooglegroups.com
To unsubscribe from this group, send email to
perl-programming-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/perl-programming
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )