Can not make this work inside a php script.

Have tried several variations:
$cmd = "scp [EMAIL PROTECTED]:$directory/\{$files} $tmp_dir/.";

$cmd = "scp [EMAIL PROTECTED]:$directory/" . '{' . $files . '} ' . "$tmp_dir/.";

etc...

I can echo out the command and get a well formed command, i.e. one that will 
execute from a command prompt, but when I try to exec() $cmd from within the 
script the globbing is taken literally.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to