
FishMonger
Veteran
Jul 15, 2010, 7:30 AM
Post #2 of 2
(469 views)
|
|
Re: [anraevlus18] how to check a directory exists or not in a remote machine using telnet module
[In reply to]
|
Can't Post
|
|
The starting point would be to read the module's documentation to find out how to execute a remote command. Then you need to determine what command you need to execute when not using Perl. In this case, I'd either use the 'file' command or 'ls -l' or the stat command and parse the results.
(This post was edited by FishMonger on Jul 15, 2010, 7:35 AM)
|