Tanvir,
I’m trying to use your export feature so I could get a working sample.csv file.
Unfortunately, the one I’m using (for an FTP upload) are failing (several errors in the error log).
My setup is: I have a local FTP server, and later on I’d like to configure a task which would run once every day, fetching the updated xxxx.csv file which would have the new files which were created meantime.
Now, I’m just testing if the FTP feature works, but it keeps failing. My sample file and the error logs:
[Mon Dec 20 16:56:01.312596 2021] [php7:error] [pid 1148] [client 89.152.27.81:56868] PHP Fatal error: Uncaught Error: Call to undefined function quote_all_array() in /var/www/html/wp-content/plugins/wpdm-ftp-file-browser/wpdm-ftp-file-browser.p
hp:868\nStack trace:\n#0 /var/www/html/wp-content/plugins/wpdm-ftp-file-browser/wpdm-ftp-file-browser.php(774): wpdm_import_ftp_dir()\n#1 /var/www/html/wp-content/plugins/wpdm-ftp-file-browser/wpdm-ftp-file-browser.php(815): wpdm_ftpdir_csv_impor
t_process()\n#2 [internal function]: wpdm_ftp_settings()\n#3 /var/www/html/wp-content/plugins/download-manager/src/Admin/Menu/Settings.php(42): call_user_func()\n#4 /var/www/html/wp-includes/class-wp-hook.php(303): WPDM\\Admin\\Menu\\Settings->lo
adSettingsPage()\n#5 /var/www/html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()\n#6 /var/www/html/wp-includes/plugin.php(470): WP_Hook->do_action()\n#7 /var/www/html/wp-admin/admin-ajax.php(187): do_action()\n#8 {main}\n thrown i
n /var/www/html/wp-content/plugins/wpdm-ftp-file-browser/wpdm-ftp-file-browser.php on line 868, referer: http://34.159.6.251/wp-admin/edit.php?post_type=wpdmpro
sample csv file (3 lines):
title,description,link_label,password,quota,show_quota,show_counter,access,template,category,icon,preview,files,sourceurl,download_count,page_template,uid,creat
e_date,update_date
template one,a1,Download,,0,0,0,”subscriber,administrator”,link-template-default.php,”um”,download-manager/file-type-icons/box_download.png,http://34.159.6.251/
wpdmpro320/wp-content/uploads/2012/01/2.jpg,”abc.txt,another-file.doc,other-file.pdf”,,31,page-template-default.php,1,YYYYMMDD,YYYYMMDD
Web developer iconset,Description 2,Download,,0,0,0,”guest,administrator,editor”,link-template-default.php,”category-id-1,category-id-2″,,http://localhost/wpdmp
ro320/wp-content/uploads/2012/07/calculator1.jpg,”abc.txt,another-file.doc,other-file.pdf”,,15,page-template-default.php,1,YYYYMMDD,YYYYMMDD
Thank you,