How can I upload a directory tree in CRXDE lite to /etc/fmdita/dita_resources? | Community
Skip to main content
kendalls5216292
Level 2
September 27, 2019
Solved

How can I upload a directory tree in CRXDE lite to /etc/fmdita/dita_resources?

  • September 27, 2019
  • 10 replies
  • 8918 views

I see how I can use curl in a script to do this. Can I do this by drag and drop? The files are text files (a DTD and XML catalog).

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 Bharath_valse

You could use webdav to upload structured resources into AEM using a client like Cyberduck or OOTB OS tools. Refer [0] for more details

[0]

WebDAV Access

10 replies

Bharath_valse
Bharath_valseAccepted solution
Level 4
September 27, 2019

You could use webdav to upload structured resources into AEM using a client like Cyberduck or OOTB OS tools. Refer [0] for more details

[0]

WebDAV Access

kendalls5216292
Level 2
September 27, 2019

It doesn't allow me to drag files into /etc/fmdita/dita_resources when I've mounted the drive as admin.

Bharath_valse
Level 4
September 27, 2019

is it only path in /etc/fmdita/dita_resources? Does it work for other paths?

Checked drag and drop from local drive to mount drive on MAC for a different path on my 6.4 instance and was able to add multiple files to AEM through webdav

kendalls5216292
Level 2
September 27, 2019

Yes, it works for other paths.

Bharath_valse
Level 4
September 27, 2019

Another way you could add the resources is through code, which is suitable if its a one time job and build the application package as part of maven project

kendalls5216292
Level 2
September 27, 2019

Yes. The question is essentially asking how to do this without writing a program.

Bharath_valse
Level 4
September 27, 2019

Well there must be some kind of information [logs] on the webdav client if uploads are not working for certain paths. Please check if there's a difference for the path where upload works and doesn't. It might be worth to try a different webdav client 

kendalls5216292
Level 2
September 27, 2019

Ah. It's only the /etc path that I'm not allowed to write to. It works over webdav if use the full path.

kendalls5216292
Level 2
September 27, 2019

Navigate, not write. I can't navigate to /etc over webdav, but I can to /etc/fmdita/dita_resources.

newsinnetf23234
September 28, 2019