473,386 Members | 1,758 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Get contents of a folder, in a remote server

I am very new to perl..

Problem:
I wanted a perl script, that gets the contents of a folder in a remote server i.e, the output of the script should be the files or subfolder within the given folder.

I know the ip address and password of the remote server

or please tell me how to go about it...

Thanks in advance
Jun 25 '07 #1
2 1389
Hi,

Net::Telnet module will be very much helpful to you. Go through that.
Jun 25 '07 #2
prn
254 Expert 100+
You might also want to look at ssh (e.g., Net::SSH) for running remote commands. Telnet is much less secure. In fact one of the first things I do when setting up a Unix/Linux box is to disable telnet.

Recognizing that unsolicited, free advice is often worth exactly what you pay for it, I'll give you this advice anyway: Don't allow a box to answer telnet connections unless it is on an isolated network where nothing unauthorized can reach it. And even then be wary.

About a dozen years ago, my organization was hacked and we tracked the hack back to ethernet sniffing for telnet connections. Among the changes we made was to disallow telnet for any admin purposes. Now admin passwords are never transmitted in cleartext and (imho, not coincidentally) we have not been hacked since. This is not to say that there are no other vulnerabilities thay you will need to be aware of, but this is one of the critical ones.

Best Regards,
Paul
Jun 25 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: BLiTZWiNG | last post by:
When I try the following: System.IO.File.Copy("C:\\test_read\\test.txt", "\\\\192.168.0.5\\test_write\\test.txt", false) I get an UnauthorizedAccessException. I cannot however, seem to find...
2
by: Jon L. Lovesky | last post by:
Hello all, I am attempting to access a remote folder from an asp.net application (all within the same domain). The application is configured for windows authentication in IIS and the asp.net...
1
by: sajithm | last post by:
Hi all, I have a problem while trying to create folder and files in a remot storage server using asp.net. Actually I was trying with filesystem object and this says bad usernam and passeord,....
14
by: Ray5531 | last post by:
I have a console application in my local computer which I like to use remoting in it,to instanciate an object (MyClass.dll) in a web application(its bin folder) in a completely seperated box(in the...
2
by: brett | last post by:
On my local machine, I've created an ASP.NET website, which will go into a sub folder of a website on a remote web server. I did this on my local machine because at some point, this site will have...
17
by: Michael | last post by:
Hello, I am writing an app that will sit on the desktop. It needs to be able to make a copy of a folder that sits on the server. It will copy the folder from the server and place it in the same...
4
by: tommaso.gastaldi | last post by:
If one does not configure a virtual dir as an IIS application, he/she receives the common error: ---------------------------------------- Server Error in '/' Application. .... This error can be...
2
by: crescent_au | last post by:
Hi all, I'm having a problem with sessions with my shopping cart. It works fine in my local server at home and office but after uploading the code in the remote server, the cart contents...
1
by: Bell Deep | last post by:
I wanted to create a webpage(using HTML), where I want to display the contents of a remote folder (the folder is in the server). I need to display the contents (i.e, files or subfolders) of that...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.