I created the below mentioned batch file and the script to transfer files from local server to remote FTP server using SFTP connection via Informatica Workflow.
The batch file works fine when run manually. But it is not executing when run via Informatica Workflow. Please help me out with it.
Batch file and script is present in E drive.
WinSCP is installed in C drive.
Informatica version is 8.1.1.
SET WorkingDirectory=C:\"Program Files"\WinSCP
# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Change the remote directory
# Upload the file to current working directory
# Exit WinSCP