- Posts: 640
- Thank you received: 16
MassAction path gets replaced after upload file
- PeterChain
-
Topic Author
- Offline
Less
More
10 years 7 months ago - 10 years 7 months ago #228659
by PeterChain
MassAction path gets replaced after upload file was created by PeterChain
-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
I have a working mass action that imports a CSV from a local folder with a given path. It all works well.
mysite_root/proves/synchro_target/export_experiment.csv
Then, if I make an occasional manual upload everything works well too
But after this upload the mass action goes back to Specifiy a file location mode and it invents its own path overriding the one I entered.
mysite_root/proves/images/com_hikashop/upload/export_experiment.csv
-- Joomla version -- : 3.4.8
I have a working mass action that imports a CSV from a local folder with a given path. It all works well.
mysite_root/proves/synchro_target/export_experiment.csv
Then, if I make an occasional manual upload everything works well too
But after this upload the mass action goes back to Specifiy a file location mode and it invents its own path overriding the one I entered.
mysite_root/proves/images/com_hikashop/upload/export_experiment.csv
Last edit: 10 years 7 months ago by PeterChain.
Please Log in or Create an account to join the conversation.
10 years 7 months ago #228674
by Xavier
Replied by Xavier on topic MassAction path gets replaced after upload file
Hi,
When using the upload file, once you save the action the system upload the file on the server.
So that's why it display back the "specify file location" option as it is the real path to that file now.
When using the upload file, once you save the action the system upload the file on the server.
So that's why it display back the "specify file location" option as it is the real path to that file now.
The following user(s) said Thank You: PeterChain
Please Log in or Create an account to join the conversation.
- PeterChain
-
Topic Author
- Offline
Less
More
- Posts: 640
- Thank you received: 16
10 years 7 months ago #228788
by PeterChain
Replied by PeterChain on topic MassAction path gets replaced after upload file
Ok, I understand.
this is not a critical difficulty, but can I somewhere specify where the file should be uploaded by default?
this is not a critical difficulty, but can I somewhere specify where the file should be uploaded by default?
Please Log in or Create an account to join the conversation.
10 years 7 months ago #228839
by Xavier
Replied by Xavier on topic MassAction path gets replaced after upload file
Hi,
This is using the option "Upload folder" in Configuration > Main > Files. So you can change the path there, but it will affect all the other files uploaded to HikaShop.
We will see to add an option to have a specific path for the csv file upload from the mass actions.
This is using the option "Upload folder" in Configuration > Main > Files. So you can change the path there, but it will affect all the other files uploaded to HikaShop.
We will see to add an option to have a specific path for the csv file upload from the mass actions.
The following user(s) said Thank You: PeterChain
Please Log in or Create an account to join the conversation.
- PeterChain
-
Topic Author
- Offline
Less
More
- Posts: 640
- Thank you received: 16
10 years 7 months ago #228898
by PeterChain
Good. This would make a lot of sense.
Thank you.
Replied by PeterChain on topic MassAction path gets replaced after upload file
Xavier wrote: We will see to add an option to have a specific path for the csv file upload from the mass actions.
Good. This would make a lot of sense.
Thank you.
Please Log in or Create an account to join the conversation.
Time to create page: 0.196 seconds