CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
strange behavior in perl-Unix

 



tadi18
Novice

Apr 16, 2009, 6:27 AM

Post #1 of 2 (368 views)
strange behavior in perl-Unix Can't Post

Below is the snippet of my code where I am trying to copy files from one linux machine to another named szvmws003. I used scp to acheve that.

`scp -r /home/dummy/kdb/szvmws003 szvmws003:/tmp`

Output:
scp: /tmp/szvmws003: Not a directory

I am trying to understand why is the script looking for "/tmp/szvmws003" when not in the script. Please help!


Tumata
User


Apr 16, 2009, 6:46 AM

Post #2 of 2 (367 views)
Re: [tadi18] strange behavior in perl-Unix [In reply to] Can't Post

It doesn't look like a problem with Perl. Try to execute this command in terminal and then post it's reply here. In addition, is there are any symbolic links which may point to /tmp/szvmws003?

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives