Do you know about integration data between SFTP (Filezila) to Anaplan?
I want to import data from SFTP file to Anaplan.
Hi @adisulyadi , I think you can able to achieve this with the help of Anaplan Connect. Write a batch script to export the file from SFTP and load the file in Anaplan with the batch script. Sample code: @echo off
REM Set the path to the Anaplan Connect executable set ANAPLAN_CONNECT_PATH=C:\Anaplan\AnaplanConnect\AnaplanConnect.bat
REM Set the SFTP connection details set SFTP_HOST=my.sftp.server.com set SFTP_PORT=22 set SFTP_USER=myusername set SFTP_PASSWORD=mypassword set SFTP_REMOTE_DIR=/path/to/remote/directory set SFTP_FILE_NAME=MySFTPFile.csv
REM Set the Anaplan import action ID set IMPORT_ACTION_ID=123456789
REM Set the name of the import file as defined in Anaplan set IMPORT_FILE_NAME=MyImportFile.csv
REM Set the path to the directory where the import file will be saved set IMPORT_FILE_DIR=C:\Anaplan\ImportFiles
REM Download the file from SFTP to the local directory sftp -oPort=%SFTP_PORT% %SFTP_USER%@%SFTP_HOST%:%SFTP_REMOTE_DIR%/%SFTP_FILE_NAME% "%IMPORT_FILE_DIR%%IMPORT_FILE_NAME%" if %ERRORLEVEL% NEQ 0 ( echo Error downloading file from SFTP exit /b 1 )
REM Execute the Anaplan import action using Anaplan Connect "%ANAPLAN_CONNECT_PATH%" import "%IMPORT_ACTION_ID%" -file "%IMPORT_FILE_DIR%%IMPORT_FILE_NAME%" -put "MyPutValue"
REM Exit the script with a success status exit /b 0
Hope this helps :). Regards, Venkatesh
Hello @adisulyadi,
Just to add to the above, I believe you have a few options on the table:
Hope that makes sense!
Cheers!
Hi ALL, I have a module where a line item (Assignments column) is formatted by a large ‘Projects’ list. Each record is assigned to a Project and this module is published to a UX page. When users apply a filter on the Assignments column, the filter dropdown displays the entire Projects list (since the column is…
Hi ALL, In my model, I have Need stored at a 'D3' RS Group level. I need to use this Need in another module at the G5 Location level. I currently have a mapping module where each G5 Location maps to a D3 RS Group. This Module uses D2 Role as dimension. but the line item I've to find the RS Group (Find D3 RS Group = 'FIND…
I couldn't find any formula to do this, but I want a way to put on the page/grid the connection details. This is so I know what connection I'm in rather than going into Connections details to see it. Is there an XL3 formula to return this value?