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
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.