How to send windows file to Unix using PERL language

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--===============0525777933==
content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C7AF2B.76C43679"

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C7AF2B.76C43679
Content-Type: text/plain;
charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
I want to send a file from windows server to Unix server in a Perl =
program.
Please guide me how to do.

Thanks && Regards
Karunakar Reddy B.V.

BSH Bosch Siemens Hausgeräte GmbH




------_=_NextPart_001_01C7AF2B.76C43679
Content-Type: text/html;
charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DISO-8859-1">


<META content=3D"MSHTML 6.00.2900.3086" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN
class=3D537555708-15062007>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D537555708-15062007> I want to send
a file from windows server to Unix server in a Perl program. Please =
guide me how
to do.</SPAN></FONT></DIV>
<DIV> </DIV><!-- Converted from text/rtf format --><SPAN =
lang=3Den-us><FONT
face=3D"Monotype Corsiva" color=3D#0000ff>
<P class=3DMsoNormal
style=3D"BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: =
medium none; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; MARGIN: 0cm 0cm =
0pt; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: =
windowtext; mso-element: para-border-div; mso-border-bottom-alt: solid =
windowtext .75pt; mso-padding-alt: 0cm 0cm 1.0pt 0cm"
align=3Dleft><I style=3D"mso-bidi-font-style: normal"><SPAN
style=3D"COLOR: blue"><FONT face=3D"Times New Roman">Thanks && =
Regards
<BR>Karunakar Reddy B.V. <?xml:namespace prefix =3D o ns =3D
"urn:schemas-microsoft-com:office:office" =
/><o:p></o:p></FONT></SPAN></I></P>
<P class=3DMsoNormal
style=3D"MARGIN: 0cm 0cm 0pt; mso-pagination: none; =
mso-layout-grid-align: none"><SPAN
lang=3DDE style=3D"FONT-SIZE: 9pt; FONT-FAMILY: Arial; =
mso-ansi-language: DE"><FONT
color=3D#000000>BSH Bosch Siemens Hausgeräte =
GmbH<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal
style=3D"MARGIN: 0cm 0cm 0pt; mso-pagination: none; =
mso-layout-grid-align: none"><SPAN
lang=3DDE style=3D"FONT-SIZE: 9pt; FONT-FAMILY: Arial; =
mso-ansi-language: DE"><FONT
color=3D#000000><o:p></o:p></FONT></SPAN> </P></FONT></SPAN></BODY>=
</HTML>

------_=_NextPart_001_01C7AF2B.76C43679--

--===============0525777933==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============0525777933==--
Reddy.Beri-Veera-ext [ Fr, 15 Juni 2007 10:59 ] [ ID #1739542 ]

Re: How to send windows file to Unix using PERL language

Beri-Veera-ext, Reddy (n.a.) wrote:
> Hi,
> I want to send a file from windows server to Unix server in a Perl
> program. Please guide me how to do.

Insufficient info. The easiest way to upload a file would be to
use FTP if the server is running an FTP daemon or you could use
Apache on the server with a CGI script to accept the upload and
use LWP in the Perl script to send it. You could always write a
TCP socket server on the server and a Perl IO::Socket::INET client
to send.

More info would help - do you have programming permission on both ?
Can you run an HTTP or FTP daemon on the server ?
Does the upload go to a program or just to the server disk ?
_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Bill Luebkert [ Fr, 15 Juni 2007 11:12 ] [ ID #1739543 ]

RE: How to send windows file to Unix using PERL language

Hi,
Thanks for your help.
Problem: I am writing a program in Perl. In this program I have to transfer
one file from windows to Unix. In Perl any functions are there? =



Thanks && Regards =

Karunakar Reddy B.V. =


BSH Bosch Siemens Hausgeräte GmbH


-----Original Message-----
From: Bill Luebkert [mailto:dbecoll [at] roadrunner.com] =

Sent: 15 June 2007 11:13
To: Beri-Veera-ext, Reddy (n.a.)
Cc: ActivePerl
Subject: Re: How to send windows file to Unix using PERL language

Beri-Veera-ext, Reddy (n.a.) wrote:
> Hi,
> I want to send a file from windows server to Unix server in a Perl =

> program. Please guide me how to do.

Insufficient info. The easiest way to upload a file would be to
use FTP if the server is running an FTP daemon or you could use
Apache on the server with a CGI script to accept the upload and
use LWP in the Perl script to send it. You could always write a
TCP socket server on the server and a Perl IO::Socket::INET client
to send.

More info would help - do you have programming permission on both ?
Can you run an HTTP or FTP daemon on the server ?
Does the upload go to a program or just to the server disk ?
_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Reddy.Beri-Veera-ext [ Fr, 15 Juni 2007 11:16 ] [ ID #1739544 ]

Re: How to send windows file to Unix using PERL language

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Beri-Veera-ext, Reddy (n.a.) wrote:
> Hi,
> Thanks for your help.
> Problem: I am writing a program in Perl. In this program I have to transf=
er
> one file from windows to Unix. In Perl any functions are there? =

> =

> =

> Thanks && Regards =

> Karunakar Reddy B.V. =

> =

> BSH Bosch Siemens Hausgeräte GmbH
> =

> =


I don't think you supplied any additional info that wasn't already in
your first post.

Answering the following will probably help somewhat:

1) Is the Perl program running on either of the servers?
2) Do you simply need to move the file from the hard drive of one server
to the hard drive of the other?
3) What is the purpose of this Perl program - it may help people
understand what you want/need to do
4) Who will e running the Perl program?
4) Do you have login/ssh permissions to both servers? Are these your
servers, your company servers or are they third party servers?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGclyMczuW2jkwy2gRAsM9AJ9y6WubQLPCE1LjUZu7D4IxY5vl4wCf SOzr
7d8uuNKO5nMzfrMQ/PoZrt0=3D
=3DM7Qs
-----END PGP SIGNATURE-----
_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
n.haigh [ Fr, 15 Juni 2007 11:31 ] [ ID #1739545 ]
Perl » gmane.comp.lang.perl.active-perl » How to send windows file to Unix using PERL language

Vorheriges Thema: RE: How to send files from windows to Unix using PERL language
Nächstes Thema: Windows-Command line Arguments