Hi Guys,
Coiuld anyone answer a question for me?
I am trying to write ftp code that will recursicely read thru the contents of a directory on a local machine and upload the entire content to the server via ftp coded in php.
I want to run the ftp from the server and am using chdir to try to change to the path on the local machine but I keep getting the err no 2 'no such fiel or directory'
Example, if the save this code in a page called test.php and browse to it I get the above error output in the browser window.
<?php
chdir('c:\Program Files');
print getcwd();
?>
Can you access a local path from a web browser like I want to do?
Thanks for help
Fergal.