Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Write Files To Another Computer

Status
Not open for further replies.

VspecGTR3

Technical User
Feb 3, 2003
62
US
is there a way to write folder and files on to someone else scomputer; i do realize this is a HUGE security risk but is there away with comformation from the user?
 
There are many ways!

Firstly, there are many non-perl solutions such as NFS or samba which would allow you to mount directories so that perl believed it was writing to a local file. This can allow reasonably tight control of security issues.

Within perl, try Net::FTP which would allow you to send files to ftp servers on the remote hosts. You would need to hard-code the password which is not wonderful.

You should also look at XMLRPC which allows you to build incredibly simple client-server apps with a certain amount of security.

The grand-daddy, though, is PlRPC which also lets you build client-server apps but allows extremely tight security and makes cryptography very simple. I found the manual pages less than helpful as they start by showing off the (impressive) capabilities of the modules rather than guiding you through from simple examples. Persevere - it's worth it.

Yours,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top