Can I pass the content of the batch file directly as argument instead of saving it in a batch file and passing the file itself?
My question is the following, instead of using this:
psftp.exe user_name@host_domain -pw user_pw -b example_batch_file.bat
example_batch_file.bat content:
get filename.csv
I would like to use something like this (in one go, not manually opening the console and doing it one after another, its for automatisation purpose):
psftp.exe user_name@host_domain -pw user_pw -get filename.csv