File resources subfolders | Community
Skip to main content
david--garcia
Level 10
Jun 1, 2021 4:17 PM UTC
Solved

File resources subfolders

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.
_Manoj_Kumar_
_Manoj_Kumar_Accepted solution
New Participant
Jun 1, 2021 6:26 PM UTC

@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     Find me on LinkedIn

3 replies

Sukrity_Wadhwa
Employee
Jun 23, 2021 5:28 PM UTC

Hi @david--garcia,

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

Thanks!

Translate
Sukrity Wadhwa
CedricRey
Level 5
Jun 2, 2021 10:22 PM UTC

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.

 

Translate
_Manoj_Kumar_
_Manoj_Kumar_Accepted solution
New Participant
Jun 1, 2021 6:26 PM UTC

@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

Translate
     Manoj     Find me on LinkedIn