I tried to telnet to the solaris machine.
I knew that create a directory and create a file in windows and copy to solaris.
But i dont know the commands to copy a file from solaris to windows.
Sorry for the inconvinience caused.
I will try those modules.
As I am new to perl I am not sure that which module is used for which purpose.
Now I got cleared.
Well, in that case, here is a bit of information for you. The place to go for modules is CPAN. That is where you will find all of the publicly released modules that people created.
Now, as for what is what, if you click on "Perl Modules on the left hand side, you will be brought to a page that says you can view the list by author, category, name, or recentness.
For your purposes, and that is learning what module is for what purpose, I recommend you go to the "category" link. It will give you a better idea of what the modules under each category are for. If you have any more questions, just post another thread and we will help you where we can.
Create a directory in windows machine for exaple in C drive test
go to that directory c:/test
form here ftp to the solaris machine
ftp "IP address of the solaris machine"
you will get ftp pormpt
ftp>
got to the directory of the file which you want to copy
cd /dir
after that type mget file name
it will ask for confirmation .... type y and enter
then type >ftp bye
ur done file will be in your directory c:\test
That would be all well and good if the person were looking for a direct way to do this, but they posted to the Perl forum, looking for a "Perl" way to do this. Now, ftp can certainly be done in a Perl script, and that is possibly what the user leaned towards.
Comment