FTP External File Import
-
Hi There,
I have tried several methods of being update products via a file on an external FTP server requiring a username and password. (https://ww.wp.xz.cn/support/topic/importing-from-ftp/)
[custom_file_download("ftp://username:[email protected]/full/path/to/file.csv", "csv")]I have also tried the function code work around – both options give me a “There has been a critical error on your website.” error, which is displayed in the debug log as:
PHP Fatal error: Uncaught XmlImportException: Unexpected symbol '%' in /home/uniqxzhx/*******/wp-content/plugins/wp-all-import-pro/libraries/XmlImportTemplateScanner.php:180 Stack trace: #0 /home/uniqxzhx/*******/wp-content/plugins/wp-all-import-pro/libraries/XmlImportParser.php(107): XmlImportTemplateScanner->scan(Object(XmlImportStringReader)) #1 /home/uniqxzhx/*******/wp-content/plugins/wp-all-import-pro/actions/wp_ajax_upload_resource.php(35): XmlImportParser::factory('<?xml version="...', '/data/node', '[custom_file_do...', NULL) #2 /home/uniqxzhx/*******/wp-includes/class-wp-hook.php(288): pmxi_wp_ajax_upload_resource('') #3 /home/uniqxzhx/*******/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array) #4 /home/uniqxzhx/*******/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /home/uniqxzhx/*******/wp-admin/admin-ajax.php(175): do_action('wp_ajax_upload_...') #6 {main} thrown in /home/uniqxzhx/*******/wp-content/plugins/wp-all-import-pro/libraries/XmlImportTemplateScanner.php on line 180The data-file is around 5MB in size
Any assistance would be greatly appreciated.
Thanks,
Ricky
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘FTP External File Import’ is closed to new replies.