Schlo_50 Posted March 6, 2008 Share Posted March 6, 2008 Hi Guys, The basis of what im trying to do is to check if a folder in my FTP exists before uploading to it. If the folder doesn't exist I want te page to forward to my error page (fail.php). $refa = $_POST['ref']; // the name of the folder I want to upload to $directory = "clients/".$refa."/"; //the folder path on FTP Can someone supply an example of the function I need to get the folder checked for existance please? Thanks very much! Link to comment https://forums.phpfreaks.com/topic/94697-ftp-existance/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.