Hello
I am trying to put the file in FTP using BODS, But the problem I face I am not able to place the file , I have used the below script which I kept in batch file and used Custom transfer program which was mentioned in the designer.
@echo on set USER=%1
set PASSWORD=%2
set LOCAL_DIR=%3
set FTP_DIR=%4
set FILE_NAME=%5
set LITERAL_HOST_NAME=%6
set INP_FILE=ftp.inp
echo %USER% >%INP_FILE%
echo %PASSWORD%>>%INP_FILE%
echo lcd %LOCAL_DIR%>>%INP_FILE%
echo cd %FTP_DIR%>>%INP_FILE%
echo put %FILE_NAME%>>%INP_FILE%
echo bye>>%INP_FILE%
ftp -s:%INP_FILE% %LITERAL_HOST_NAME%>ftp.out
The problem is I am not able to put the file in right folder path. Below is the screenshot which I have used in File format .
Request to help me on the same
Thanks
Madhuri