Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Error When running Reflection script when transferring from Open VMS

 
Ferdinand Macatangay
Occasional Advisor

Error When running Reflection script when transferring from Open VMS

I am encountering a problem when I run the transferring script using reflection ver5.21.

I created a shortcut using a settings file and a script file to automatically transfer files from Openvms v6.21-h3 to a windows nt sp4. Whenever the script file runs the "open 192.168.1.1" line it gives the below error.

"Unable to determine server type. Define the server in the Server Directory Format dialog box."

I then need to press ok so that the script continues. Is there a way to bypass this message so that the script just continues or how do i set the server information so that it does not gives this error....Thanks in advance
3 REPLIES
Hoff
Honored Contributor

Re: Error When running Reflection script when transferring from Open VMS

This is centrally a Microsoft Windows question.

Specifically, a question around whatever Windows tool or Windows command is involved within the Windows script file running on your particular chosen Windows platform.

I would suggest asking some Windows folks, or the Reflections on Windows folks. Specifically, asking whomever is supporting whatever unidentified Windows tool that is in use on your Windows box.

I see that Robo-FTP and ftputil tools have some dialog boxes with some similar statements, though I do not see any existing discussions of that error message.

Other options for Windows platforms needing ftp or sftp include FileZilla, though I don't think that can tool be scripted. Another option is WinSCP, which can be scripted. Or the Windows ftp client that's available in the Windows MS-DOS shell.

You can also look to install and use Cygwin or similar on Windows, and then host a Unix environment and tools on your Windows box. There are also (free) packages that support X on Windows, including mingw. (Various of these have been discussed here and elsewhere.)

I don't run Windows, so I don't have specific recent experience with these tools.
Craig A Berry
Honored Contributor

Re: Error When running Reflection script when transferring from Open VMS

On Reflection 9.0, an old version but not quite as ancient as the one you're using, choose File --> Transfer, then click the Setup button, then click the FTP tab, then choose OpenVMS from the System type drop-down. Or experiment with other types. Or check the ftp logs on the server side and see what probes the client is doing to identify the server. There is no guarantee that the FTP server on this fifteen-year-old version of VMS is even capable of providing an identification string that your particular version of Reflection can recognize. It will depend on which networking stack you're running, among other things.
Robert Atkinson
Respected Contributor

Re: Error When running Reflection script when transferring from Open VMS

Ferdinand, you could try adding this VBS to your script :-

With Session
.StartTransferLogging
.TransferPreset = "To OpenVMS"
Exit Sub


Rob.