How do I download files from the internet server to my computer?
How do I tell the script the correct hard drive folder on my computer to
copy the files to?
After connecting to the internet server, I am trying:
$_SESSION['archive_dir_re ad'] = "/uploaddir/"; // directory on server
$_SESSION['archive_dir_st ore'] = "c:/_picture_file/"; // directory on
computer
copy($_SESSION['archive_dir_re ad'].$_SESSION['picture1'],
$_SESSION['archive_dir_st ore'].$_SESSION['picture1'])
$_SESSION['picture1'] is the file name
How do I address my computer from the internet?
ftp://c:/_picture_file/
or http://c:/_picture_file/
http://ip address/c:/_picture_file/
Thanks for the help.
Ken
How do I tell the script the correct hard drive folder on my computer to
copy the files to?
After connecting to the internet server, I am trying:
$_SESSION['archive_dir_re ad'] = "/uploaddir/"; // directory on server
$_SESSION['archive_dir_st ore'] = "c:/_picture_file/"; // directory on
computer
copy($_SESSION['archive_dir_re ad'].$_SESSION['picture1'],
$_SESSION['archive_dir_st ore'].$_SESSION['picture1'])
$_SESSION['picture1'] is the file name
How do I address my computer from the internet?
ftp://c:/_picture_file/
or http://c:/_picture_file/
http://ip address/c:/_picture_file/
Thanks for the help.
Ken
Comment