The Way to Programming
The Way to Programming
I need a PHP script that would individually zip and fetch all .ch files (located inside a specific folder) from my ftp server into my website.
ftpdir/source/file1.ch ftpdir/source/mike.ch ftpdir/source/alex.ch
To:
websitedir/newfolder/file1.zip websitedir/newfolder/mike.zip websitedir/newfolder/alex.zip
I’ve tried countless codes I found online, but nothing works as I would like it to.
Sign in to your account