How about using scp with public/private key authentication running from a unix cron to scp from the windows host to a dir on the unix host? Requires ssh installed on both hosts.
I've also installed Cygwin on a windows host in the past and used that for the ssh/scp component as you get a nice unix flavour when you ssh in remotely. Alternatively as someone has already said try using smbmount to mount a windows share on a unix dir and use unix cp or mv. Requires samba installed on your HPUX host and that install must have the smbmount (or equivalent) utility. You could also use ftp to fetch the files from the windows server. Requires ftp server installed on windows host. All the above could be driven from within a UD/UV basic program. HTH Peter -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Israel, John R. Sent: Tuesday, 5 March 2013 7:12 To: U2 Users List Subject: Re: [U2] VOC Pointer I have done things from Window to UNIX with Samba before. As you say, we do it all the time. The issue I have is I need my Unix box to grab the data from Windows and copy it from Windows to Unix. The copy needs to be run from Unix, not Windows. THAT is the problem I am having. Mapping a network drive in Windows will be great from Windows, but will not solve the problem of issuing the command from Unix (unless I am completely missing the point). JRI -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Thompson Sent: Monday, March 04, 2013 4:06 PM To: U2 Users List Subject: Re: [U2] VOC Pointer If copying from the windows server to the HP-UX machine... If you use the samba method... you would need: 1) Samba installed on HP-UX server running Unidata 2) Setup a share to share a directory on HP-UX 3) Map the network drive on the Windows Server 4) Just do a standard windows copy from one drive letter to the other That being said, my steps above are grossly "over-simplified" If you have never done a samba install on HP-UX and configuration before, this could take you several days/weeks. If its a one time deal, then the previous posters idea of ftp, is so much easier. Its been a number of years, since I put samba on HP-UX. If you can find a package that utilizes swinstall (sam) somewhere out on the web, it might make your life easier. On Mon, Mar 4, 2013 at 3:55 PM, Israel, John R. < johnisr...@daytonsuperior.com> wrote: > We have used Samba other ways, but I have never actually tried to copy > from Windows to Unix. > > What would the syntax be to copy? > > > Thanks > > > JRI > > > -----Original Message----- > From: u2-users-boun...@listserver.u2ug.org [mailto: > u2-users-boun...@listserver.u2ug.org] On Behalf Of Wols Lists > Sent: Monday, March 04, 2013 3:45 PM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] VOC Pointer > > On 04/03/13 20:36, Israel, John R. wrote: > > I need to copy PDFs from a Windows server into a UNIX dir (where > > UniData > lives). > > > > Can I map a VOC pointer? > > Can the unix machine see a windows share? You MAY be able to put a > network path in field 2 of a voc entry, but by default, if UD > recognises a network path it'll probably refuse to access it. > > And is copying PDFs (binary files) using the UD command line a good idea? > > > > Other thoughts? > > Put samba on the HPUX box, share your HPUX directory, and copy the > pdfs from Windows to nix. > > Or if you need to do it from the nix end, share your Windows directory > and use smbmount (probably part of samba, I'm not quite sure what's > happened to > it) to make the windows share look like a nix directory where you can > use nix commands to copy. > > > > Running HPUX, UniData 7.2.1. > > > > John > > > Cheers, > Wol > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > -- John Thompson _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ------------------------------------------------------------------------------- Note: This email (inc all attachments) is for the use of the intended recipient(s) only. Privileged or confidential information may be contained in this communication. If you have received this email in error, please notify the sender immediately and then delete all copies of this message from your computer network. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this email without the author's prior permission. If you are the intended recipient and you do not wish to receive similar electronic messages from us in future, then please respond to the sender to this effect. We have taken precautions to minimise the risk of transmitting software viruses, but advise you to carry out your own virus checks on this email and its attachments. We do not accept liability for any loss or damage caused by software viruses and do not represent that this transmission is free from viruses or other defects. Firstmac Limited (ABN 59 094 145 963) (AFSL 290600) ------------------------------------------------------------------------------- _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users