How to copy a log file from solaris to windows?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • susinthaa
    New Member
    • Jun 2007
    • 30

    How to copy a log file from solaris to windows?

    Hi,

    How to copy a file from solaris to windows?

    Thanks,
    susi
    Last edited by susinthaa; Jul 9 '07, 03:19 AM. Reason: wrongly typed
  • miller
    Recognized Expert Top Contributor
    • Oct 2006
    • 1086

    #2
    What you have you tried thus far?

    - Miller

    Comment

    • susinthaa
      New Member
      • Jun 2007
      • 30

      #3
      Hi,

      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.

      So I post a query.

      Thanks and regards,
      Susi

      Comment

      • KevinADC
        Recognized Expert Specialist
        • Jan 2007
        • 4092

        #4
        Ask on a Solaris forum.

        Comment

        • prn
          Recognized Expert Contributor
          • Apr 2007
          • 254

          #5
          Hi Susi,

          When you asked the same question a couple of weeks ago, I suggested
          Originally posted by prn
          Check out the modules Net::FTP and (better) Net::SFTP for file transfer.
          Have you looked at those modules yet? If not, why not?

          Is there some additional constraint you are not telling us about? Let us know.

          Best Regards,
          Paul

          Comment

          • susinthaa
            New Member
            • Jun 2007
            • 30

            #6
            Hi,

            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.

            Thanks ,
            susi.

            Comment

            • numberwhun
              Recognized Expert Moderator Specialist
              • May 2007
              • 3467

              #7
              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.

              Regards,

              Jeff

              Comment

              • susinthaa
                New Member
                • Jun 2007
                • 30

                #8
                Hi,

                Thank you Jeff.

                Regards,

                susintha

                Comment

                • sajhnair
                  New Member
                  • Oct 2007
                  • 1

                  #9
                  Here you go

                  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

                  Comment

                  • numberwhun
                    Recognized Expert Moderator Specialist
                    • May 2007
                    • 3467

                    #10
                    Originally posted by sajhnair
                    Here you go

                    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.

                    Regards,

                    Jeff

                    Comment

                    Working...