cancel
Showing results for 
Search instead for 
Did you mean: 

Use static path for file upload

VictorVillalobos
Explorer
0 Kudos
1,273

It is possible to use a static path for uploading files from the storefront on CCV2?

Example:

/hyb/app/media/uploads

 

alemasetto
Participant
VictorVillalobos
Explorer
0 Kudos
alemasetto that works for ccv2 and you are and admin of the portal, I was referencing you have a storefront and option to upload a file, from my reading I would have to use azure blob or other external providel not static routes from hybris is installed in the cloud

Accepted Solutions (1)

Accepted Solutions (1)

samuelyang
Product and Topic Expert
Product and Topic Expert

Hi @VictorVillalobos 

It's not recommended to upload files from the SCC storefront using a static path like /hyb/app/media/uploads.

As you know, everything in the SCC solution is running in K8S cluster or Docker containers, the static paths or local storage is ephemeral and could be easily destroyed and recreated at any time by the cluster. Using a local storage like this is very risky and unreliable, so we'd suggest you always use a cloud storage like Azure Blob for file uploading and persistence. 

Hope it helps. 

Answers (0)