FTP server deatails according to domain

Posted by Phil Jackson on Stack Overflow See other posts from Stack Overflow or by Phil Jackson
Published on 2009-09-26T17:38:41Z Indexed on 2010/04/05 20:03 UTC
Read the original article Hit count: 286

Filed under:
|

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

© Stack Overflow or respective owner

Related posts about ftp

Related posts about php