php - ftp all files in a directory?
        Posted  
        
            by PoppySeedsAndAppleJuice
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by PoppySeedsAndAppleJuice
        
        
        
        Published on 2010-05-20T00:59:53Z
        Indexed on 
            2010/05/20
            1:10 UTC
        
        
        Read the original article
        Hit count: 251
        
Trying to use php to get all files in a directory and save them locally... It seems like I constantly need to specify a name? Is that right?
function grabFiles() {
         $conn = ftp_connect(REMOTE);
             @ftp_login($conn, REMOTEUSER, REMOTEPASS);
             ftp_get($conn, '*', FTP_BINARY);
        }
© Stack Overflow or respective owner