{CODE}
*Fully::Qualified::sub_name = sub {
#do stuff before
$old->(@_);
#do stuff after
};
}
On Sat, Aug 20, 2016, 05:44 hw wrote:
> Chas. Owens schrieb:
> > If you want to get rid of ALLO completely, it looks like you just need
> to monkeypatch Net::FTP::_ALLO to r
Chas. Owens schrieb:
If you want to get rid of ALLO completely, it looks like you just need to
monkeypatch Net::FTP::_ALLO to return 1:
use Net::FTP;
BEGIN {
no warnings "redefine";
*Net::FTP::_ALLO = sub { 1 };
}
This replaces the _ALLO method of Net::FTP with a new m
If you want to get rid of ALLO completely, it looks like you just need to
monkeypatch Net::FTP::_ALLO to return 1:
use Net::FTP;
BEGIN {
no warnings "redefine";
*Net::FTP::_ALLO = sub { 1 };
}
This replaces the _ALLO method of Net::FTP with a new method that just
returns 1. I
Chas. Owens schrieb:
Based on a cursory reading of the perldoc, it looks like the ALLO command is
only sent if you call the Net::FTP::alloc method. If you aren't calling it,
can you provide a toy test case for us where the code sends ALLO. I will try
to debug why it is sending a comman
Based on a cursory reading of the perldoc, it looks like the ALLO command
is only sent if you call the Net::FTP::alloc method. If you aren't calling
it, can you provide a toy test case for us where the code sends ALLO. I
will try to debug why it is sending a command you aren't askin
Hi,
is there some way to prevent Net::FTP from using the ALLO command or
to make it ignore failures when this command is used?
I have to deal with ftp servers that do not understand the ALLO command.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail
On Mar 8, 2013, at 4:47 PM, Chris Stinemetz wrote:
> U
> sing Net::FTP is there a way to rename a file after locating it and before
> putting it?
>
> For example:
>
> $ftp->put('/storage/pcmd/2013-03-08.17:21.-0700.MMEpcmd.gz') || die "can't
>
On 03/08/2013 07:47 PM, Chris Stinemetz wrote:
U
sing Net::FTP is there a way to rename a file after locating it and before
putting it?
For example:
$ftp->put('/storage/pcmd/2013-03-08.17:21.-0700.MMEpcmd.gz') || die "can't
put file: $!";
Doesn't transfer
U
sing Net::FTP is there a way to rename a file after locating it and before
putting it?
For example:
$ftp->put('/storage/pcmd/2013-03-08.17:21.-0700.MMEpcmd.gz') || die "can't
put file: $!";
Doesn't transfer correctly because the windows FTP server doesn
that when running the script from the command
line, I see a lot of Net::FTP GLOB messages. These are not being
output to the browser. Once I noticed that, I set debug from 1 to 0.
That seems to have fixed the issue. Now the entire set of files get
FTPd without the process stalling.
So maybe the FTP
On Sat, 07 Nov 2009 09:51:49 -0800, Boman wrote:
> Have a simple script to FTP all files in one dir to a Solaris box.
> Script runs fine when invoked from command line. However, when invoked
> from browser (simple html form with one button that calls the .pl
> script), only some files get FTPd. The
2009/11/7 boman :
> Have a simple script to FTP all files in one dir to a Solaris box.
> Script runs fine when invoked from command line. However, when invoked
> from browser (simple html form with one button that calls the .pl
> script), only some files get FTPd. The process seems to stall, then
>
.
Running Apache 2.2 on Windows 2003 SP2, perl 5.8.8, ftp-ing to Solaris
9 box.
#!c:/Perl/bin/perl.exe
use CGI qw/:standard/;
use Net::FTP;
$| = 1;
$sourcedir = "d:\\sourcefiles";
$ftpdir = "/destination";
print header;
print start_html('FTP');
$time = `time /T
cript), only some files get FTPd. The process seems to stall, then
b> the browser times out.
b> Running Apache 2.2 on Windows 2003 SP2, perl 5.8.8, ftp-ing to Solaris
b> 9 box.
b> #!c:/Perl/bin/perl.exe
b> use CGI qw/:standard/;
b> use Net::FTP;
b> $| = 1;
b>
Sorry, original message had wrong address for this list and I didn't
notice. Here is the chain.
Regards,
Jeff
-- Forwarded message --
From: Jefferson Kirkland
Date: Sat, Jul 18, 2009 at 9:17 PM
Subject: Re: NET::FTP object constructor's host option as array re
I'm building an FTP client using NET::FTP. The documentation states that the
new constructor has a host option which can be a reference to an array with
hosts to try in turn. I don't seem to be able to get this to work. I'm using
ActivePerl under Windows XP. Here's
get files from multiple
>> directories
>> in remote location using FTP. Following is the script that I tried:-
>>
>> #!/usr/bin/perl
>> use Net::FTP;
>> use strict;
>> for (my $count=0; $count < 2; $count++)
>> {
>> print "Please enter
Mihir Kamdar wrote:
Hi,
I want to write a perl script which will get files from multiple directories
in remote location using FTP. Following is the script that I tried:-
#!/usr/bin/perl
use Net::FTP;
use strict;
for (my $count=0; $count < 2; $count++)
{
print "Please enter the direct
Hi,
I want to write a perl script which will get files from multiple directories
in remote location using FTP. Following is the script that I tried:-
#!/usr/bin/perl
use Net::FTP;
use strict;
for (my $count=0; $count < 2; $count++)
{
print "Please enter the directory name to ftp files:
or consider to use rsync tool, that's simple and effective enough.
- Original Message -
From: Dermot
To: [EMAIL PROTECTED]
Subject: Re: Net::ftp
Date: 2008-11-2 05:45:32
2008/11/1 [EMAIL PROTECTED] :
You nearly had in. I think you assumed that you could copy a directory
and
ine) or die "Can't read
$folder_to_mirror_my_machine: $!\n";
my @files_to_upload = grep{! /\./ && -f
"$folder_to_mirror_my_machine/$_" } readdir(DIR);
$ftp=Net::FTP->new($host);
$ftp->login($user,$pw) or die "could not login";
$ftp->cwd($dir);
# You may ch
Im trying to mirror a directory on my computer with another directory
with Net FTP. Below is the code im using. Im new to perl and new to
Net::FTP so any help would be great!
use Net::FTP;
use File::Basename;
my $ftp;
my $host ='example.com';
my $user ='example';
my $dir =
Hi Folks,
I have a script that sends a file to a vendor. After running tcpdump I
can see that it's trying to do a passive mode transfer which our
firewall is having problems with. I would like to turn this off and
specify an active mode transfer, but the doco for Net::FTP only talks
about tu
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > I'm using a URL of the form ftp://MyCpanMirror/u02/CPAN/
>
> Is your mirror server running Apache or some http server? I
> have an internal mirror that I connect to via http and it
> works like a charm.
>
On 06/25/2007 12:40 PM, RICHARD FERNANDEZ wrote:
[...]
I'm not sure where else to go with this. It looks like I can eventually
get what I need installed, but not without a long bumpy ride first.
[...]
A nice feature for someone to add to CPAN.pm would be the option to set
the preferred ftp opt
On Jun 25, 8:32 am, [EMAIL PROTECTED] (Richard Fernandez) wrote:
> I'm trying to use the CPAN shell to install some modules from our
> internal CPAN mirror.
> I'm using a URL of the form ftp://MyCpanMirror/u02/CPAN/
Is your mirror server running Apache or some http server? I have an
internal mirr
quot;)->lpa'
>
It looks like Net::Netrc is working:
# perl -MNet::Netrc -lwe 'print join(" ",
Net::Netrc->lookup("MyCpanMirror")->lpa)'
Use of uninitialized value in join or string at -e line 1.
cpan XpasswdX
I've also tested Net::FTP separate
r box.
At first I was able to query/install modules easily, but then I did an
"install Bundle::CPAN", and now I can't log into my CPAN mirror. To be
specific, LWP and Net::FTP are attempting to use an anonymous login,
which is not allowed, instead of trying to log in via the user
One other thing. I am able to successfully login to the mirror box using
command line FTP and netrc for authentication.
richf
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
asily, but then I did an
"install Bundle::CPAN", and now I can't log into my CPAN mirror. To be
specific, LWP and Net::FTP are attempting to use an anonymous login,
which is not allowed, instead of trying to log in via the user
information contained in .netrc.
I've read the docs
On Thursday 26 April 2007 21:47, Tom Phoenix wrote:
> On 4/26/07, charlie farinella <[EMAIL PROTECTED]>
wrote:
> > I have a script which uses Net::FTP to upload a backup file each
> > night. It sends me an email each night if it succeeds and a different
> > email if any
On 4/26/07, charlie farinella <[EMAIL PROTECTED]> wrote:
I have a script which uses Net::FTP to upload a backup file each night.
It sends me an email each night if it succeeds and a different email if
any of the methods fail. This all works, but sometimes the ftp
connection times out
I have a script which uses Net::FTP to upload a backup file each night.
It sends me an email each night if it succeeds and a different email if
any of the methods fail. This all works, but sometimes the ftp
connection times out and my script hangs without sending anything.
I don't kno
Hi folks,
I have a directory full of filenames that contain spaces (a la Windows).
Is there an easy way to do an mget with Net::FTP, or do I need to parse
the output of $ftp->dir?
The doco for Net::FTP doesn't mention mget...
TIA!
richf
--
To unsubscribe, e-mail: [EMAIL PROTEC
Better documentation...
Use alert module instead of simply printing error message.
=head1 AUTHOR
Ken Foskey
=head1 COPYRIGHT
Copyright 2006 GPL
=cut
use warnings;
use strict;
package ftp_retry;
use Net::FTP;
use File::Basename;
require 'Exporter.pm';
use vars qw( $VERSION
On Sunday 14 May 2006 04:45, Ken Foskey wrote:
[ during xfer, the connection ocasionally breaks ]
[ seeks to resume the xfer where left off ]
> Secondly is there an easy way to send messages to Big Brother to go
> orange, red then go green again? We are using a file and writing
> messages and ther
I am trying to transfer across a link that is unreliable. (OK it is
reliable but it does break occasionally.)
Basically when I connect to the server and fail, I back off issue a
message to Big Brother, and then retry after 10 minutes, again after 20
and again after 30 minutes. I was wondering if
On 1/25/06, DiGregorio, Dave <[EMAIL PROTECTED]> wrote:
> Using PPM I can not find NET::FTP
Odd. Have you seen this?
http://cpan.uwinnipeg.ca/htdocs/faqs/faq.html#07
> Is NET::FTP only available on perl 5.8? Or should I be able to just
> grab the module from somewhere and
I am using 5.6
Using PPM I can not find NET::FTP all that are listed are:
==> NET::FTP::Common
==> NET::FTP::SHELL
==> NET::FTP::BLAT
==> NET::TFTP
Is NET::FTP only available on perl 5.8? Or should I be able to just
grab the module from somewhere and pla
(this list replies to the poster, not to the list unless I specify to list--I'm
growing accustomed)
(here's one for the list) (hopefully in the future I just send to list by
remembering to specify so)
On Thu, 29 Dec 2005 13:08 , [EMAIL PROTECTED] sent:
>I cannot figure out how Net
I cannot figure out how Net::FTP set its local current directory for gets
of remote files? Does anyone know?
I want to get remotefile from remotehost using:
but I want to place this file in $localdir not in what Net::FTP claims to
be
get ( REMOTE_FILE [, LOCAL_FILE [, WHERE]] )
Get
lso, I thought $ftp->ascii was
supposed to handle formatting problems. Turns out $ftp->binary is what works
for this application.
Thanks,
Kathy
use Net::FTP;
$ftp = Net::FTP->new("aaa.bbb.org", Debug =>0) or die "Cannot connect to
aaa.bbb.org: $@";
$ftp-&
Laurent Coudeur wrote:
-Original Message-
From: Owen [mailto:[EMAIL PROTECTED]
Sent: 29 July 2005 00:07
To: beginners@perl.org
Subject: Re: error message with net::FTP
On Thu, 28 Jul 2005 10:17:35 -0400
"Laurent Coudeur" <[EMAIL PROTECTED]> wrote:
I am having some
-Original Message-
From: Owen [mailto:[EMAIL PROTECTED]
Sent: 29 July 2005 00:07
To: beginners@perl.org
Subject: Re: error message with net::FTP
On Thu, 28 Jul 2005 10:17:35 -0400
"Laurent Coudeur" <[EMAIL PROTECTED]> wrote:
> I am having some trouble with net::FT
On Thu, 28 Jul 2005 10:17:35 -0400
"Laurent Coudeur" <[EMAIL PROTECTED]> wrote:
> I am having some trouble with net::FTP module
> I get this error message
> Timeout at /usr/lib/perl5/5.8/Net/FTP.pm line 1001
>
> the script list directories in a path
> then loo
Hi there,
I am having some trouble with net::FTP module
I get this error message
Timeout at /usr/lib/perl5/5.8/Net/FTP.pm line 1001
the script list directories in a path
then loops and list subdirectories
I can connect and list files but as I try to ls into final sub-directory
it hangs I get
Anyone have any ideas why code using Net::FTP on one machine won't
work on another?
I have this piece of code that runs on a Red Hat 9 linux machine and
on one Mac OS/X 10.4.1. But this same code does not run on a second
OS/X 10.4.1 machine. By not run I mean it waits a long ti
is the _File_ Transfer Protocol.
The put() method seems to expect a path only, rather than
a filehandle
perldoc Net::FTP
[snip]
put ( LOCAL_FILE [, REMOTE_FILE ] )
Put a file on the remote server. "LOCAL_FILE" may be a name or a
filehandle.
John
--
use Perl;
program
fulf
($new_file_on_ftp_server);
> $stor->write($new_file_guts, length($new_file_guts));
> $stor->close();
>
> See `perldoc Net::FTP` for more info
>
> HTH :)
>
> Lee.M - JupiterHost.Net
>
E... This looks a little complicated. I mean I would have to get size of
the
put() method seems to expect a path only, rather than
You'd use stor/write/close:
my $stor = $ftp->stor($new_file_on_ftp_server);
$stor->write($new_file_guts, length($new_file_guts));
$stor->close();
See `perldoc Net::FTP` for more info
HTH :)
Lee.M - JupiterHost.Net
--
To un
- Original Message -
From: Peter Rabbitson <[EMAIL PROTECTED]>
Date: Thursday, April 21, 2005 10:42 am
Subject: Feed Net::FTP an in-memory file
> Hello everyone,
>
> Very simple: I need to generate a file and upload it to ftp.
> Currently I am
> wrapping the f
Hello everyone,
Very simple: I need to generate a file and upload it to ftp. Currently I am
wrapping the file together, writing it out to a temp file on disk,
calling $ftp->put($tmp_file) on it, and unlinking it. Is there a way to skip
the write to disk? The put() method seems to expect a path
get ($remote,$local,$where) is failing whenever i use the third arguement.
here in this case my file to be downloaded from FTP is of size 5MB.
2Mb of it is downloaded, now when i am executing the
get ($remote,$local,$where) with $where as 2MB(2048), get method is
returning me nothing and download
Hi all
I tried to chroot the perl and when i am trying to run a Net::FTP script
I receive the error
Net::FTP: Bad protocol 'tcp'
Do you know what is going on?
Please start a new thread when sending an unrelated question, don't
reply to a previous thread to prevent being ignored.
Pablo Wolter wrote:
Hi,
I have a stupid question to you guys; I need to install Net::Ftp module
on a solaris production machine and feeling insecure to screw up the
s
steve abrams wrote:
Hi all,
Hello,
First post to the group. I have two questions, but they go hand in hand.
The first:
Net::FTP documentation reports that get syntax is:
get ( REMOTE_FILE [, LOCAL_FILE [, WHERE]] )
I do the following (with $ftp initialization omitted here):
local $fh = IO::File
Hi all,
First post to the group. I have two questions, but they go hand in hand. The
first:
Net::FTP documentation reports that get syntax is:
get ( REMOTE_FILE [, LOCAL_FILE [, WHERE]] )
I do the following (with $ftp initialization omitted here):
local $fh = IO::File->new_tmpfile;
$ftp-&
Kelvin Wu wrote:
Hello Perl,
Hello,
Perl is busy right now, I'm Lee ;p
I am looking for a Perl module which is used to access FTPd via SSL,
Auth TLS. Is there something called Net::FTP::SSL or others?
A quick search on search.cpan.org brought this up:
http://search.cpan.org/~drolsky/Net
Hello Perl,
I am looking for a Perl module which is used to access FTPd via SSL,
Auth TLS. Is there something called Net::FTP::SSL or others?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.
James P Donnelly <[EMAIL PROTECTED]> asked:
> I am only trying to login into a server, travese to the
> correct directory, dump a file and quit. I have hacked
> together something that gets me to the server and
> then it seems to hang at the login.. Has anyone written
> something like
> this
I am trying automate some processes and ftp is not allowed to
contact servers outside my intranet (socks).
I am only trying to login into a server, travese to the correct directory, dump
a file and quit. I have hacked together something that gets me to the server and
then it seems to hang at the
Hi all...glad to see u again...
I have one question. Actually i used Net::FTP::Recursive to transfer a directory(not
even a single files, but it's really2 a directory) and its content between
machine..Here is my code..
#!/us
Thanks for ur reply..Actually, i need to transfer a folder that continously updated.
It's so difficult to tarball a directory first then send it through Net::FTP while the
content of the directory always updated...I mean my problem is, i need to transfer a
folder without tarball it first
say, "Perl" doesn't stand for anything,
so it shouldn't be capitalized as if it's an acronym.
> I have one question to ask..How can i transfer a folder in 2 different
> machine using Net::FTP...Now, i can transfer a sigle file between 2
> machine but i am still h
I am new in PERL programming...I have one question to ask..How can i transfer a folder
in 2 different machine using Net::FTP...Now, i can transfer a sigle file between 2
machine but i am still having problemm to transfer a folder using Net::FTP...Did
anybony have any idea?Please help me
OhioHealth.com> writes:
..snip..
I'm fairly new to Perl, but have been working on a similar typ problem and
monitoring the success of my Net::FTP session. I used logic similarm to the
following:
my ftp;
if($ftp = Net::FTP->new($remotehost)) {
print "Initial FTP succe
On Fri, 17 Sep 2004 [EMAIL PROTECTED] wrote:
> yes my ftp code has always worked, so lets move on!
Ok -- you didn't actually say that, you just said things don't work.
The way you're using the die statement won't work.
Go back to the docs and usual manuals to look for other ways to do this.
Th
s List <[EMAIL PROTECTED]>
Subject: Re: Net ::FTP and subroutine calls
On Fri, 17 Sep 2004 [EMAIL PROTECTED] wrote:
> Right thanks forgot about that! So how do I out this failed info to
> STDOUT (ftplog), b/c if it does fail I would want to know!
First thin
On Fri, 17 Sep 2004 [EMAIL PROTECTED] wrote:
> Right thanks forgot about that! So how do I out this failed info to
> STDOUT (ftplog), b/c if it does fail I would want to know!
First things first: does the version I sent yesterday work? Focus on
getting the FTP transaction to finish properl
my $user=";
my $pass="xxx;
my $data=$scratchtps;
my $ftplog="/usr/local/log/ftp_IrMt_scratchtapes.log";
my $ftp = Net::FTP->new($remotehost, Debug => 10)
|| die "Cannot
tchtps );
sub ftpme {
my $data = shift;
my $remotehost = "ftp.digitalarchives.com";
my $user = "cb100524";
my $pass = "xxx";
my $ftp= Net::FTP->new(
$remotehost, Debug => 10
) or d
On Wed, 15 Sep 2004 [EMAIL PROTECTED] wrote:
> no nothing is showing up in the file. Here is where I looked for
> information on Net::FTP
>
> http://search.cpan.org/~gbarr/libnet-1.19/Net/libnetFAQ.pod
>
> ok I will look in perldoc -f package. Is there a better place thou
no nothing is showing up in the file. Here is where I looked for
information on Net::FTP
http://search.cpan.org/~gbarr/libnet-1.19/Net/libnetFAQ.pod
ok I will look in perldoc -f package. Is there a better place though?
Chris Devers <[EMAIL PROTECTED]>
09/15/2004 07:04 PM
= "xxx";
> my $data = $scratchtps;
> my $ftplog = "/usr/local/log/ftp_IrMt_scratchtapes.log";
>
> my $ftp= Net::FTP->new(
>$remotehost, Debug => 10
> ) or die "cannot connect to $remotehost: I
local/log/ftp_IrMt_scratchtapes.log";
my $ftp = Net::FTP->new(
$remotehost, Debug => 10)
or die "cannot connect to $remotehost: IronMt";
$ftp->login($user, $pass) or die "cannot login ",
$ftp->$f
gt;
> Chris
>
>
>
>
> -----Original Message-
> From: Kelvin Wu [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 09, 2004 10:44 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Net::FTP Help !
>
> my @raw_list = $ftp->dir($remote_dir);
> my @f
d what is this doing ..
Thanks
Chris
-Original Message-
From: Kelvin Wu [mailto:[EMAIL PROTECTED]
Sent: Monday, August 09, 2004 10:44 PM
To: [EMAIL PROTECTED]
Subject: Re: Net::FTP Help !
my @raw_list = $ftp->dir($remote_dir);
my @files;
for (@raw_list) {
# Skip directory
my @raw_list = $ftp->dir($remote_dir);
my @files;
for (@raw_list) {
# Skip directory and symblink
next if $_ =~ /^d|^l/;
# Store file name
if ($_ =~ /(.+)(\d\d:\d\d) (.+)/) {
next if ($2 eq '.' or $2 eq '..');
push @files, $2;
}
}
On Mon, 9 Aug 2004 19:38:19 -0600, Wiggins d An
>
> Hi Guys and Gals ,
>
> I'm new to perl ... Here is my problem ..
>
> I'm connecting fine to the remote computer and logging in fine .. what I
> want to do is a get all files from the remote directory . Here is is a
> snippet of the code
>
> $ftp->cwd($remote_dir)
> or die "cannot cha
Hi Guys and Gals ,
I'm new to perl ... Here is my problem ..
I'm connecting fine to the remote computer and logging in fine .. what I
want to do is a get all files from the remote directory . Here is is a
snippet of the code
$ftp->cwd($remote_dir)
or die "cannot change working directory "
On Saturday 05 June 2004 HH:58:11, Edward Ludlow wrote:
> philipp traeder wrote:
> > "perldoc Net::FTP" is your friend - there you'll find documentation for
> > the put() method, which should be what you want.
> > Basically, you just need to extend your scrip
philipp traeder wrote:
"perldoc Net::FTP" is your friend - there you'll find documentation for the
put() method, which should be what you want.
Basically, you just need to extend your script a bit - something like:
my $ftp = Net::FTP->new(...);
$ftp->login("username&q
On Saturday 05 June 2004 HH:28:05, Edward Ludlow wrote:
> I'm a newbie to Perl - I'm having to dip in and try and do some coding
> as I need a script that will move a file from one server to another. I
> believe this can be done with the Net::FTP object.
> I've pla
Hi all,
I'm a newbie to Perl - I'm having to dip in and try and do some coding
as I need a script that will move a file from one server to another. I
believe this can be done with the Net::FTP object.
I've played around whit this a fair bit, and I think this script should
wor
> > What is unexpected about this? Your error is being caught, and the
> > first line is just a warning, and a pretty useful one at that.
>
>
> >From the Net::FTP documentation:
>
>
> get ( REMOTE_FILE [, LOCAL_FILE [, WHERE]] )
>
> Get "RE
> What is unexpected about this? Your error is being caught, and the
> first line is just a warning, and a pretty useful one at that.
>From the Net::FTP documentation:
get ( REMOTE_FILE [, LOCAL_FILE [, WHERE]] )
Get "REMOTE_FILE" from the server and store locally. &q
> I have this little piece of code:
>
>
> -- CUT --
> #!/usr/bin/perl
>
> use strict;
> use warnings;
> use Net::FTP;
>
> my $address = "localhost";
> my $port = 21;
> my $user = "test";
> my $pass = "test";
> m
I have this little piece of code:
-- CUT --
#!/usr/bin/perl
use strict;
use warnings;
use Net::FTP;
my $address = "localhost";
my $port = 21;
my $user = "test";
my $pass = "test";
my $sourcedir = "/test/";
my $sourcemask = "*";
my $destdir =
TED]
Sent: Friday, May 28, 2004 3:42 AM
Cc: [EMAIL PROTECTED]
Subject: Re: Question on Net::FTP.
Never mind.
Figured it out.
:)
Could you share the solution ?
José.
DISCLAIMER
"This e-mail and any attachment thereto may contain information which
is confidential and/or protected by in
> -Original Message-
> From: Silky Manwani [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 28, 2004 3:42 AM
> Cc: [EMAIL PROTECTED]
> Subject: Re: Question on Net::FTP.
>
>
> Never mind.
>
> Figured it out.
>
> :)
Could you share the solution ?
J
Never mind.
Figured it out.
:)
On May 27, 2004, at 4:40 PM, Silky Manwani wrote:
Hello,
I have this program where I am trying to ftp a file from one machine
to another.
so code somewhat looks like this:
$ftp = Net::FTP->new(host, (Debug => 1, Timeout =>600, Passive =>1));
$ftp->lo
Hello,
I have this program where I am trying to ftp a file from one machine to
another.
so code somewhat looks like this:
$ftp = Net::FTP->new(host, (Debug => 1, Timeout =>600, Passive =>1));
$ftp->login($user,$pass);
$ftp->binary();
$ftp->put($file);
At some point this cod
this in Perl or switch to a shell script Assuming
you have correct these then we basically end up with a file zipped tar
file right?
# Begin FTP Transaction
use Net::FTP;
$ftp = Net::FTP->new("server.test", Debug => 1)or die "Could not
establish connection to serve
x27;);
system('gzip -fv9 ../backups/www.tar');
system('mv -fv ../backups/www.tar.gz ../backups/' . $date . '-www.tar.gz');
# Begin FTP Transaction
use Net::FTP;
$ftp = Net::FTP->new("server.test", Debug => 1)or die "Could not
establish connection to s
> On Wed, 2003-12-17 at 11:40, Wiggins d Anconia wrote:
> > Real Question:
> > I have a potential bug/implementation request for Net::FTP, as it is a
> > base module should this be sent directly to Graham Barr or is there a
> > better place to send it?
>
> I sen
On Wed, 2003-12-17 at 11:40, Wiggins d Anconia wrote:
> Real Question:
> I have a potential bug/implementation request for Net::FTP, as it is a
> base module should this be sent directly to Graham Barr or is there a
> better place to send it?
I send bug reports through the Request Tra
On 12/17/2003 11:40 AM, Wiggins d Anconia wrote:
Real Question:
I have a potential bug/implementation request for Net::FTP, as it is a
base module should this be sent directly to Graham Barr or is there a
better place to send it?
I usually check for a mailing list first at <http://lists.perl.
Real Question:
I have a potential bug/implementation request for Net::FTP, as it is a
base module should this be sent directly to Graham Barr or is there a
better place to send it?
Background Questions:
Out of curiousity does anyone know of discussions had about Net::FTP as
it relates to the STOU
> Outland Domain Group
> Anchorage, Alaska
>
>
>
> -Original Message-
> From: Dan Muey [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 02, 2003 6:38 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Net::SSH and Net::FTP?
>
>
> > >
> > > I wou
President / Owner
Outland Domain Group
Anchorage, Alaska
-Original Message-
From: Dan Muey [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 6:38 AM
To: [EMAIL PROTECTED]
Subject: RE: Net::SSH and Net::FTP?
> >
> > I would like to use SSH to login to a remote system
1 - 100 of 223 matches
Mail list logo