473,748 Members | 2,523 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to copy a log file from solaris to windows?

30 New Member
Hi,

How to copy a file from solaris to windows?

Thanks,
susi
Jul 9 '07 #1
9 3383
miller
1,089 Recognized Expert Top Contributor
What you have you tried thus far?

- Miller
Jul 9 '07 #2
susinthaa
30 New Member
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
Jul 9 '07 #3
KevinADC
4,059 Recognized Expert Specialist
Ask on a Solaris forum.
Jul 9 '07 #4
prn
254 Recognized Expert Contributor
Hi Susi,

When you asked the same question a couple of weeks ago, I suggested
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
Jul 9 '07 #5
susinthaa
30 New Member
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.
Jul 10 '07 #6
numberwhun
3,509 Recognized Expert Moderator Specialist
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
Jul 10 '07 #7
susinthaa
30 New Member
Hi,

Thank you Jeff.

Regards,

susintha
Jul 11 '07 #8
sajhnair
1 New Member
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
Oct 12 '07 #9
numberwhun
3,509 Recognized Expert Moderator Specialist
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
Oct 12 '07 #10

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

Similar topics

4
27716
by: The Flyer | last post by:
Hi Sorry for posting this message to so many groups, but I was not sure which group the windows keyboard experts would be reading, so I ventured to post it to all of them. I want to map or create shortcut on the keyboard for Cut/Copy/Paste functions. I can use the regular Control_X, C or V to do the same in Windows XP, but I would rather press a single key just like in Sun Solaris keyboards which have specific keys for these functions.
1
4323
by: Tony George | last post by:
Hi, I'm having a problem using the Copy module on a ClearCase view that's been set as "readonly" (i.e. ct chview -readonly <view tag>). I want to copy a file out of this view and put it in another directory that's outside of ClearCase. The strange thing is that the copy command actually copies correctly. The problem is that it returns a "0" errorcode because of the fact that the view is readonly. I guess "copy" still tries to write...
1
6749
by: Putz Ronald | last post by:
Hy! We got the same datamodell on Solaris and on WindowsXP. But there is a mojor difference in the Performance. The database on Windows is much faster than the one on Solaris although the Solaris machine is a dual processor. The initialization parameters are also correct, I hope so (like db_block_size rtc.). Does anyone have the same problem or know what can be the reason of this performance lack? Solaris Version:
0
4546
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager Express Edition v1.3.2 Win, IBM Tivoli System Automation v1.2.0 Linux, IBM Tivoli Workload Scheduler Virtualized Data Centers v8.2 , other IBM Tivoli CDs, WEBSPHERE EVERYPLACE MOBILE PORTAL v5.0 - ALTIUM , other IBM WebSphere Business CDs...
1
2238
by: script2006 | last post by:
Hello I have a task to write a script that will take a file from solaris system to NT system. I tried first step to scan the input directory to see whether i can see the NT directory from solaris system. The script is run from solaris system. And I am getting message directory does not exists. Any idea how to solve this problem. use::strict; $base_dir="/home/user"; $source_dir="\/\/sstaidevcv001"; # NT System name...
1
2328
by: steve | last post by:
Hi, Hoping some one can help here, trying to get xampp....0.8.1.sh for solaris 9 x86. I only have access to the web via a windows box to download the .sh file. Windows corrupts the file so can not get it to the unix box tied up behind a firewall. Can anyone do a gzipped version of the xampp file for me?
3
4038
by: RJN | last post by:
Hi I've written a code that queries Windows LDAP server and works fine, but the same doesn't work when querying Solaris LDAP server. DirectoryEntry de = new DirectoryEntry("LDAP://server.com"); DirectorySearcher ds = new DirectorySearcher(de); de.Username = "xxx"; de.Password = "yyy"; de.AuthenticationType = AuthenticationTypes.Secure;
28
2525
by: silvia.fama | last post by:
Hi! I'm using c language. I need to copy a long type value into a char string using a memcpy function: memcpy(string, (long *) value, len) this value will be then insert into a database. On windows machine it works well, on Solaris not. The windows and solaris path into c language is the same. I'd like to say also that real value works correctly also if they are
3
2390
by: susinthaa | last post by:
Hi , Is there any command in perl to copy a log file from solaris machine to windows machine after telnet to that machine? After copying how can we check that log for particular event? Thanks and Regards, Susi
0
8994
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9555
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9376
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9250
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8247
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6076
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3315
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.