Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: Uploading Multiple Files

by cal (Beadle)
on Sep 27, 2002 at 20:45 UTC ( [id://201335]=note: print w/replies, xml ) Need Help??


in reply to Re: Uploading Multiple Files
in thread Uploading Multiple Files

I want to send a pre-defined list of files to a server.

Replies are listed 'Best First'.
Re: Re: Re: Uploading Multiple Files
by fsn (Friar) on Sep 27, 2002 at 21:10 UTC
    I'm afraid might be in a dead end here. I don't think the server can request just any file from the client, that would be like a MAJOR security breach (f.ex. every server would have a file upload, which would discard the name and upload /etc/passwd or the Windows registry or something).

    I think the uploaded file's name is in the request that the client sends, and if I remember correctly, the uploaded file comes next. I don't think the webserver is even allowed to say anything before the entire file is uploaded, and therefore you can't request a file that way, but I'm on very thin ice here. Anyway, it sounds very dangerous to me.

Re: Re: Re: Uploading Multiple Files
by sauoq (Abbot) on Sep 27, 2002 at 21:24 UTC

    The server can't tell the client what files to send. (Hopefully not, at least.) As fsn points out, that would be a huge gaping security hole.

    -sauoq
    "My two cents aren't worth a dime.";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://201335]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-19 03:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found