Command Line Using FTP Text File
I have a .BAT file that runs the following command and it works fine
However I have a new project where it creates a dynamic filename with the datetime appended to it. The process creates an FTP text file with the dynamic filename. How do I pass this FTP text file in the command line? Below is what's in the FTP text file. So basically I want to upload the
cd \program files (x86)\winscp winscp.com /command "open sftp://user:pw@ftphost.com" "put -nopermissions -nopreservetime S:\filename.txt" "exit" /log="S:\ftp_log.txt
Test20240716155807.txt
file