Topic "get with wildcards gives Special code 12 in my log file."

Author Message
DME
[View user's profile]

Joined: 2014-04-15
Posts: 2
I am trying to use wildcards to get multiple files. my "get" works if i use a specific file name, just not with a wildcard. i am using 5.5.2 build 4130. I have attached my windows 7 batch file, script and log file. I am logging into an OpenVMS v8.4 system. Any help you can give would be great. Confused
Thursday.bat (614 Bytes) [Download]

Description: (none)

nps.log (8.21 KB) [Download]

Description: (none)

GBAS-NPS.txt (852 Bytes) [Download]

Description: (none)

Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
The "Special code 12" is irrelevant to your problem. It's sent always at the end of SSH session.

The problem is that there's no file matching mask NPS_ELIG*.TXT in the directory. There are only NPS_ELIG.PS and NPS_ELIG.PSD. None of them have .TXT extension.
_________________
Martin Prikryl
DME
[View user's profile]

Joined: 2014-04-15
Posts: 2
you are absolutly correct. i sent you the wrong files as i have tried many different things so i apologize for my error.

i have attahced the correct log file so hopefully you will see something in this one. I have attached the log file without the wildcard so you can see that it works. Thanks again.
nps no wildcard.log (7.52 KB) [Download]

Description: (none)

nps.log (193.17 KB) [Download]

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
OK, you have VMS system. So your files have version appended at the end.
The mask does not match that. You have to alter the mask so that it matches the version appendix too.
Like NPS_ELIG*.TXT;*
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
For details on "Sending special code: 12", see
https://winscp.net/eng/docs/message_special_code
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License