brooksh Posted March 17, 2007 Share Posted March 17, 2007 I am trying to ignore specific files for download. I have this code, but it still downloads the unwanted file. Also how could I do it for more than one file to ignore? if (file_exists($ignore)) { } else { ftp_get($conn_id, $dir" . basename($file), $file, FTP_BINARY); } } Link to comment https://forums.phpfreaks.com/topic/43151-how-to-ignore-a-file-to-be-downloaded-via-ftp/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.