How to send windows file to Unix using PERL language

How to send windows file to Unix using PERL language

am 15.06.2007 10:59:20 von Reddy.Beri-Veera-ext

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.
=20
Thanks && Regards=20
Karunakar Reddy B.V.=20

BSH Bosch Siemens Hausgeräte GmbH

=20


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



charset=3DISO-8859-1">




class=3D537555708-15062007>Hi,

class=3D537555708-15062007> I want to send=20
a file from windows server to Unix server in a Perl program. Please =
guide me how=20
to do.

 
lang=3Den-us> face=3D"Monotype Corsiva" color=3D#0000ff>

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"=20
align=3Dleft> style=3D"COLOR: blue">Thanks && =
Regards=20

Karunakar Reddy B.V. "urn:schemas-microsoft-com:office:office" =
/>


style=3D"MARGIN: 0cm 0cm 0pt; mso-pagination: none; =
mso-layout-grid-align: none"> lang=3DDE style=3D"FONT-SIZE: 9pt; FONT-FAMILY: Arial; =
mso-ansi-language: DE"> color=3D#000000>BSH Bosch Siemens Hausgeräte =
GmbH


style=3D"MARGIN: 0cm 0cm 0pt; mso-pagination: none; =
mso-layout-grid-align: none"> lang=3DDE style=3D"FONT-SIZE: 9pt; FONT-FAMILY: Arial; =
mso-ansi-language: DE"> color=3D#000000> 

=


------_=_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@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============0525777933==--

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

am 15.06.2007 11:12:55 von Bill Luebkert

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@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

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

am 15.06.2007 11:16:23 von Reddy.Beri-Veera-ext

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@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@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

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

am 15.06.2007 11:31:56 von n.haigh

-----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@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs