Re: Question about copying files.

2002-07-02 Thread Nigel Peck
Yes you're right, sorry. (darn case sensitivity :-) >>> Felix Geerinckx <[EMAIL PROTECTED]> 07/02/02 09:55am >>> on Tue, 02 Jul 2002 08:50:37 GMT, Nigel Peck wrote: > I would suggest using file::copy instead of `cp` for security reasons, > especially within a CGI script. (and it's more portable)

Re: Question about copying files.

2002-07-02 Thread Felix Geerinckx
on Tue, 02 Jul 2002 08:50:37 GMT, Nigel Peck wrote: > I would suggest using file::copy instead of `cp` for security reasons, > especially within a CGI script. (and it's more portable) Except it isn't file::copy but File::Copy. -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: Question about copying files.

2002-07-02 Thread Connie Chan
2, 2002 4:46 PM Subject: Re: Question about copying files. > on Tue, 02 Jul 2002 08:25:14 GMT, Connie Chan wrote: > > > print `cp source dest`; # within ` `, you can run any shell command. > > I would use File::Copy instead of forking another process. > > -- > felix >

Re: Question about copying files.

2002-07-02 Thread Nigel Peck
I would suggest using file::copy instead of `cp` for security reasons, especially within a CGI script. (and it's more portable) >>> <[EMAIL PROTECTED]> 07/02/02 08:40am >>> I've got a script that parses out a mail file into an array then uses the print command to copy the array to another locati

Re: Question about copying files.

2002-07-02 Thread Nigel Peck
perldoc file::copy >>> <[EMAIL PROTECTED]> 07/02/02 08:40am >>> I've got a script that parses out a mail file into an array then uses the print command to copy the array to another location. Effectively I'm just copying one file from its original location to another location, I'm using a cgi s

Re: Question about copying files.

2002-07-02 Thread Felix Geerinckx
on Tue, 02 Jul 2002 08:25:14 GMT, Connie Chan wrote: > print `cp source dest`; # within ` `, you can run any shell command. I would use File::Copy instead of forking another process. -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Question about copying files.

2002-07-02 Thread Connie Chan
print `cp source dest`; # within ` `, you can run any shell command. That's it =) Smiley Connie =) - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 02, 2002 3:40 PM Subject: Question about copying files. > I've got a

Question about copying files.

2002-07-02 Thread mystic_mac1
I've got a script that parses out a mail file into an array then uses the print command to copy the array to another location. Effectively I'm just copying one file from its original location to another location, I'm using a cgi script to do this in, how can I call a "cp" command from within a