[Skip to main content](#vessel-content)

#   Import From Folders, Files &amp; Images Not working

##

- **[joyhanawa](/forum/user/40919-joyhanawa "View joyhanawa's Profile")**
- [![joyhanawa's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/40919-joyhanawa "View joyhanawa's Profile") Topic Author
- [ Offline](/forum/user/40919-joyhanawa)

Less More

- Posts: 36
- Thank you received: 1
-
-

10 years 7 months ago -  10 years 6 months ago [\#239204](#239204) by [joyhanawa](/forum/user/40919-joyhanawa "View joyhanawa's Profile")  *[Import From Folders, Files &amp; Images Not working](/forum/37-import-export-csv-xls/884339-import-from-folders-files-images-not-working#239204 "The type of the file 'demo282&#95;Columbus&#95;Ave&#95;41&#95;Boston.pdf' is not accepted. The file was skipped. 1 products found : 1 new products imported, 0 invalid product code, 0 already existing products When I use the Import Products from folders option --&gt; Files &amp; Images it skips the pdf. When I select files it accepts the pdf. When I select images, it recognizes the product exists, but it does not add the image to the product. ideally i want the pdf file (which I sell) and the thumbnail (png) to be picked up and moved automatically.")* was created by *[joyhanawa](/forum/user/40919-joyhanawa "View joyhanawa's Profile")*

The type of the file 'demo282_Columbus_Ave_41_Boston.pdf' is not accepted. The file was skipped.
1 products found : 1 new products imported, 0 invalid product code, 0 already existing products
When I use the Import Products from folders option --&gt; Files &amp; Images it skips the pdf.
When I select files it accepts the pdf.
When I select images, it recognizes the product exists, but it does not add the image to the product.
ideally i want the pdf file (which I sell) and the thumbnail (png) to be picked up and moved automatically.

Last edit: 10 years 6 months ago by [joyhanawa](/forum/user/40919-joyhanawa "View joyhanawa's Profile"). Reason: removed version comment at bottom

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84ODQzMzktaW1wb3J0LWZyb20tZm9sZGVycy1maWxlcy1pbWFnZXMtbm90LXdvcmtpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

10 years 6 months ago [\#239247](#239247) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Import From Folders, Files &amp; Images Not working](/forum/37-import-export-csv-xls/884339-import-from-folders-files-images-not-working#239247 "The type of the file 'demo282&#95;Columbus&#95;Ave&#95;41&#95;Boston.pdf' is not accepted. The file was skipped. 1 products found : 1 new products imported, 0 invalid product code, 0 already existing products When I use the Import Products from folders option --&gt; Files &amp; Images it skips the pdf. When I select files it accepts the pdf. When I select images, it recognizes the product exists, but it does not add the image to the product. ideally i want the pdf file (which I sell) and the thumbnail (png) to be picked up and moved automatically.")*

Hi,

If you get the error The type of the file 'demo282_Columbus_Ave_41_Boston.pdf' is not accepted, it normally means that the pdf extension is not listed in the "Allowed files" setting of the Files section of the HikaShop configuration. Please check on that.

When you say "When I select images, it recognizes the product exists, but it does not add the image to the product." I'm not sure of where and how you do that. Could you provide some screenshots of what you do and the result ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84ODQzMzktaW1wb3J0LWZyb20tZm9sZGVycy1maWxlcy1pbWFnZXMtbm90LXdvcmtpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[joyhanawa](/forum/user/40919-joyhanawa "View joyhanawa's Profile")**
- [![joyhanawa's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/40919-joyhanawa "View joyhanawa's Profile") Topic Author
- [ Offline](/forum/user/40919-joyhanawa)

Less More

- Posts: 36
- Thank you received: 1
-
-

10 years 6 months ago -  10 years 6 months ago [\#239287](#239287) by [joyhanawa](/forum/user/40919-joyhanawa "View joyhanawa's Profile")  Replied by *[joyhanawa](/forum/user/40919-joyhanawa "View joyhanawa's Profile")* on topic *[Import From Folders, Files &amp; Images Not working](/forum/37-import-export-csv-xls/884339-import-from-folders-files-images-not-working#239287 "The type of the file 'demo282&#95;Columbus&#95;Ave&#95;41&#95;Boston.pdf' is not accepted. The file was skipped. 1 products found : 1 new products imported, 0 invalid product code, 0 already existing products When I use the Import Products from folders option --&gt; Files &amp; Images it skips the pdf. When I select files it accepts the pdf. When I select images, it recognizes the product exists, but it does not add the image to the product. ideally i want the pdf file (which I sell) and the thumbnail (png) to be picked up and moved automatically.")*

[ ![hika-submit.png](/forum/attachment/31243) ](/forum/attachment/31243 "hika-submit.png")

PDF is listed as an accepted file type. The problem is when you select the option "Files &amp; Images".

Steps to reproduce.
Confirm your acceptable file types is .pdf
put a .pdf and a .png in a folder
Components --&gt; Hikashop --&gt;Products--&gt;Imports
Select Import Products from Folder
Select Type: Files &amp; Images

- [ ![hikashop-import-folder-issue.png](/forum/attachment/31242) ](/forum/attachment/31242 "...lder-issue.png") [ ](/forum/attachment/31242?download=1 "...lder-issue.png")
- [ ![hika-submit.png](/forum/attachment/31243) ](/forum/attachment/31243 "hika-submit.png") [ ](/forum/attachment/31243?download=1 "hika-submit.png")
- [ ![error-message-hika.png](/forum/attachment/31244) ](/forum/attachment/31244 "...ssage-hika.png") [ ](/forum/attachment/31244?download=1 "...ssage-hika.png")

Last edit: 10 years 6 months ago by [joyhanawa](/forum/user/40919-joyhanawa "View joyhanawa's Profile"). Reason: adding more screenshots

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84ODQzMzktaW1wb3J0LWZyb20tZm9sZGVycy1maWxlcy1pbWFnZXMtbm90LXdvcmtpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[joyhanawa](/forum/user/40919-joyhanawa "View joyhanawa's Profile")**
- [![joyhanawa's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/40919-joyhanawa "View joyhanawa's Profile") Topic Author
- [ Offline](/forum/user/40919-joyhanawa)

Less More

- Posts: 36
- Thank you received: 1
-
-

10 years 6 months ago [\#239307](#239307) by [joyhanawa](/forum/user/40919-joyhanawa "View joyhanawa's Profile")  Replied by *[joyhanawa](/forum/user/40919-joyhanawa "View joyhanawa's Profile")* on topic *[Import From Folders, Files &amp; Images Not working](/forum/37-import-export-csv-xls/884339-import-from-folders-files-images-not-working#239307 "The type of the file 'demo282&#95;Columbus&#95;Ave&#95;41&#95;Boston.pdf' is not accepted. The file was skipped. 1 products found : 1 new products imported, 0 invalid product code, 0 already existing products When I use the Import Products from folders option --&gt; Files &amp; Images it skips the pdf. When I select files it accepts the pdf. When I select images, it recognizes the product exists, but it does not add the image to the product. ideally i want the pdf file (which I sell) and the thumbnail (png) to be picked up and moved automatically.")*

I think my problem is that I expected this process to move the image to the uploads folder. I understand now that the image has to be in the folder already, and the product will be updated to have a link to the image. I still have the issue with it skipping pdf files.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84ODQzMzktaW1wb3J0LWZyb20tZm9sZGVycy1maWxlcy1pbWFnZXMtbm90LXdvcmtpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

10 years 6 months ago [\#239329](#239329) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Import From Folders, Files &amp; Images Not working](/forum/37-import-export-csv-xls/884339-import-from-folders-files-images-not-working#239329 "The type of the file 'demo282&#95;Columbus&#95;Ave&#95;41&#95;Boston.pdf' is not accepted. The file was skipped. 1 products found : 1 new products imported, 0 invalid product code, 0 already existing products When I use the Import Products from folders option --&gt; Files &amp; Images it skips the pdf. When I select files it accepts the pdf. When I select images, it recognizes the product exists, but it does not add the image to the product. ideally i want the pdf file (which I sell) and the thumbnail (png) to be picked up and moved automatically.")*

Hi,

I hadn't understood that you were talking about the import system.
When you select "files &amp; images" in the import, it means that the system will generate a product for each element in the folder and that element will be added as a file and as an image in the product.
So it can only work with images. Thus, it's normal that you got that error.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84ODQzMzktaW1wb3J0LWZyb20tZm9sZGVycy1maWxlcy1pbWFnZXMtbm90LXdvcmtpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[joyhanawa](/forum/user/40919-joyhanawa "View joyhanawa's Profile")**
- [![joyhanawa's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/40919-joyhanawa "View joyhanawa's Profile") Topic Author
- [ Offline](/forum/user/40919-joyhanawa)

Less More

- Posts: 36
- Thank you received: 1
-
-

10 years 6 months ago [\#239353](#239353) by [joyhanawa](/forum/user/40919-joyhanawa "View joyhanawa's Profile")  Replied by *[joyhanawa](/forum/user/40919-joyhanawa "View joyhanawa's Profile")* on topic *[Import From Folders, Files &amp; Images Not working](/forum/37-import-export-csv-xls/884339-import-from-folders-files-images-not-working#239353 "The type of the file 'demo282&#95;Columbus&#95;Ave&#95;41&#95;Boston.pdf' is not accepted. The file was skipped. 1 products found : 1 new products imported, 0 invalid product code, 0 already existing products When I use the Import Products from folders option --&gt; Files &amp; Images it skips the pdf. When I select files it accepts the pdf. When I select images, it recognizes the product exists, but it does not add the image to the product. ideally i want the pdf file (which I sell) and the thumbnail (png) to be picked up and moved automatically.")*

Hi, it works fine when I only select files, or when I only select images. Maybe you should remove the option for "files &amp; images" since, as you say, "it's normal that I got that error". Errors aren't normal.

Basically you are saying that we can't import both files and images, it's one or the other, and the images always have be stored in the hikashop files path (set in the configuration).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84ODQzMzktaW1wb3J0LWZyb20tZm9sZGVycy1maWxlcy1pbWFnZXMtbm90LXdvcmtpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

10 years 6 months ago [\#239355](#239355) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Import From Folders, Files &amp; Images Not working](/forum/37-import-export-csv-xls/884339-import-from-folders-files-images-not-working#239355 "The type of the file 'demo282&#95;Columbus&#95;Ave&#95;41&#95;Boston.pdf' is not accepted. The file was skipped. 1 products found : 1 new products imported, 0 invalid product code, 0 already existing products When I use the Import Products from folders option --&gt; Files &amp; Images it skips the pdf. When I select files it accepts the pdf. When I select images, it recognizes the product exists, but it does not add the image to the product. ideally i want the pdf file (which I sell) and the thumbnail (png) to be picked up and moved automatically.")*

Hi,

The "Files and images" works. Put only images in the folder and use that option and you'll see that it will import the images as both files and images in the products.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84ODQzMzktaW1wb3J0LWZyb20tZm9sZGVycy1maWxlcy1pbWFnZXMtbm90LXdvcmtpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.078 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
