====== How to configure FTP/SFTP export for N4V components in Web Intelligence ====== //Anonymised summary of support ticket #183440 (2023-05-30)// ===== Symptom ===== %%Exported files are not appearing in the target FTP/SFTP directory despite successful connection and configuration. Issues may include incorrect directory paths, permission problems, or unsupported SFTP protocol in older versions.%% ===== Environment ===== %%N4V FOR WEBI extension for SAP BusinessObjects Web Intelligence. Server OS: Linux (CentOS/RedHat) for FTP server, Windows for N4V server. N4V versions prior to 2023.1.0 do not support SFTP natively.%% ===== Resolution ===== - %%Ensure FTPBaseDir in config.js matches the chrooted directory of the FTP user (e.g., if user home is /home/ftpuser and FTP server root is /ftp, use FTPBaseDir='/upload/').%% - %%Verify FTP server configuration: chroot_local_user=YES, allow_writeable_chroot=YES, and correct local_root in vsftpd.conf. Restart vsftpd after changes.%% - %%Set SELinux booleans if applicable: setsebool -P ftpd_full_access on and setsebool -P tftp_home_dir on.%% - For SFTP support, upgrade to N4V version 2023.1.0 or later. SFTP was not supported in prior versions. - If using FTP, ensure the FTP port is 21 (default) unless explicitly configured otherwise. Avoid using port 20 which is typically for data transfer in active mode. - %%Check for spaces in directory paths (e.g., 'Program Files') and relocate the N4V working directory (ce_works) to a path without spaces. Update WorkingPath in config.js accordingly and restart N4V services.%% - %%Use an external web app for FTP only if static file paths need to be modified; otherwise, set use_external_webapp_FTP=false.%% ===== Other resolution ===== %%For SFTP, authentication is currently only supported via username/password in N4V versions prior to 2023.1.0. Key-based authentication is not supported in those versions.%%