maybe OT: uploading files w/ cgi

From: darius (darius_fatakia_at_yahoo.com)
Date: 07/21/04


Date: Wed, 21 Jul 2004 10:46:17 -0700

Hello,

I am trying to write a script that displays (with hypertext links) the names
of every file in a certain directory. I have finished the directory listing
part (and appropriate html), but what I need to do now is be able to upload
files and allow them to be downloaded by others.

Currently, I am able to upload the files to the desired folder...but I am
not able to view them online as I am able to do with the files in the folder
I put there originially. The ownership of the files is different, but when I
manually change them it doesn't seem to make much of a difference. Although
I see the new file's name on my page, when I click on its link, I get
"Object not found!...Error 404".

Does anyone know what is different about the files I upload and the ones I
create on the server myself?

Thanks,
Dari



Relevant Pages

  • Re: maybe OT: uploading files w/ cgi
    ... > I am trying to write a script that displays (with hypertext links) the names ... I have finished the directory listing ... but what I need to do now is be able to upload ...
    (comp.lang.perl.misc)
  • Re: Very basic HTML question
    ... Directory listing would show the contents of your web ... space at NTL, and would show any files you have uploaded there. ... and upload it to your webspace. ...
    (uk.comp.sys.mac)
  • Re: Very basic HTML question
    ... Directory listing would show the contents of your web ... you want every file in that folder to ... name 'htaccess' (no quotes). ... Step 3 - Use your ftp program to upload this file to the ...
    (uk.comp.sys.mac)
  • Re: FTP/SCP/SFTP uploading - restrict access
    ... >> chmod 270 upload ... >> If you want them to be able to check a filename if they know the filename ... directory listing then they know what the other files are. ... permission as the file was being written. ...
    (comp.os.linux.misc)