The problem I'm having is I need a way (that requires no user intervention) to copy a file from a remote Windows box to a remote Linux box. I usually use pscp in my scripts, but I don't think pscp can do remote to remote. I've tried this:
The error I'm getting is:
This makes sense if pscp doesn’t support remote to remote.
I can't figure this out for the life of me!!!!!
Anybody know a why to do this????
MK
Code:
pscp \\WindowsServer\filename username@[IP]:/home/dir/test.out -pw password'
Code:
Fatal: More than one remote source not supported
This makes sense if pscp doesn’t support remote to remote.
I can't figure this out for the life of me!!!!!
Anybody know a why to do this????
MK