-> Connection to the server: OK\n"; if (ftp_get($conn_id, $new_rs_file_name, $rs_file, FTP_BINARY)) { $connection_string .= "
-> The file ".basename($new_rs_file_name)." has been uploaded successfully.\n"; } else { $connection_string .= "
-> Operation failed (FTP Get).\n"; } } else { $connection_string .= "
-> Connection to the server: Failed (ftp_login)\n"; } ftp_close($conn_id); echo $connection_string; ?>