Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: write/read to remote machine

by hari9 (Sexton)
on Jul 28, 2010 at 19:41 UTC ( #851773=note: print w/replies, xml ) Need Help??


in reply to Re: write/read to remote machine
in thread write/read to remote machine

opendir, It opens a a new folder under the given path ( the last part of the path being the new folder you want to create)

I tried writing the same code on windows, and it worked.

I use Putty to logon to the unix machine, but should ssh/scp code be included in the perl script?

Thanks for the reply!

Replies are listed 'Best First'.
Re^3: write/read to remote machine
by runrig (Abbot) on Jul 28, 2010 at 20:41 UTC
    opendir, It opens a a new folder under the given path ( the last part of the path being the new folder you want to create)
    No, did you read the documentation? Or the documentation for readdir that the first docs link to for a usage example?
    I use Putty to logon to the unix machine, but should ssh/scp code be included in the perl script?
    Yes, if you don't want to or are unable to set up samba on the linux machine. Does a plain file copy from the command line work? Is samba already set up?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://851773]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2022-08-09 04:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?