Sorry fro wasting your time...the issue was PEBCAK - not the put command at all.
What do I miss about put? I miss the fact that it doesn't move multiple files.
For example:
If C:\Temp\ contains 3 text files: Test1.txt, Test2.txt, & Test3.txt
The following command only moves one of the 3 files:
put C:\Temp\Test*.txt
That being said, is there a way to move multiple files using WinSCP - put does not move multiple files.
Thanks,
Pat
As the error says, there's no mput command. What do you miss about put?
I have the same issue. In short... put works, mput does not. Below are my scripts. 1st the one that works (sends the first matching file it finds but no others) and 2nd the one that results in an error, also below.
WORKS - BUT IT ONLY SENDS 1 FILE
option batch on
option confirm off
open TALX -hostkey
put D:\TALX\Export\14138*
exit
DOES NOT WORK AT ALL
option batch on
option confirm off
open TALX -hostkey
mput D:\TALX\Export\14138*
exit
DOS ERROR FROM .bat FILE
Unknown Command 'mput'
What errors? Can you post a log file using the latest version?
Hello all,
I just start to use this software. So far so good. However, I am getting an error on using wild card to upload multiple files. Here is my script looks like:
option batch on
option confirm off
open sftp://my site
cd mydefault_dir
option transfer binary
put \\my_dummyfolder\mydummyfiles_*.CSV
close
exit
Thank you in advance...