Hi, I am using PHP to build a string to pass to the OS using exec or system ..
the long and the short of it is that $exec evaluates to ..
$exec = "scp /some/file.txt email@example.com
which should scp file.txt to the remote host...
but when I use exec() or system() I get the reply ..
`cp: cannot create regular file `firstname.lastname@example.org/some/file.txt``
Its as though the 's' in scp is being ignored ? any ideas?