I am not able to transfer file from one server to another using ftp_put() below is the warning its showing and also files are not getting transfered.
If i put absolute path below error is coming
>Warning: ftp_fput() [function.ftp-fput]: Can't open that file: No such file or directory in ...
Jump to Post
It may be a wrong path to the local file, make sure you use absolute paths:
$file = $_SERVER['DOCUMENT_ROOT'] . '/path/to/file.ext';
All 8 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.