There is no way. Why not use PHP to retrieve the file from your FTP or HTTP site yourself? A simple file_get_contents()
will suffice (yes, it works for FTP and HTTP links).
$file_contents = file_get_contents('http://www.blah.com.au/artwork/'.$OrderID.'/'.$ItemID.'/Final/Final.pdf');
Edit
Based on new information, you might want to provide a select box with all the files on the ftp folder. You may do so by using ftp_connect()
, ftp_login()
, ftp_nlist()
and ftp_close()
<?php
// set up basic connection
$conn_id = ftp_connect($ftp_server);
// login with username and password
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
// get contents of the current directory
$contents = ftp_nlist($conn_id, ".");
// output $contents
var_dump($contents);
?>