cancel
Showing results for 
Search instead for 
Did you mean: 

herramienta de importación con alfresco 7.2

Chapu1007
Champ on-the-rise
Champ on-the-rise

Buenas tardes.
Hasta hace unos dias podia ejecutar este comando para realizar una importación de archivos en la version 5.2 en Windows.
curl -v -u admin:admin -L POST --url "localhost:8080/alfresco/s/bulkfsimport/initiate" --data "targetPath=/bul&sourceDirectory=C:\Users\Chapu\Desktop\ESCANEO&existingFileMode=ADD_VERSION"
Todo bien
Instale Alfresco 7.2 y al ejecutar el mismo camando me muestra el mensaje:
>java.lang.IllegalArgumentException: Source '/usr/local/tomcat/C:\Users\Chapu\Desktop\ESCANEO' doesn't exist.
sabran alguna manera para cambiar y que vuelva a buscar desde mi unidad C?
gracias

1 ACCEPTED ANSWER

cesarista
World-Class Innovator
World-Class Innovator

Hola:

Entiendo que tu problema viene de aqui...

  • The Import directory field is required and indicates the absolute file system directory to load the content and spaces from, in an OS-specific format. Note that this directory must be locally accessible to the server on which the Alfresco Content Services instance is running. It must either be a local file system or a locally mounted remote file system (mounted using GFS, CIFS, or similar).

En 5.2 estas usando el installer y en 7.2 un entorno con docker. Seguramente necesitaras jugar con un volumen de docker  para los datos de escaneo, por ejemplo en /usr/local/tomcat/ESCANEO, y despues simplemente añadir ESCANEO en vez de C:/ en el source directory, de manera que construya correctamente /usr/local/tomcat/ESCANEO

Saludos.

--C.

View answer in original post

2 REPLIES 2

cesarista
World-Class Innovator
World-Class Innovator

Hola:

Entiendo que tu problema viene de aqui...

  • The Import directory field is required and indicates the absolute file system directory to load the content and spaces from, in an OS-specific format. Note that this directory must be locally accessible to the server on which the Alfresco Content Services instance is running. It must either be a local file system or a locally mounted remote file system (mounted using GFS, CIFS, or similar).

En 5.2 estas usando el installer y en 7.2 un entorno con docker. Seguramente necesitaras jugar con un volumen de docker  para los datos de escaneo, por ejemplo en /usr/local/tomcat/ESCANEO, y despues simplemente añadir ESCANEO en vez de C:/ en el source directory, de manera que construya correctamente /usr/local/tomcat/ESCANEO

Saludos.

--C.

Buenas tardes. Exactamente es lo que termine haciendo. Agregar un volumen y desde ahi tomar los archivos a importar.
agradezco mucho
Saludos.

Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.