Not Exiting
I Have the Following Code i can not seem to get it to Exit.
I Have tried "exit"
"clode"
"bye" none of them seem to work i end up with winscp> after the script runs
@echo off
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^
/log="C:\ftpfiles\ftp_log.txt" /ini=nul ^
/command ^
"open sftp://navneet%%40jacksfiji.com:*********@ftp.storetraffic.com/ -hostkey=""************************""" ^
"get "JACKS-RETAIL-FIJI-E2C49672-9F8B-8A8C-5A83-B93F64C31DC6/exports/JRF.csv" "Z:\INV_SALES_INTG_LOGS\storetraffic\exports\JRF.csv"
I Have tried "exit"
"clode"
"bye" none of them seem to work i end up with winscp> after the script runs
@echo off
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^
/log="C:\ftpfiles\ftp_log.txt" /ini=nul ^
/command ^
"open sftp://navneet%%40jacksfiji.com:*********@ftp.storetraffic.com/ -hostkey=""************************""" ^
"get "JACKS-RETAIL-FIJI-E2C49672-9F8B-8A8C-5A83-B93F64C31DC6/exports/JRF.csv" "Z:\INV_SALES_INTG_LOGS\storetraffic\exports\JRF.csv"