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

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

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.
Bharath_valse
Bharath_valseAccepted solution
Level 4
Sep 27, 2019 6:10 PM UTC

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

newsinnetf23234
New Participant
Sep 28, 2019 5:24 PM UTC
kendalls5216292
Level 2
Sep 27, 2019 8:09 PM UTC

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

Translate
kendalls5216292
Level 2
Sep 27, 2019 7:43 PM UTC

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

Translate
Bharath_valse
Level 4
Sep 27, 2019 6:56 PM UTC

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 

Translate
kendalls5216292
Level 2
Sep 27, 2019 6:50 PM UTC

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

Translate
Bharath_valse
Level 4
Sep 27, 2019 6:48 PM UTC

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

Translate
kendalls5216292
Level 2
Sep 27, 2019 6:32 PM UTC

Yes, it works for other paths.

Translate
Bharath_valse
Level 4
Sep 27, 2019 6:31 PM UTC

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

Translate
kendalls5216292
Level 2
Sep 27, 2019 6:14 PM UTC

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

Translate
Bharath_valse
Bharath_valseAccepted solution
Level 4
Sep 27, 2019 6:10 PM UTC

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

Translate