File resources subfolders | Community
Skip to main content
david--garcia
Level 10
June 1, 2021
Solved

File resources subfolders

  • June 1, 2021
  • 3 replies
  • 1832 views

Hi Community,

 

I am building a client's webapp whose assets file structure is as following, is it possible to create sub folders under "res" directory path? otherwise I need to dump everything in the resources folder and modify all the folder paths in the html pages and css files and javascript files, is this a limitation? what can be done?

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Manoj_Kumar

@david--garcia 

AFAIK, Uploading folders is not possible. You will have to manually upload the assets and replace the relative paths to the server path.

 

Thanks,

Manoj

3 replies

Manoj_Kumar
Community Advisor
Manoj_KumarCommunity AdvisorAccepted solution
Community Advisor
June 1, 2021

@david--garcia 

AFAIK, Uploading folders is not possible. You will have to manually upload the assets and replace the relative paths to the server path.

 

Thanks,

Manoj

Manoj  | https://themartech.pro
CedricRey
Level 5
June 2, 2021

Hello,

Do you have access to the server ? I mean, not through the console, but with FTP access or a distant desktop ?

If so, you can create subfolders in the 'res' folder. These subfolders are accessible with the HTTP access to the 'res' folder.

 

Another way should be to upload a zip file of your folder with the console (with the xtk:fileRes) and try to unzip it with the ExecCommand function, but beware, this could be dangerous for your instance. I recommend you to try it in a development environement.

 

Sukrity_Wadhwa
Community Manager
Community Manager
June 23, 2021

Hi @david--garcia,

Were any of the given solutions helpful to resolve your query? Do let us know.

Thanks!

Sukrity Wadhwa