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

Avatar

Avatar

kendalls5216292

Avatar

kendalls5216292

kendalls5216292

27-09-2019

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).

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Bharath_valse

Avatar

Bharath_valse

Bharath_valse

27-09-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

Answers (9)

Answers (9)

Avatar

Avatar

newsinnetf23234

Avatar

newsinnetf23234

newsinnetf23234

28-09-2019

Avatar

Avatar

kendalls5216292

Avatar

kendalls5216292

kendalls5216292

27-09-2019

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

Avatar

Avatar

kendalls5216292

Avatar

kendalls5216292

kendalls5216292

27-09-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.

Avatar

Avatar

Bharath_valse

Avatar

Bharath_valse

Bharath_valse

27-09-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 

Avatar

Avatar

kendalls5216292

Avatar

kendalls5216292

kendalls5216292

27-09-2019

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

Avatar

Avatar

Bharath_valse

Avatar

Bharath_valse

Bharath_valse

27-09-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

Avatar

Avatar

kendalls5216292

Avatar

kendalls5216292

kendalls5216292

27-09-2019

Yes, it works for other paths.

Avatar

Avatar

Bharath_valse

Avatar

Bharath_valse

Bharath_valse

27-09-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

Avatar

Avatar

kendalls5216292

Avatar

kendalls5216292

kendalls5216292

27-09-2019

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