Can I have two submit buttons in one form? [closed]

If you’re placing a button in a meta box, it is included within the FORM tags for a post. A simple answer is no, you shouldn’t place a submit button in the post form. However, nstead of using a normal input[type=submit], use the following:

<button type="button" name="button-name" id='button-id'>Button Text</button>'

A click won’t process as a submit action, it will just click. You obviously will need to bind the click event to however you’re importing your file list. If you’re not using AJAX, you should. Check out this article on how to use AJAX in WordPress.

Having a submit button within the form will post to post.php and certainly will have unwanted effects, namely losing any changed data within the post form.