{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
Dear Jim,
Thank you for your detailed insight where I was lacking. It is greatly
appreciated. I learned a lot from this discussion.
Sincerely,
Shaji
---
Your talent is God's gift to you. What you do with it is your gif
On Feb 23, 2014, at 7:09 PM, Shaji Kalidasan wrote:
> Dear Perlers,
>
> I made some improvements in my code (now I am checking the file size of
> remote file) but still can't figure out how to calculate the MD5 hash of a
> remote file.
You cannot calculate the MD5 digest of a file on a remot
Dear Perlers,
I made some improvements in my code (now I am checking the file size of remote
file) but still can't figure out how to calculate the MD5 hash of a remote file.
Any help is highly appreciated.
[code]
use strict;
use warnings;
use Digest::MD5::File qw( file_md5_hex );
use Net
Dear Perlers,
I need to download a file from a server using FTP and then I need to compare
both files (MD5 Checksum) to ensure that I am testing the right build.
Here is the program I have attempted so far. Please throw some light in
comparing the MD5 checksum of the source and destination
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
How secure is this transfer? Is this server to server within the network, or
across the Internet?
If it remains local, Net::FTP is probably the route you want to go. Just do an
$ftp->ls() and do a $ftp->get() on files that match a regex pattern.
If it is not, then you might want to eith
Hello All,
I am trying to find out how I can transfer files from one directory on one
server to another directory on another server?
What I need to consider is that I should transfer files that are created
TODAY only. i.e. the folder will look like this:
04/20/2012
04/14/2012
and if I am runn
On Mon, Apr 11, 2011 at 08:50:59AM +0300, Shlomi Fish wrote:
> Hi Siegfried,
>
> On Sunday 10 Apr 2011 21:55:30 siegfr...@heintze.com wrote:
> > I want to implement a implement a poor man's ftp server that has minimal
> > dependencies (like none!). I'll write
Hi Siegfried,
On Sunday 10 Apr 2011 21:55:30 siegfr...@heintze.com wrote:
> I want to implement a implement a poor man's ftp server that has minimal
> dependencies (like none!). I'll write a simple custom poor man's ftp
> client on the other side. Since I'm wr
I want to implement a implement a poor man's ftp server that has minimal
dependencies (like none!). I'll write a simple custom poor man's ftp
client on the other side. Since I'm writing both the client and the
server, I don't need to worry about adherence to the ftp sta
Or you can add
26.my $dir = $_[0];
>
die qq{ Please pass the directory name...} if (! -d "$dir");#
Test whether you are getting actual directory
>27.if ($dir =~ m/^d/){
> 28. $ftp->cwd("$dir") or die "Error
On 11/4/2010 1:36 AM, sync wrote:
26.my $dir = $_[0];
27.if ($dir =~ m/^d/){
28. $ftp->cwd("$dir") or die "Error"
29.. (This location is my problem )
30. }
I suspect that $dir contains a string that st
Hi ,all :
I have a trouble about the how to recur list the ftp lists with the
perl .
The result like this :
---
/dir1
/sub-dir1
test1
/dir2
/sub-dir2
test2
/dir3
/sub-dir3
test3
Hi, all :
I want to write the script to monit the ftp users actions on time,
The website is the best . like this :
users time actions
test121:23 download the test file
test221:30
Hi Atropo,
On Tuesday 17 August 2010 15:37:51 Atropo wrote:
> Hi all, i have this simple script to check if a file has arrive since
> the last hour
>
> find2perl tmp -type f -eval '-M $_ < 1/24' -print |perl
>
> but now i would like to check in a remote server,
Hi all, i have this simple script to check if a file has arrive since
the last hour
find2perl tmp -type f -eval '-M $_ < 1/24' -print |perl
but now i would like to check in a remote server, maybe on ftp
session. i have this ftp.pl
perl -w >> ftp.log -MNet::FTP -le'
thanks for your reply...u mean to say this?
$t = Net::SSH::Perl->new("remote_1");
$t->login($uname,$paswd);
$t->cmd("ftp remote_2")
---
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
On Thursday 22 Jul 2010 13:44:46 Sooraj S wrote:
> Hi,
>
> I am using Net::SSH::Perl, Net::FTP to loginto remote machines...
> I want to 'scp' some files in my local system to the remote machine
> remote_1. After that, from the remote_1 i want to upload those files
> t
Hi,
I am using Net::SSH::Perl, Net::FTP to loginto remote machines...
I want to 'scp' some files in my local system to the remote machine
remote_1. After that, from the remote_1 i want to upload those files
to an FTP server, remote_2. I can access remote_2 only through
remote1. Please g
Jag Thripp wrote:
Hello first question, maybe one of many!
Hello,
Code running on a windows machine connecting to Linux box.
I am trying to capture an ls\dir command into a file from an FTP
connection, similar to ls -lA > Ls.txt.
I am trying to monitor files in a folder on a remote Red
ning on a windows machine connecting to Linux box.
JT> I am trying to capture an ls\dir command into a file from an FTP
JT> connection, similar to ls -lA > Ls.txt.
JT> use Net::FTP;
JT> use warnings;
JT> use diagnostics;
use strict ;
JT> my
Hello first question, maybe one of many!
Code running on a windows machine connecting to Linux box.
I am trying to capture an ls\dir command into a file from an FTP
connection, similar to ls -lA > Ls.txt.
I am trying to monitor files in a folder on a remote Red Hat server to
make s
ocess simply
stalls after about 150 files. Have tried different file sets and
different destination computers, all same result. Output to the
browser is after each file is FTPd. Takes less than 1 second per file,
entire ftp step (150+ files) takes a little less than 2 minutes.
However, I did notice
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 fi
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
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
the browser times out
>>>>> "b" == boman writes:
b> Have a simple script to FTP all files in one dir to a Solaris box.
b> Script runs fine when invoked from command line. However, when invoked
b> from browser (simple html form with one button that calls the .pl
b> s
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:
Chas,
Thanks, I have info here on the shell script and the perl script that I call
from my java class.
I see the fail happening as we try to make a FTP connection. I have not
specified any PERLLIB as I see in my script.
Thanks again,
Srini
##myScript.ksh
#!/bin/ksh
On Thu, Nov 20, 2008 at 21:43, <[EMAIL PROTECTED]> wrote:
> I need help with an issue with executing a perl program from java. I
> have a perl script that does a FTP. The perl program works well when I
> run it from command line or on a cron job.
>
> The same command I am als
I need help with an issue with executing a perl program from java. I
have a perl script that does a FTP. The perl program works well when I
run it from command line or on a cron job.
The same command I am also running from a Java program, it used to run
fine on Solaris 8 and Perl 5.8.0. When we
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
2008/11/1 [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Hi Dermot,
>
> The original code will upload a file but not a folder full of files. I need
> a way to ftp either:
>
> 1. ftp the whole folder with all the items inside
> 2. have perl read in all the file names and the
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 =
I am in the middle of moving from Solaris to Linux environment. On the
current Solaris box, I use Net::FTP for all the work that needs to be done. On
Linux, the ftp is not available, due to security concerns. The Linux
environment had Perl at 5.8.0 and so I got the okay to bring down AS
On Wed, 2008-09-17 at 13:09 -0700, [EMAIL PROTECTED] wrote:
> Hello
>
> I need to write some code where I invoke ftp to another node and ftp a file
> from its directory to a directory that is on my system. Can this be done in
> perl (I suspect so) and what would be the best way
Hello
I need to write some code where I invoke ftp to another node and ftp a file
from its directory to a directory that is on my system. Can this be done in
perl (I suspect so) and what would be the best way to do it. This will help
automate some backup work that needs to be done.
Thanks
You could use the CPAN module Net::SSH
http://search.cpan.org/~ivan/Net-SSH-0.09/SSH.pm.
- Install the module on you local PC.
- Create a non-privileged user on the remote server
- Create SSH certificate for the non-privileged user on the remote machine
- Use the non-privileged user to run remote
Hi,
I'm sure there are a zillion ways of doing this, but rather than
re-invent the wheel I thought I'd use my best skill - "The ability to
ask someone else and plaguerise :)"
So, I would like to poll a remote server (production app server) find
files (log files) in a specific directo
Message-
From: Chas. Owens [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2008 5:57 PM
To: Rajnikant
Cc: beginners@perl.org
Subject: Re: difference between FTP and SFTP
On Thu, May 29, 2008 at 1:30 AM, Rajnikant
<[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I have questi
On Thu, May 29, 2008 at 1:30 AM, Rajnikant
<[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I have question about SFTP's connection modes. FTP can use Active or Passive
> mode for same.
>
> Is SFTP also supports such modes?
snip
Active vs passive has to do whether both t
On Thu, 2008-05-29 at 11:00 +0530, Rajnikant wrote:
> Hi everyone,
>
> I have question about SFTP's connection modes. FTP can use Active or Passive
> mode for same.
>
> Is SFTP also supports such modes?
It does not need the distinction. SFTP connects via ssh on port
Hi everyone,
I have question about SFTP's connection modes. FTP can use Active or Passive
mode for same.
Is SFTP also supports such modes?
Thanks.
Thanks and Best regards,
~ Rajnikant
Software Engg.
Persistent Sys. Ltd.
Ph. +91 98222 04088
DISCL
> -Original Message-
> From: Chas. Owens [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 09, 2008 13:05
> To: Wagner, David --- Senior Programmer Analyst --- WGO
> Cc: beginners@perl.org
> Subject: Re: Example of FTP w/o Input file? Is it possible to
> do or no
t; each time, but
> I am trying to get the data to a file on the remote server without
> having a file on
> the input side.
> Understand?
snip
Ah, now it becomes clear. According to the Net::FTP docs the put
method accepts a file or a filehandle as the LOCAL_FILE argument
> -Original Message-
> From: Chas. Owens [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 09, 2008 12:33
> To: Wagner, David --- Senior Programmer Analyst --- WGO
> Cc: beginners@perl.org
> Subject: Re: Example of FTP w/o Input file? Is it possible to
> do or no
On Wed, Apr 9, 2008 at 1:56 PM, Wagner, David --- Senior Programmer
Analyst --- WGO <[EMAIL PROTECTED]> wrote:
> I have a hash which contains for each entry the email which I
> need to ftp to a particular location with a specified name. I could
> write out the file and
I have a hash which contains for each entry the email which I
need to ftp to a particular location with a specified name. I could
write out the file and then do the ftp. But since I have the necessary
data in an audittrail report, I was wondering if I can ftp from a
variable using ftp
Might want to check out ncftp client. Works very well, multiple platform
support and free! I use it for nearly all my batch ftp needs (albeit I have
only used the Solaris version...)
http://www.ncftp.com/ncftp/
-Dan
> -Original Message-
> From: Siegfried Heintze (Aditi) [
On Wed, Mar 26, 2008 at 3:49 PM, Siegfried Heintze (Aditi)
<[EMAIL PROTECTED]> wrote:
> I'm using perl 5.8.8 on cygwin/windows 2003 server.
>
> This worked (but it was so tedious!):
> $ perl -MNet::FTP -e '$ftp =Net::FTP->new("mediaftp.wiley.com", D
I'm using perl 5.8.8 on cygwin/windows 2003 server.
This worked (but it was so tedious!):
$ perl -MNet::FTP -e '$ftp =Net::FTP->new("mediaftp.wiley.com", Debug=>0) or
die "cannot connect"; $ftp->login("download","download") or die
> -Original Message-
> From: Chas. Owens [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 24, 2008 11:42
> To: Wagner, David --- Senior Programmer Analyst --- WGO
> Cc: Perl Beginners
> Subject: Re: Looking for example of how to keep an FTP
> processing running if t
ur weeks and my process then dies.
>
> I have a simple setup:
>
> $MyFtp = Net::FTP->new($GlblInfo{ipaddr}, Debug => 1);
>
> $MyFtp->login($GlblInfo{logon},$GlblInfo{pw});
>
> Yes. There is no checking on the new and what happens is that
>
1) Can you set a really long timeout?
2) When I asked about doing something similar with Mechanize->get(),
someone suggested wrapping the call in an eval block and testing the
exit status of the function call. Or something like that. Would that
approach work here?
--
To unsubscribe, e-mail: [EMAI
I have a polling process that runs 24x7 ( internal site ) and for the
most part has no problems except that they shutdown the the internal
site every three or four weeks and my process then dies.
I have a simple setup:
$MyFtp = Net::FTP->new($GlblInfo{ipaddr}, Debug =
On Thu, 2008-03-06 at 22:48 +0200, Octavian Rasnita wrote:
> Thank you. I have it already installed and active, but I thought it is just
> a way of transfering the files by FTP using SSL, using the
> usernames/passwords of the OS, which I don't want.
>
> I want to be abl
Octavian Rasnita <[EMAIL PROTECTED]> asked:
> > Can anyone recommend a good FTP server for Linux?
> > I want to be able to create/delete users dynamicly from a
> > perl program, assign permissions dynamicly, and it would be
> > good (although not absolutely
> > nec
When the date was Thursday 06 March 2008, Octavian Rasnita wrote:
> Can anyone recommend a good FTP server for Linux?
> I want to be able to create/delete users dynamicly from a perl program,
> assign permissions dynamicly, and it would be good (although not
> absolutely necessary)
Octavian Rasnita <[EMAIL PROTECTED]> asked:
> Can anyone recommend a good FTP server for Linux?
> I want to be able to create/delete users dynamicly from a
> perl program, assign permissions dynamicly, and it would be
> good (although not absolutely
> necessary) to have
Thank you. I have it already installed and active, but I thought it is
just
a way of transfering the files by FTP using SSL, using the
usernames/passwords of the OS, which I don't want.
I want to be able to set a different set of usernames/passwords than
those
of the system. Is it pos
fering the files by FTP using SSL, using the
usernames/passwords of the OS, which I don't want.
I want to be able to set a different set of usernames/passwords than those
of the system. Is it possible?
Thank you.
Octavian
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
-Original Message-
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2008 2:43 PM
To: Bob McConnell; beginners@perl.org
Subject: Re: FTP server
From: "Bob McConnell" <[EMAIL PROTECTED]>
I would recommend sftp instead, unless all of your traffic w
From: "Bob McConnell" <[EMAIL PROTECTED]>
I would recommend sftp instead, unless all of your traffic will be
contained on a local network. What distribution are you using? Many come
with a server that just needs to be enabled.
Bob McConnell
I use Fedora. Does its FTP server
, March 06, 2008 2:06 PM
To: beginners@perl.org
Subject: FTP server
Hi,
Can anyone recommend a good FTP server for Linux?
I want to be able to create/delete users dynamicly from a perl program,
assign permissions dynamicly, and it would be good (although not
absolutely
necessary) to have SSL support
Hi,
Can anyone recommend a good FTP server for Linux?
I want to be able to create/delete users dynamicly from a perl program,
assign permissions dynamicly, and it would be good (although not absolutely
necessary) to have SSL support.
Thank you very much.
Octavian
--
To unsubscribe, e-mail
Sturdevant, Robert W Mr CTR USA AMC wrote:
Hi group,
Hello,
I'm troubleshooting a perl 5.6 Win32 app that uses Net::FTP. I am trying
to ftp using a file handle instead of a local file name.
POD says something like $ftp->put(LOCAL_FILE [REMOTE_FILE]) where
LOCAL_FILE may be a file n
Hi group,
I'm troubleshooting a perl 5.6 Win32 app that uses Net::FTP. I am trying
to ftp using a file handle instead of a local file name.
POD says something like $ftp->put(LOCAL_FILE [REMOTE_FILE]) where
LOCAL_FILE may be a file name or a file handle. I know $filename does
exist, I ca
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Tom Phoenix
> Sent: Tuesday, December 11, 2007 15:07
> To: Wagner, David --- Senior Programmer Analyst --- WGO
> Cc: beginners@perl.org
> Subject: Re: timeout in ftp
>
>
On 12/11/07, Wagner, David --- Senior Programmer Analyst --- WGO
<[EMAIL PROTECTED]> wrote:
> I have the following code:
>
> $MyFTP->put($MyFtpFromFile , $MyFtpToFile );
> if ( ! $MyFTP->ok() ) {
Are you using Net::FTP? Does your version of the documentation
I have the following code:
$MyFTP->put($MyFtpFromFile , $MyFtpToFile );
if ( ! $MyFTP->ok() ) {
.
}
On my audit log:
Net::FTP=GLOB(0x19c30c0)<<< 125-Waiting for recall of data set
FTPTRGP.AMPD0407
Net::FTP=GLOB(0x19c30c0): Timeout
that line 50 times but never that way.
If I say:
my $ftp = Net::FTP -> new($server, Passive => 0)...
it does indeed use active mode.
Sometimes you just need another pair of eyes :)
Thanks!
richf
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Subject: Net::FTP troubles with passive
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 doc
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
Gunnar Hjalmarsson wrote:
> Gunnar Hjalmarsson wrote:
>> Net::FTP uses ascii mode by default, which means that the line
>> endings were converted also when you transferred the file back to
>> your local machine. Consequently, those files should not be identical.
>
> C
Gunnar Hjalmarsson wrote:
Net::FTP uses ascii mode by default, which means that the line endings
were converted also when you transferred the file back to your local
machine. Consequently, those files should not be identical.
Correction: They _should_ be identical. Sorry!
No, I can't
Rhea Yakob wrote:
I was trying to put some files to a remote machine (unix) from
the local (win) machine using a perl script in ascii mode.
$ftp->ascii();
$ftp->put($file1,$file11) or die "put failed \n";
Suppose you used Net::FTP. You should have told us that.
Later on w
I was trying to put some files to a remote machine (unix) from the local (win)
machine using a perl script in ascii mode.
$ftp->ascii();
$ftp->put($file1,$file11) or die "put failed \n";
Later on when I try to get back the same file with a new name to my local
machine
$ftp->
On Thu, 2007-10-11 at 23:05 +0200, Jenda Krynicky wrote:
> From: "Johnson, Reginald \(GTI\)" <[EMAIL PROTECTED]>
> > I am trying to ftp files to GDG dataset on a mainframe. Whenever I try
> > this my put fails with
> > "failed Requested act
Can you upload the file manually? If you can't then that's obviously
the problem. If you can then make sure that all of the settings are the
same in the Perl script (the pwd, port/passive, the exact base name &
suffix).
Johnson, Reginald (GTI) wrote:
> I am trying to ftp fil
On 10/11/07, Jenda Krynicky <[EMAIL PROTECTED]> wrote:
snip
> > $ftp->put($logfile ,"SM.SCS.ADSM.LINUX.ACCTLOG(+1)" )
> > or die "put of $logfile failed ", $ftp->message;
>
> All I can think of is that the file name is not
From: "Johnson, Reginald \(GTI\)" <[EMAIL PROTECTED]>
> I am trying to ftp files to GDG dataset on a mainframe. Whenever I try
> this my put fails with
> "failed Requested action not taken: GDG name conversion failed"
>
>
> #!/usr/bin/perl
> use F
I am trying to ftp files to GDG dataset on a mainframe. Whenever I try
this my put fails with
"failed Requested action not taken: GDG name conversion failed"
#!/usr/bin/perl
use File::Copy cp;
use Net::FTP;
@serverlist =qw{tsmpa1 tsmte1 tsmdb1 tsmob1 tsmob2 tsmbk1};
> -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 an
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 preferre
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?
Hi Tom,
Thanks for the response.
> It's undocumented, but maybe try this:
>
> BEGIN { $CPAN::DEBUG = 512; } # FTP?
>
Not sure where to plug in this BEGIN {}...
> perl -MNet::Netrc -lwe 'print join " ",
> Net::Netrc->lookup("MyCpanMirror&
On 6/25/07, RICHARD FERNANDEZ <[EMAIL PROTECTED]> 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/ , and I have a
valid .netrc configured with a user and password for the mirro
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/
1 - 100 of 544 matches
Mail list logo