Re: how does file gets send to remote machine using perl
- From: chas.owens@xxxxxxxxx (Chas. Owens)
- Date: Fri, 30 May 2008 08:51:06 -0400
On Thu, May 29, 2008 at 8:21 PM, Ken Foskey <foskey@xxxxxxxxxx> wrote:
On Thu, 2008-05-29 at 19:46 -0400, Richard Lee wrote:
Hi,
Someone wrote a perl script which manipulate a file and sent to number
of remote system.
I ported that exact script to my local machine but I don't see anything
going out.
Peeking into the script, I see no special module being used and no
ftp/sftp/scp or anything like that being used.
Does perl have the ability to transfer file?
I guess I need to understand networking in general when it comes to
programming(i have no idea).
Any idea or pointer would be greatly appreciated.
thanks.(cannot cp and paste work script here since it's company's policy)
No Perl cannot send a file.
Based upon NO information. Look for 'scp' or 'ftp' commands imbedded in
the application.
It is possible to write your own data transfer program using sockets,
so yes, Perl can send files to remote machines. If it couldn't then
Net::FTP wouldn't work. On the other hand, it is much more likely
that either the script uses one of the Net::* modules or an external
program to send the file.
--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
.
- References:
- how does file gets send to remote machine using perl
- From: Richard Lee
- Re: how does file gets send to remote machine using perl
- From: Ken Foskey
- how does file gets send to remote machine using perl
- Prev by Date: Re: How perl program execution happened ?
- Next by Date: Re: how does file gets send to remote machine using perl
- Previous by thread: Re: how does file gets send to remote machine using perl
- Next by thread: Re: how does file gets send to remote machine using perl
- Index(es):
Relevant Pages
|
|