Re: Net::FTP ALLO --- and how to advise functions in perl

2016-08-19 Thread Chas. Owens
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 set it up l

Re: Net::FTP ALLO --- and how to advise functions in perl

2016-08-19 Thread hw
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 command you

Re: Net::FTP ALLO

2016-08-19 Thread Chas. Owens
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 asking for. If you

Re: Net::FTP

2013-03-12 Thread Jim Gibson
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 > put file: $!"; > > Doesn't transfer correctly beca

Re: Net::FTP

2013-03-11 Thread Nathan Hilterbrand
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 correctly because the windows FTP se

Re: Net::FTP fails when invoked from browser

2009-11-10 Thread boman
Dermot, I did set domain and user environemt variables, no change. Uri, thanks for the tips. I've implemented localtime() and next if, but still see same results. Mr. Scott, I do believe you are onto something there. I do see the browser being updated after each file is FTPd, but the process simp

Re: Net::FTP fails when invoked from browser

2009-11-09 Thread Peter Scott
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

Re: Net::FTP fails when invoked from browser

2009-11-08 Thread Dermot
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 >

Re: Net::FTP fails when invoked from browser

2009-11-07 Thread Uri Guttman
> "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> script), only some files get FTPd. The proces

Re: Re: Net::ftp

2008-11-01 Thread ringlink
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

Re: Net::ftp

2008-11-01 Thread Dermot
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 then upload all of them one by > o

Re: net::ftp with retry & Big brother notifications from applications

2006-05-18 Thread Ken Foskey
On Sun, 2006-05-14 at 21:45 +1000, Ken Foskey wrote: > I am trying to transfer across a link that is unreliable. (OK it is > reliable but it does break occasionally.) I found the solution to this in an earlier email took the code and created a module for myself and here is my module and test scri

Re: net::ftp with retry & Big brother notifications from applications

2006-05-14 Thread Alan_C
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

Re: NET::FTP

2006-01-25 Thread Tom Phoenix
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 place it in the c

Re: Net::FTP and filehandle with get()

2005-01-19 Thread John W. Krahn
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->

Re: Net::FTP::SSL ?

2004-12-06 Thread JupiterHost.Net
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-SFTP-0.08

Re: Net ::FTP and subroutine calls

2004-09-17 Thread Colegate Spinks
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 successful\n"; } else { p

Re: Net ::FTP and subroutine calls

2004-09-17 Thread Chris Devers
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

Re: Net ::FTP and subroutine calls

2004-09-17 Thread DBSMITH
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

Re: Net ::FTP and subroutine calls

2004-09-17 Thread Chris Devers
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

Re: Net ::FTP and subroutine calls

2004-09-17 Thread DBSMITH
rMt failed!: $!, print ($ftplog)"; $ftp->quit; } Derek B. Smith OhioHealth IT UNIX / TSM / EDM Teams 614-566-4145 Chris Devers <[EMAIL PROTECTED]> 09/16/2004 04:59 PM Please respond to Perl Beginners List To: [EMAIL PROTECTED] cc:

Re: Net ::FTP and subroutine calls

2004-09-16 Thread Chris Devers
On Wed, 15 Sep 2004 [EMAIL PROTECTED] wrote: > no nothing is showing up in the file. Okay then, so this logging code is all hand-written ? It seems then that nothing in this script is actually writing to the log file you've asked for, because there's no such thing as "$ftp->$ftplog" (or "$ftp-

Re: Net ::FTP and subroutine calls

2004-09-15 Thread Chris Devers
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 though? If you're old-fa

Re: Net ::FTP and subroutine calls

2004-09-15 Thread DBSMITH
Please respond to Perl Beginners List To: [EMAIL PROTECTED] cc: Perl Beginners List <[EMAIL PROTECTED]> Subject: Re: Net ::FTP and subroutine calls On Wed, 15 Sep 2004 [EMAIL PROTECTED] wrote: The Python folks are right -- whitespace is your friend! Use it

Re: Net ::FTP and subroutine calls

2004-09-15 Thread Chris Devers
On Wed, 15 Sep 2004 [EMAIL PROTECTED] wrote: The Python folks are right -- whitespace is your friend! Use it! > sub ftpme { > > my $remotehost = "ftp.digitalarchives.com"; > my $user = "cb100524"; > my $pass = "xxx"; > my $data = $scratch

Re: Net::FTP Help !

2004-08-13 Thread Kelvin Wu
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

RE: Net::FTP Help !

2004-08-10 Thread Chris Federico
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

Re: Net::FTP Help !

2004-08-10 Thread Kelvin Wu
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

Re: Net::FTP Help !

2004-08-09 Thread Wiggins d Anconia
> > 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

Re: NET::FTP

2004-06-05 Thread Philipp Traeder
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 script a bit - something like: > > > > my $ft

Re: NET::FTP

2004-06-05 Thread Edward Ludlow
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", "password"); # change the w

Re: NET::FTP

2004-06-05 Thread philipp traeder
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 played around whit this a fair bi

Re: Net::FTP errors

2004-02-25 Thread Wiggins d'Anconia
Jas wrote: Ok, I am getting frustrated with this... Any help is appreciated. Step back, breathe, eat a sandwich, go for a walk... now try again... [FTP Script] #!/usr/bin/perl use strict; # always use warnings; # usually The longer you avoid the above after having been told the shorter your he

Re: NET::FTP problem w/CHMOD

2003-10-15 Thread [EMAIL PROTECTED]
Thanks Wiggins and Rob, '$ftp->site("CHMOD 755 $file")' worked the first time I popped it in - perfectly. Oddly, '$ftp->command("SITE CHMOD 755 $file")'and '$ftp->quot("SITE CHMOD 755 $file")' wouldn't hang the connection, and they would did successfully execute the chmod command via the ftp c

Re: NET::FTP problem w/CHMOD

2003-10-11 Thread Wiggins d'Anconia
Rob Dixon wrote: Hi. [EMAIL PROTECTED] wrote: I am trying to use the NET::FTP module to recursively chmod files. Either of these two ways of telling the server to chmod it seem to work: $ftp->command("SITE CHMOD 755 $file"); or $ftp->quot("SITE CHMOD 755 $file"); I've never tried this, but the

Re: NET::FTP problem w/CHMOD

2003-10-11 Thread Rob Dixon
Hi. [EMAIL PROTECTED] wrote: > > I am trying to use the NET::FTP module to recursively chmod files. > Either of these two ways of telling the server to chmod it seem to work: > > $ftp->command("SITE CHMOD 755 $file"); > or > $ftp->quot("SITE CHMOD 755 $file"); I've never tried this, but the POD f

Re: NET::FTP

2003-08-17 Thread John W . Krahn
On Sunday 17 August 2003 08:51, Cook, Harold D GARRISON wrote: > > I'm having a problem with NET::FTP. Please see code below. My > problem seems to be with the login method call, the error I get is: > Can't call method "login" on an undefined value at putcffile.pl line > 56. > > I know this is not

RE: Net::FTP question

2003-08-14 Thread wiggins
On Wed, 6 Aug 2003 12:38:04 -0700, "Michael Adrian" <[EMAIL PROTECTED]> wrote: > I have a question re Net::FTP. > I would like to change the record size when I 'put' the file I'm > ftp'ing. What argumen

RE: Net::FTP question

2003-08-07 Thread Dan Muey
> > On Wed, 6 Aug 2003 12:38:04 -0700, "Michael Adrian" > <[EMAIL PROTECTED]> wrote: > > > I have a question re Net::FTP. > > I would like to change the record size when I 'put' the file I'

RE: Net::FTP

2003-07-10 Thread Dan Muey
ROTECTED]> > > > Date: Thursday, July 10, 2003 11:36 am > > > Subject: Re: Net::FTP > > > > > > > Dan Muey wrote: > > > > > > > What I'd like to do is simply: > > > > > > > (WHERE exists() is hopefully a solution to my first

RE: Net::FTP

2003-07-10 Thread Dan Muey
> [EMAIL PROTECTED] wrote: > > - Original Message - > > From: Rob Dixon <[EMAIL PROTECTED]> > > Date: Thursday, July 10, 2003 11:36 am > > Subject: Re: Net::FTP > > > > > Dan Muey wrote: > > > > > > What I'd like to

Re: Net::FTP

2003-07-10 Thread wiggins
On Thu, 10 Jul 2003 21:56:17 +0100, "Rob Dixon" <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > - Original Message - > > From: Rob Dixon <[EMAIL PROTECTED]> > > Date: Thursday, July

Re: Net::FTP

2003-07-10 Thread Rob Dixon
[EMAIL PROTECTED] wrote: > - Original Message - > From: Rob Dixon <[EMAIL PROTECTED]> > Date: Thursday, July 10, 2003 11:36 am > Subject: Re: Net::FTP > > > Dan Muey wrote: > > > > > What I'd like to do is simply: > > >

Re: Net::FTP

2003-07-10 Thread mgoland
- Original Message - From: Rob Dixon <[EMAIL PROTECTED]> Date: Thursday, July 10, 2003 11:36 am Subject: Re: Net::FTP > Dan Muey wrote: > > > > What I'd like to do is simply: > > > > (WHERE exists() is hopefully a solution to my first question)

RE: Net::FTP

2003-07-10 Thread Dan Muey
> Dan Muey wrote: > > > > What I'd like to do is simply: > > > > (WHERE exists() is hopefully a solution to my first question) > > > > > > > > if($ftp->exists($file)) { > > > > $ftp->delete($file); > > > > if($ftp->exists($file)) { print "Could not delete > $file"; } else { > > > > print "$file

Re: Net::FTP

2003-07-10 Thread Rob Dixon
Dan Muey wrote: > > > What I'd like to do is simply: > > > (WHERE exists() is hopefully a solution to my first question) > > > > > > if($ftp->exists($file)) { > > > $ftp->delete($file); > > > if($ftp->exists($file)) { print "Could not delete $file"; } > > > else { print "$file is all gone"; } } e

RE: Net::FTP

2003-07-10 Thread Dan Muey
> > What I'd like to do is simply: > > (WHERE exists() is hopefully a solution to my first question) > > > > if($ftp->exists($file)) { > > $ftp->delete($file); > > if($ftp->exists($file)) { print "Could not delete $file"; } else { > > print "$file is all gone"; } } else { print "$file does > no

Re: Net::FTP

2003-07-09 Thread Rob Dixon
Hi Dan. Dan Muey wrote: > Howdy list, > > Is there a better way to tell if a file exists than > $ftp->size() being greater than zero > Or > $ftp->ls() > > Also if I delete a file with $ftp->delete($file); > It will return 1 on success but if it returns 0 how can I > tell if it's because it didn't

Re: Net::FTP question

2003-05-27 Thread Jenda Krynicky
From: Michael Muratet <[EMAIL PROTECTED]> > I have been having problems with Net::FTP timing out after a LIST > command. I've traced the problem to the bundled firewall running on > the machine (which is running RedHat 9.0). Disable the firewall, and > the script will run to completion. Oddly enoug

Re: Net::FTP in Passive mode hangs and fails (really frustrating)

2003-04-03 Thread R. Joseph Newton
[EMAIL PROTECTED] wrote: > Hi All, > > I'm unsure what to do next. I hope someone has beaten this before and > hears my cry for help. > > I've implemented a script to transfer files to a client, and to pick files > up. There is a firewall, though I don't know much about it. I instantiate > the

Re: Net::FTP in Passive mode hangs and fails (really frustrating)

2003-04-03 Thread Peter_Farrar
| | To: [EMAIL PROTECTED] | | cc: | | Subject: Re: Net::FTP in Pas

RE: Net::FTP stor

2003-02-10 Thread Dan Muey
Thanks! I'll give her a study and try! > > > Hi Dan. > > Dan Muey wrote: > > I have 2 questions about this chunk of code I'm trying to > get to work > > :: > > I understand that Net::FTP 's stor ... > > > > Tells the server to store a new file under the name file. > If the user > > calls ei

Re: Net::FTP stor

2003-02-10 Thread Rob Dixon
Hi Dan. Dan Muey wrote: > I have 2 questions about this chunk of code I'm trying to get to work > :: > I understand that Net::FTP 's stor ... > > Tells the server to store a new file under the name file. If the user > calls either pasv or port, > returns true or false. Otherwise, returns a referen

RE: Net::FTP to "put" local code instead of file

2003-02-07 Thread Dan Muey
> > Dan Muey wrote: > > Hello all, > > Has any body done this/know how to dit/know if it's even possible?? > > > > > > __SHORT VERSION__ > > How do I / Is it possible to -- use Net::FTP to send a file to a > > remote server that isn't an actual file but rather a > variable with the > > file's

Re: Net::FTP to "put" local code instead of file

2003-02-07 Thread Rob Dixon
Dan Muey wrote: > Hello all, > Has any body done this/know how to dit/know if it's even possible?? > > > __SHORT VERSION__ > How do I / Is it possible to -- use Net::FTP to send a file to a > remote server that isn't an actual file but rather a variable with > the file's contents? > > EG :: > $ftp-

RE: Net::FTP to "put" local code instead of file

2003-02-07 Thread wiggins
On Fri, 7 Feb 2003 12:39:14 -0600, "Dan Muey" <[EMAIL PROTECTED]> wrote: > > > Any ideas/different modules/etc.. > > > > > > > Though my understanding may not be complete, and it would > > take two scripts and may not be portable off of *nix s

RE: Net::FTP to "put" local code instead of file

2003-02-07 Thread Dan Muey
> > On Fri, 7 Feb 2003 10:32:12 -0600, "Dan Muey" > <[EMAIL PROTECTED]> wrote: > > > Hello all, > > Has any body done this/know how to dit/know if it's even possible?? > > > > > > __SHORT VERSION__ > > How do I / Is it possible to -- use Net:

RE: Net::FTP to "put" local code instead of file

2003-02-07 Thread wiggins
On Fri, 7 Feb 2003 10:32:12 -0600, "Dan Muey" <[EMAIL PROTECTED]> wrote: > Hello all, > Has any body done this/know how to dit/know if it's even possible?? > > > __SHORT VERSION__ > How do I / Is it possible to -- use Net::FTP to send a file to

RE: Net::FTP troubles

2003-02-06 Thread Rob Das
d above is accessed as "\". Rob Das -Original Message- From: R. Joseph Newton [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 11:42 PM To: Caenepeel, Sean [R&D/0111] Cc: [EMAIL PROTECTED] Subject: Re: Net::FTP troubles "Caenepeel, Sean [R&D/0111]"

Re: Net::FTP troubles

2003-02-05 Thread R. Joseph Newton
"Caenepeel, Sean [R&D/0111]" wrote: > Hello, > > I am having some difficulty downloadinging a file with the Net::FTP module. > ... > $ftp->cwd($path) || > die "Could not cd to $path."; > $ftp->get($filename) || > die "Could not get file."; HI Sean, I haven't worked with this module, but

Re: Net::FTP How to find the rate of transfer

2002-12-09 Thread Dr. Poo
hehe, write one... and let me know when you're done! hehe Actually... if you understand OOP code, that's not a bad idea at all.help out the community! (yea i would, but i'm very busy :-) Good luck! -Chris On Monday 09 December 2002 06:19 am, sharan wrote: > Hel

Re: NET::FTP

2002-09-28 Thread Geoffrey F. Green
On 9/28/02 1:06 PM, "Chuck Belcher" <[EMAIL PROTECTED]> wrote: > On win2k I typed > perl -MCPAN -e "install NET::FTP > and received the folowing output. Any ideas? [snip error message] sudo perl -MCPAN -e "install NET::FTP" gave me the same error message sudo perl -MCPAN -e "install

Re: Net::FTP library question

2002-06-07 Thread Michael Fowler
On Fri, Jun 07, 2002 at 05:38:44PM -0400, Torres, Jose wrote: > My code actually runs on a much bigger directory structure and it seems as > though directories that I know to be empty are not being picked up by the > ls() method. Net::FTP (at least v2.64) doesn't omit directories that are empty.

Re: Net::FTP question

2002-05-15 Thread Felix Geerinckx
on Wed, 15 May 2002 15:36:00 GMT, [EMAIL PROTECTED] (Jose Torres) wrote: > Can the get function in Net::FTP be used to get an entire > directory? I know the get function is used to retrieve a single > file, but I need to retrieve an entire directory. How can this be > done? Thanks. You can get

Re: Net::FTP

2002-04-10 Thread Elaine -HFB- Ashton
OZGUR GENC [[EMAIL PROTECTED]] quoth: *> *>I can not install any Net::FTP module from http://search.cpan.org/ . I *>can not uncompress any downloaded Net::FTP modules. Does anyone have *>any idea what problem can be? Well, you have to uncompress them before you can install them. Check to make

Re: Net::FTP

2002-04-05 Thread drieux
On Friday, April 5, 2002, at 02:15 , Balint, Jess wrote: > I need to use a database dump with this. I have the database dump run like > $data = `query`;. Please don't ask about that. don't ask, don't tell, No Problem. > How can I use a filehandle to > grab the information from the shell outpu

RE: Net::FTP

2002-04-05 Thread Balint, Jess
5:14 PM To: [EMAIL PROTECTED] Subject: Re: Net::FTP On Friday, April 5, 2002, at 01:54 , Balint, Jess wrote: > I know this may be an oddball question, but can I stream data into a file > over Net::FTP? interesting idea: given that perldoc Net::FTP says: put ( LOCAL_FILE [,

Re: Net::FTP

2002-04-05 Thread drieux
On Friday, April 5, 2002, at 01:54 , Balint, Jess wrote: > I know this may be an oddball question, but can I stream data into a file > over Net::FTP? interesting idea: given that perldoc Net::FTP says: put ( LOCAL_FILE [, REMOTE_FILE ] ) Put a file on the remote server. "LOCAL

Re: Net::FTP::Common - get(RemoteFile => ?)

2002-03-21 Thread Brian Volk
Thanks Elaine. I emailed T. M. Brannon. In the mean time I gonna stict to LWP::Simple. B Elaine -HFB- Ashton wrote: >Brian Volk [[EMAIL PROTECTED]] quoth: >*>Hi All, >*> >*>I'm trying to have perl get a file from my web hosting account. I >*>searched around and found Net::FTP::Common. I g

Re: Net::FTP::Common - get(RemoteFile => ?)

2002-03-21 Thread Elaine -HFB- Ashton
Brian Volk [[EMAIL PROTECTED]] quoth: *>Hi All, *> *>I'm trying to have perl get a file from my web hosting account. I *>searched around and found Net::FTP::Common. I get logged into my ftp *>account and can perform a "ls" but I get an error when I try to get a *>file. Here's the error: S

Re: Net::FTP fails on filenames with spaces

2002-01-19 Thread Christian Schult
Hi Joshua, * Joshua Colson <[EMAIL PROTECTED]> wrote: > Can someone help me, I need to retrieve files with spaces in them, and > Net::FTP errors out everytime. > > I've tried embedding quotes, not storing name in variable, quoting/not > quoting variables. I'm at a loss. > > I thought that may

RE: Net::FTP

2001-10-26 Thread Joshua Colson
From: Rex Arul [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 5:08 PM To: Joshua Colson Subject: Re: Net::FTP OK Josh, let us try this: Why don't you try an ordinary command-line ftp and try to give a get command for the file-name in question? This way we can isolate the problem a

RE: Net::FTP

2001-10-26 Thread Joshua Colson
No, I haven't tried that yet... I'll do that now. Thanks -Original Message- From: Rex Arul [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 5:08 PM To: Joshua Colson Subject: Re: Net::FTP OK Josh, let us try this: Why don't you try an ordinary command-line ftp

RE: Net::FTP

2001-10-26 Thread Joshua Colson
the qq($file). But give it a shot. - Original Message - From: "Joshua Colson" <[EMAIL PROTECTED]> To: "'Rex Arul'" <[EMAIL PROTECTED]> Sent: Friday, October 26, 2001 7:29 PM Subject: RE: Net::FTP > I've tried that... If I use quotemeta() it sti

RE: Net::FTP

2001-10-26 Thread Joshua Colson
I'll try it... Thanks -Original Message- From: Rex Arul [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 4:37 PM To: Joshua Colson Subject: Re: Net::FTP I might sound silly...Did you try this: if( $ftp->get( qq($file), "${directory}/${file}" ) ) {

Re: Net::FTP module

2001-09-26 Thread walter valenti
If you use Debian Linux there's tha packege .deb, and you can install with dselect. Otherwise look for in CPAN. Walter Sofia wrote: > >From where can I download the Net::FTP module? > > Thanks in advance > > __ > Do You Yahoo!? >

Re: Net::FTP module

2001-09-25 Thread GoodleafJ
http://www.cpan.org/modules/01modules.index.html Complete module list. I may be wrong (relative newbie) but I thought Net-FTP was part of the perl-5.6.1 package... If you have a Windoze system, you can use 'ppm' at the command line. Then at 'ppm> ' you can 'search Net' to see what's available or

Re: NET::FTP to retrieve files over HTTP?

2001-09-12 Thread Pete Sergeant
"Craig Paterson" <[EMAIL PROTECTED]> wrote in message 021601c13a9a$bae3f240$0925020a@avalon">news:021601c13a9a$bae3f240$0925020a@avalon... > is this possible? or is there another library > i should use? I looked at the HTTP library but > can't see how you would do it and save the file. LWP is yo

RE: Net::FTP question

2001-08-27 Thread Bob Showalter
> -Original Message- > From: Jeff A [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 27, 2001 11:47 AM > To: [EMAIL PROTECTED]; Bob Showalter > Cc: '[EMAIL PROTECTED]' > Subject: Re: Net::FTP question > > > I've actually tried that > but whe

Re: Net::FTP question

2001-08-27 Thread Jeff A
I've actually tried that but when I do dir() or ls() I get the LIST command 125 Data Connection already open; No listing appears on the screen although I know that there are files in the driectory. Jeff Bob Showalter wrote: >> -Original Message- >> From: Jeff A [mailto:[EMAIL PROTECTE

RE: Net::FTP question

2001-08-24 Thread Bob Showalter
> -Original Message- > From: Jeff A [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 23, 2001 2:48 PM > To: [EMAIL PROTECTED] > Subject: Net::FTP question > > > I need to pick up a file from an ftp server of the format > MMDD.txt. > How can I pick up the file if the file name is

Re: Net::FTP

2001-07-23 Thread Luke Bakken
> mainframe specific command (there is no method in Net::FTP that corresponds > with this command). The command I need to issue is "quote site lrecl=827 > recfm=fb blksize=27291 cylinder primary=1 secondary=1". is the mainframe expecting text in ASCII or EBCDIC encoding? >From the FTP.pm module