Re: Script to upload files

2004-02-21 Thread Stephen
On Sat, Feb 21, 2004 at 01:29:28PM -0500 or thereabouts, Antonio Rodriguez wrote: > I need a script that would upload local files to a remote apache > server running on debian, activated from a web page served by the > above mentioned debian server. The browser clients may be expected to run > anyt

Re: Script to upload files

2004-02-21 Thread Marty Landman
Here's one I wrote as part of my content management system so users only get here after signing onto their accounts, and the files are uploading to their own site. # upload a file from a user sub upload { my($fl,$nam) = @_; # upl

Re: Script to upload files

2004-02-21 Thread Peter Billson
Antonio, Below is a simple perl script that will upload a file to the server. 1) WARNING This is VERY insecure as ANYONE could upload ANYTHING to your server. You will want to wrap this in some type of security. DO NOT USE THIS AS IS! 2) The file will be written as the user running the Web

Re: Script to upload files

2004-02-21 Thread Antonio Rodriguez
On Sat, Feb 21, 2004 at 01:54:19PM -0500, Peter Billson wrote: > Antonio, > Are you looking for a script to automaticlly grab files or are you > looking for the ability to have the client select a file, click a button > then upload it to the server? > > Pete > -- Yeah, probably to select a fil

Re: Script to upload files

2004-02-21 Thread Peter Billson
Antonio, Are you looking for a script to automaticlly grab files or are you looking for the ability to have the client select a file, click a button then upload it to the server? Pete -- http://www.elbnet.com ELB Internet Service, Inc. Web Design, Computer Consulting, Internet Hosting Antoni

Script to upload files

2004-02-21 Thread Antonio Rodriguez
I need a script that would upload local files to a remote apache server running on debian, activated from a web page served by the above mentioned debian server. The browser clients may be expected to run anything, mostly windows, which makes it difficult to predict where their files are going to b