Batch File
Hi All,
I have a requirement to create a batch file to transfer a file from local to apps server. I have written a batch script but its not working. Please find the batch script below and help me to resolve it.
Batch file
-------------
@echo off
:INPUT
set INPUT=
set /P INPUT=File Name: %=%
if "%INPUT%"=="" goto input
echo Upload file : %INPUT%
winscp.com /command "option batch on"
winscp.com /command "option confirm off"
winscp.com /command "open sftp:appltst5:appltst5@10.10.92.82"
winscp.com /command "cd /vol02/TST5/apps/apps_st/appl/hfx/12.0.0/bin"
winscp.com /command "lcd "C:\FIN\ARCustomer\data""