Automatic upload with batch file
                I have created a batch file but it is not uploading to our FTP site. Batch file is such:
    
It will not ftp the files to the site.  Obviously I have saved it as a batch file.  Also, I have changed the sensitive information above.  I would like to do an upload of all files in the directory and delete the files when done.  
Any help on the syntax of the batch file? I have winscp installed in the default directory so the path to the program isn't an issue.
Thanks in advance for any assistance.
            
        @echo off "C:\Program Files (x86)\WinSCP\WinSCP.com" ^ /log="C:\Program Files (x86)\WinSCP\WinSCP.log" /ini=nul ^ /command ^ "open ftpes://LOGINID:Password@ftps.xxx.com/" ^ "lcd ""T:\directory housing files""" ^ "cd /" ^ "put test.txt" ^ "put test2.txt" ^ "put trial.txt" ^ "exit" set WINSCP_RESULT=%ERRORLEVEL% if %WINSCP_RESULT% equ 0 ( echo Success ) else ( echo Error ) exit /b %WINSCP_RESULT%
Any help on the syntax of the batch file? I have winscp installed in the default directory so the path to the program isn't an issue.
Thanks in advance for any assistance.