PHP file copy to another server; Access filesystem on other server
Posted
by dclowd9901
on Stack Overflow
See other posts from Stack Overflow
or by dclowd9901
Published on 2010-03-24T22:11:55Z
Indexed on
2010/03/24
22:13 UTC
Read the original article
Hit count: 236
I'm trying to write a PHP script to copy the files from your local machine to a server:
$destination_directory = 'I:\path\to\file\\' . $theme_number;
if(!@opendir($desination_directory)) {
echo 'Sorry, the destination directory could not be found.';
die();
}
I check the access to the destination folder with that process, and I keep getting the error return. Anyone know what I'm doing wrong? I pretty much have everything else in place. I just don't know how to access this other server.
© Stack Overflow or respective owner