Operating System - OpenVMS
1753779 Members
7812 Online
108799 Solutions
New Discussion юеВ

Re: How to run "set file/attrib" from an FTP client?

 
SOLVED
Go to solution
Andy Bustamante
Honored Contributor

Re: How to run "set file/attrib" from an FTP client?


Is the Windows client on the same local network segment as your Alpha? Pathworks32 provides an "unsupported" NFT executable for the Windows world, allowing you to submit a batch job from the client. In your upload script, you would add a submit command to start a batch job on the VMS side. Although this is "unsupported" we continue to use this functionality.

Andy Bustamante
If you don't have time to do it right, when will you have time to do it over? Reach me at first_name + "." + last_name at sysmanager net
Matthew Beermann
New Member

Re: How to run "set file/attrib" from an FTP client?

Thanks, all, for the help. "site spawn set file/attrib..." does indeed do the trick (and it also helped me find the UNIX counterpart, "site chmod...").

For the record, the reason I needed to apply those particular attributes after the upload is that Java needs them in order to read a jar properly. http://h18012.www1.hp.com/java/documentation/1.4.2/ovms/docs/user_guide.html#binary
Sebastian Bazley
Regular Advisor

Re: How to run "set file/attrib" from an FTP client?

In which case, another way is:
* zip the jar files on Windows
* copy the zip using binary mode.
* unzip them on VMS (Info-Zip)

The jars will have the correct characteristics.
Matthew Beermann
New Member

Re: How to run "set file/attrib" from an FTP client?

Thanks, all, for the help. "site spawn" it is.