Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

WebOpsDragon

FTPS against MVS - can't get attributes of file (no data sets found)

We are connecting to a mainframe dataset (i have obscured the name in the log).
I think the issue is in relation to what is detailed here: <invalid hyperlink removed by admin>

I can perform a FTPS PUT against the data set.

But am unable to FTPS GET from same dataset (error 550 : no data sets found - can't get attributes of file 'DATA_SET_NAME_HERE'.

Is there any chance of WINSCP supporting the LS *
martin

Re: FTPS against MVS - can't get attributes of file

I do not see anything even remotely resembling aaaa.bbbb.cccc.STMTARVL.TXT in the directory listing.

Anyway, I doubt WinSCP will be able to parse the unusual listing format of your server.
WebOpsDragon

ammendment

pls ignore "winscp.exe /console /script=test.txt /log=log.txt " in previous post.
WebOpsDragon

FTPS against MVS - can't get attributes of file

We use WINSCP extensively - mainly for SFTP but are having difficulty setting up for FTPS.
So far unable to identify issue.

Here is the command line:
winscp.exe /console /script=test.txt /log=log.txt

cmd /C "$winscpexehome\winscp.com" /script="$winscpexehome\script_FTPS_GET.txt" /parameter $FTPUser $FTPPassword $FTPServer $RemoteFileName $LocalFilePath

Here is the script_FTPS_GET.txt script:

-- start --
option batch on
option confirm off
open ftps://%1%:%2%@%3% -explicittls -explicitssl -passive -certificate="14:db:d6:34:65:63:81:5a:6d:ba:26:97:ea:d0:48:79:cd:e9:73:a8"
lcd c:\program files (x86)\winscp\Input
cd "'%4%'"
get "'%4%'" %5%
exit
-- end --

After running the script I get following:

Can't get attributes of file ''aaaa.bbbb.cccc.STMTARVL.TXT''.

WinSCP Version 5.7.6 (Build 5874) (OS 6.1.7601 Service Pack 1 - Windows Server 2008 R2 Standard) Session log file is attached.