Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

reddypa

put C:\Dumbass\Apology.*

Sorry fro wasting your time...the issue was PEBCAK - not the put command at all.
reddypa

put

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
martin

As the error says, there's no mput command. What do you miss about put?
reddypa

Re: Error on put multiple files

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'
martin

What errors? Can you post a log file using the latest version?
BuffaloSun

Error on put multiple files

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...