|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
A high performance database engine using optimized data access for all development environments including Delphi, Visual Studio .NET, Visual Basic, Visual FoxPro. and more. Learn More |
|
#1
|
|||
|
|||
|
Error using ftp_get
I would like to make an download via FTP. The connection works correct and I find the source file on the server. But i got
an error concerning the destination directory of the client computer (the directory exists). Warning: error opening C:\Temp\Main.php in /home/... I tried different versions of the scripts like $download = ftp_get($conn_id, "C:\\Temp\\Main.php", "/home/.../Main.php", FTP_ASCII); $download = ftp_get($conn_id, "C:/Temp/Main.php", "/home/.../Main.php", FTP_ASCII); with the same error. The destination system is Windows 2000. So I'am not shure if it is a matter of the slashes or a matter of the rights on the client computer? Has someone an idea? |
|
#2
|
||||
|
||||
|
does c:\temp exists ??? just making sure.
u r running script on local machine's webserver right ? does webserver has enough persmission to create file in c:\temp ?? check that out. jd
__________________
_____________________________ d.k.jariwala (JD) ~ simple thought, simple act ~ I blog @ http://jdk.phpkid.org |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > Error using ftp_get |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|