The WordPress Download Manager Pro Remote FTP Storage add-on is a tool that facilitates the storage of files on a remote server and allows the addition of files from an external FTP location to your packages. This functionality grants you the ability to browse through remote FTP server locations, select specific files, and seamlessly incorporate them into your package selections. Enabling individual file downloads within a package is also supported when multiple files are added.
Here’s a guide on using the FTP Auto-Import Dir feature:
- Set Up FTP Server:
- Create a directory on your FTP server.
- Prepare a CSV file containing all the package data you want to import (you can refer to a Sample CSV File provided) and place it in the FTP directory.
- Organize File Structure:
- Within the FTP directory (#1), create another directory named “files.”
- Place all the files intended for import into this “files” directory.
- Configure Cronjob:
- Set up a daily cronjob on your server to trigger the URL:
http://yoursite/?importcsv=1
- This cronjob will automatically check the CSV file daily for any changes. If you add new rows or update existing ones in the CSV file, the cronjob will import or update the packages accordingly.
- Set up a daily cronjob on your server to trigger the URL:
By following these steps and scheduling the cronjob, your WordPress Download Manager Pro will regularly check the designated CSV file on the FTP server for updates. Any changes made in the CSV file will be automatically reflected in your package data, streamlining the import process for added or modified files.