nayaksan has asked for the wisdom of the Perl Monks concerning the following question:
I want to copy a remote file to my local system through SCP. My remote file is in a path "/apps/wls/csam/output/response/a.xml"
For that i have login into the remote server with boatid and password.
It only allowed me to access any files in "/apps" folder.
But to access the "a.xml". I have to change the user with command "sudo -i -u wls"
then supply the password of wls user. Then only it allowed me to go into "/wls/csam/output/response/a.xml".
So please suggest me a suitable code to copy the a.xml to my local system for the above scenarios.
Regards,
Sanjay
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: OT: How to copy a remote file to local system through SCP ?
by salva (Canon) on Oct 14, 2015 at 06:27 UTC | |
|
Re: OT: How to copy a remote file to local system through SCP ?
by u65 (Chaplain) on Oct 13, 2015 at 22:42 UTC | |
by nayaksan (Initiate) on Oct 14, 2015 at 05:50 UTC |