Understanding system multiple steps
| From: | Mark Steudel | Date: | Thu, 09 Mar 2006 17:08:57 +0000 |
| Subject: | Understanding system multiple steps | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-231725@lists.php.net to get a copy of this message | ||
So I am using system() to try and access sftp from my php scripts. How do I
do multiple steps once I've initiated my command
e.g.
$file = 'filname.txt';
system( "C:\sftp\sftp.exe <login flags> | put ".$file );
Im on a windows box, so I don't know if I can do something like this ...
anyway any help would be ppreciated
THanks