FTP server deatails according to domain
- by Phil Jackson
Hello,
What I am trying to accomplish is getting relative and absolute paths to files, images and folders that reside on a remote server.
I have website address, and FTP details (these are required when signing up). What i need to know is whether the FTP details correspond correctly with the website.
Firstly I used (this is all in PHP I forgot to add) :
$conn_id = ftp_connect("ftp.".$WEBSITE);
if($login_result = ftp_login ($conn_id, $ftpUser, $ftpPass))
which works. BUT what i dont know, and am not sure about at all, will ("ftp.".$WEBSITE) be sufficient for all "FTP servers"?
Regards, Phil Jackson