I am trying to download a file using FTP Server .
fI used the ollowing script for file downloading.
FTP connection is success.
But while calling ftp_get() Getting an error like
Warning: ftp_get() [function.ftp-get]: File not found in C:\xampp\htdocs\test\ftp_check2.php on line 4
<?php $conn = ftp_connect("192.168.1.20") or die("Could not connect"); ftp_login($conn,"user1","user1"); echo ftp_get($conn,"local/p.txt","server/p.txt",FTP_ASCII); ftp_close($conn); ?>
Can Anyone Can Help me please.