hi everyone,
btw, this is my first post and I have done extensive searching before posting so here's the problem:
I need to be able to do two things from the dll I'm writing.
1.) move a file from our production server to our repository server
2.) verify that the file exists in the repository server.
The second thing isn't an issue and is already written and will be executed in a ksh script.
The first thing is not a problem and can be accomplished with a remote copy: rcp -r -p test.pdf drawlist@pdm-svr:/home/files/poa102. The user drawlist has been set up with permission to access the pdm-svr. This command works for one of the network guys down stairs, but for my user it does not. It tells me 'Permission is denied'. If I rlogin as drawlist and execute rcp -r -p test.pdf pdm-svr:/home/files/poa102 it obviously works.
So my question is two-fold:
- What is preventing my rcp command (when prefacing the repository with the user) from working?
- Would it be easier to login as the drawlist user and execute the command, and if so how could I automate the password verification? If rhosts is the answer, is there any other command/way to have an automated login?
Thanks,
Josh