Posted: 2016-05-27 19:40
Just downloaded WinSCP and find it extremely user friendly in GUI mode.
However, I'm working to create a script file which will log into an ftpes server, download files, and create a "transaction log"
I've got the script working the logs into the server, changes the remote path, gets the files matching the *.xml file name on that path into a local folder.
But I need to write the transaction log into another file on my local drive so that I can present that info to my user if need be.
I found a sample command line that looks like:
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="C:\writable\path\to\log\WinSCP.log" /ini=nul /script="C:\path\to\script\script.txt"
So I assume that my script, which looks like (for now):
open ftpes://FTP-yadayada:password@URL/ -explicit
# Change the remote directory
# download all xml files from the remote source and save in the C:\Data\
get *.xml C:\Data\XMLProcessing\
What does the option:
in the command line sequence accomplish?
Location: Prague, Czechia
You can post new topics in this forum
And it's free!