Hi,
How to copy a file from solaris to windows?
Thanks,
susi
9 3381 miller 1,089
Recognized Expert Top Contributor
What you have you tried thus far?
- Miller
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
KevinADC 4,059
Recognized Expert Specialist 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
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.
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
Hi,
Thank you Jeff.
Regards,
susintha
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
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
Sign in to post your reply or Sign up for a free account.
Similar topics |
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.
|
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...
|
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:
|
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...
|
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...
| |
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?
|
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;
|
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
|
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
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
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();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |