Re: FTP files from one remote server to another

2012-04-20 Thread Matthew K
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 either PGP

Re: FTP and LS or DIR

2010-01-07 Thread John W. Krahn
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 Hat

Re: FTP and LS or DIR

2010-01-07 Thread Uri Guttman
> "JT" == Jag Thripp writes: JT> Hello first question, maybe one of many! it helps if you actually ASK a question. you explain your goal, show some code but say nothing about what isn't working or what errors you get or ask a question. JT> Code running on a windows machine connecting to

Re: FTP server

2008-03-08 Thread ken Foskey
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 able to set a different set

Re: FTP server

2008-03-07 Thread Francisco Valladolid
Hi. http://vsftpd.beasts.org/ if you are paranoic then try using the OpenSSH suite, by setting a sftp server, or via scp, chrotting ssh., if not then vsftpd, pureftpd, can resolv this question. Regards. On Fri, Mar 7, 2008 at 12:15 PM, Thomas Bätzler <[EMAIL PROTECTED]> wrote: > Octavian Ras

Re: FTP server

2008-03-07 Thread Michael Iatrou
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) to have SSL sup

RE: FTP server

2008-03-06 Thread Thomas Bätzler
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 SSL support. I'm not sure

RE: FTP server

2008-03-06 Thread Bob McConnell
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 possible? Th

Re: FTP server

2008-03-06 Thread Octavian Rasnita
From: "Bob McConnell" <[EMAIL PROTECTED]> Looking at a live FC5 system, it has an SFTP server available. You have to enable it by removing the comment tags in /etc/service. Bob McConnell Thank you. I have it already installed and active, but I thought it is just a way of transfering the files

RE: FTP server

2008-03-06 Thread Bob McConnell
-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

Re: FTP server

2008-03-06 Thread Octavian Rasnita
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 offer the asked feat

RE: FTP server

2008-03-06 Thread Bob McConnell
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 -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED] Sent: Thursday, March

Re: FTP file handle question

2007-12-27 Thread John W. Krahn
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 name or a f

RE: :FTP troubles with passive

2007-11-20 Thread RICHARD FERNANDEZ
> -Original Message- > From: Andrew Curry [mailto:[EMAIL PROTECTED] > > Passive - If set to a non-zero value then all data transfers > will be done using passive mode. If set to zero then data > transfers will be done using active mode. Sheesh. I must've read that line 50 times but

RE: :FTP troubles with passive

2007-11-20 Thread Andrew Curry
Passive - If set to a non-zero value then all data transfers will be done using passive mode. If set to zero then data transfers will be done using active mode. -Original Message- From: RICHARD FERNANDEZ [mailto:[EMAIL PROTECTED] Sent: 20 November 2007 15:25 To: beginners@perl.org Subject

Re: ftp in ascii mode

2007-10-20 Thread Matthew Whipple
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. > > Correction: They _should_ be ide

Re: ftp in ascii mode

2007-10-19 Thread Gunnar Hjalmarsson
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 tell wha

Re: ftp in ascii mode

2007-10-19 Thread Gunnar Hjalmarsson
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 when I try to get bac

Re: Ftp to GDG dataset

2007-10-11 Thread Ken Foskey
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 action not taken: GDG name conversion failed" > > > > > >

Re: Ftp to GDG dataset

2007-10-11 Thread Matthew Whipple
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 files to GDG dataset on

Re: Ftp to GDG dataset

2007-10-11 Thread Chas. Owens
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 legal on the > mainframe. Though the message looks a

Re: Ftp to GDG dataset

2007-10-11 Thread Jenda Krynicky
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 File::Copy cp; > use Net::FTP; > > $ftp-

RE: FTP to IBM ZOS/390

2007-06-15 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Chas Owens [mailto:[EMAIL PROTECTED] > Sent: Friday, June 15, 2007 16:50 > To: Wagner, David --- Senior Programmer Analyst --- WGO > Cc: beginners@perl.org > Subject: Re: FTP to IBM ZOS/390 > > On 6/15/07, Wagner, David --- Senior Pr

Re: FTP to IBM ZOS/390

2007-06-15 Thread Chas Owens
On 6/15/07, Wagner, David --- Senior Programmer Analyst --- WGO <[EMAIL PROTECTED]> wrote: Has anyone done any FTP'ing to IBM ZOS/390 machine. As you can see in the output there was a timeout due to waiting for a file to recalled from tape to disk. snip My only suggestion is to increas

RE: :ftp with retry & Big brother notifications from applications

2006-05-15 Thread Timothy Johnson
>){ print OUTFILE $recv; #print $recv; } } ############ -Original Message- From: Timothy Johnson Sent: Monday, May 15, 2006 5:20 PM To: Ken Foskey; beginners@perl.org Subject: RE: :ftp with retry & Big brother notifications from applicatio

RE: :ftp with retry & Big brother notifications from applications

2006-05-15 Thread Timothy Johnson
I had to deal with some of this when I recently wrote a BB agent to Nagios translator in Perl. You should be able to send the information you want directly to BB using the IO::Socket module, connecting to port 1984( or whatever custom port) on your BB server and sending a status message. Big B

RE: :FTP

2006-01-25 Thread Wagner, David --- Senior Programmer Analyst --- WGO
DiGregorio, Dave wrote: > 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 > It is part of the std Perl load and is Net::FTP not NET::FTP. Wags

Re: :FTP works someplaces

2005-06-18 Thread Robert Citek
On Jun 17, 2005, at 2:11 AM, Thomas Bätzler wrote: Robert Citek <[EMAIL PROTECTED]> Anyone have any ideas why code using Net::FTP on one machine won't work on another? However, the most common cause of problems with Net::FTP is not a Perl but a networking problem - namely firewalls and NAT ga

RE: :FTP works someplaces

2005-06-17 Thread Scott Brodsky
What is the best way to perform error checking on the below ftp code? Adding a $newerr=1 in replacement of the 'die' statement and then a final catchall to check if $newerr==1? If that is the best way, how do you capture/display the error message? Instead of 'or die' can you do 'or somefunction()

RE: :FTP works someplaces

2005-06-17 Thread Thomas Bätzler
Robert Citek <[EMAIL PROTECTED]> > Anyone have any ideas why code using Net::FTP on one machine > won't work on another? If both machines are on the same network segment trying to connect against the same server, no. However, the most common cause of problems with Net::FTP is not a Perl but a ne

RE: :FTP problems

2005-02-24 Thread Bob Showalter
John wrote: > 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? /etc/protocols doesn't exist in your chroot environment? -- To unsubscribe, e-mail: [EMAIL PROTECTE

Re: FTP automatic

2004-12-03 Thread JupiterHost.Net
[EMAIL PROTECTED] wrote: HI! Hello, I need to do something to automatize one process. When a file in directory reach 1 GB I need transfer file for other machine (ftp). You can use stat() to get the size: perldoc -f stat and check it. If its 1GB then you can use Net::FTP (search.cpan.org) to r

RE: FTP automatic

2004-12-03 Thread Bob Showalter
Bob Showalter wrote: > To send the file an FTP server, use the Net::FTP module from CPAN. To send the file *to* an FTP server... Sheesh, and English *is* my first language! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <

RE: FTP automatic

2004-12-03 Thread Bob Showalter
[EMAIL PROTECTED] wrote: > HI! > I need to do something to automatize one process. OK, what platform? Unix-ish, Windows, or other? > When a file in directory reach 1 GB I need transfer file for other > machine (ftp). You can write a Perl program to do this. The program can run continually an

RE: FTP automatic

2004-12-03 Thread Chris Devers
On Fri, 3 Dec 2004 [EMAIL PROTECTED] wrote: > Why? Is it hard? Tinkering with the speed of light? Yeah, a bit hard. What are you hoping to accomplish? Do you want to speed up the transfer? The only real way to do that is to widen the data pipe between the two computers. If they're on the sam

RE: FTP automatic

2004-12-03 Thread Bob Showalter
Adamiec, Larry wrote: > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > I'm waiting for solutions. > > You are going to be waiting for a very long time. English is probably not the OP's first language. I wouldn't assume he's being rude or presumptuous (yet :

RE: FTP automatic

2004-12-03 Thread perl_cova
Why? Is it hard?

RE: FTP automatic

2004-12-03 Thread Adamiec, Larry
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, December 03, 2004 13:36 > To: [EMAIL PROTECTED] > Subject: FTP automatic > > > HI! > I need to do something to automatize one process. > When a file in directory reach 1 GB I need transfer file

Re: ftp script

2004-12-02 Thread John W. Krahn
Lawrence Statton wrote: # # open a connection to some host (I need passive mode here # to get around my firewall, you may not, which case you # can leave it out ) # my $ftp = Net::FTP->new('your-host.com', Passive => 1) || die "Cannot connect to host: $@"; warn"Connection made"; That stateme

Re: ftp script

2004-12-02 Thread Lawrence Statton
> --0-1181151836-1101950943=:60409 > Content-Type: text/plain; charset=us-ascii > > > I'm very new to perl, can any share an example ftp script? I need to > ftp from one server directory to another server to a > directory > first, read the following: perldoc Net::FTP #!/usr/bin/perl use st

Re: ftp script

2004-12-01 Thread JupiterHost.Net
Carl Johnson wrote: I'm very new to perl, can any share an example ftp script? I need to ftp from one server directory to another server to a directory I think Net::FTP has some examples, see search.cpan.org :) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: ftp w/o using Net::FTP

2004-10-28 Thread Thomas Bätzler
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

Re: FTP Errors?

2004-02-20 Thread Jas
That worked like a charm. Thanks again... Wiggins D Anconia wrote: Hi Jas. Jas wrote: [snip] $ftp->put(`../path/to/*-www.tar.gz`) or die "Could not transfer files ", $ftp->message; .. backticks in two statements! $ftp->quit; Error... Net::FTP>>> Net::FTP(2.71) Net::FTP>>> Exporter(5.566)

Re: FTP Errors?

2004-02-19 Thread Rob Dixon
Wiggins D Anconia wrote: > > Rob wrote: > > > > The backticks are your problem: they will make Perl shell out to execute > > the string as a command. The 'sh: line1:' in your error message is the > > clue. Presumably you don't have execute permission for > > '../path/to/02192004-www.tar.gz'? > > >

Re: FTP Errors?

2004-02-19 Thread Wiggins d Anconia
> Hi Jas. > > Jas wrote: > > [snip] > > > $ftp->put(`../path/to/*-www.tar.gz`) > > or die "Could not transfer files ", $ftp->message; > > .. backticks in two statements! > > > $ftp->quit; > > > > Error... > > Net::FTP>>> Net::FTP(2.71) > > Net::FTP>>> Exporter(5.566) > > Net::FTP>>> Net::Cm

Re: FTP Errors?

2004-02-19 Thread Wiggins d Anconia
> Hi Jas. > > Jas wrote: > > [snip] > > > $ftp->put(`../path/to/*-www.tar.gz`) > > or die "Could not transfer files ", $ftp->message; > > .. backticks in two statements! > > > $ftp->quit; > > > > Error... > > Net::FTP>>> Net::FTP(2.71) > > Net::FTP>>> Exporter(5.566) > > Net::FTP>>> Net::Cm

Re: FTP Errors?

2004-02-19 Thread Rob Dixon
Hi Jas. Jas wrote: > > Still new to using Perl, any help with this is appreciated. > > Code... > #!/usr/bin/perl > # Backup 192.168.0.1 web directory > # to 192.168.0.2 via FTP > > # Begin remote transfer of file to ODIN for storage # > use Net::FTP; > $ftp = Net::FTP->new("192.168.0.2", Debug =>

Re: ftp file list filters?

2003-10-23 Thread Wiggins d Anconia
> Im trying to write a script the ftp's a bunch of files from different locations. I only want to grab files that are of specific file type and whose name begins with a certain combination of characters. Can I filter it at the listing side in other words do something like dir abc*.gif and go thro

RE: FTP Daemon...

2003-09-04 Thread simran
Hi, I am actually indeed looking to build on an already existing perl module... i had a look at: * Net::FTPServer which seems pretty extensive, but from an initial view of the docs, did not give me the ability to easily override the authentication mechnism and use my own database for us

RE: FTP Daemon...

2003-09-04 Thread Paul Kraus
Maybe I am misreading this but are you asking if anyone has written an ftp server in perl? Why not just use one of the many free open source ftp servers already out there? Paul Kraus -Original Message- From: simran [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 7:53 PM To:

RE: :FTP question

2003-08-07 Thread Dan Muey
> 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 argument would I use, if any to do this? > Change the record size? What do you mean by record? Do you mean only ftp xx amount of bytes of a file to the ftp site or -- To un

Re: FTP Login/commands

2003-07-29 Thread Michael Muratet
On Tue, 29 Jul 2003 12:02:07 -0400 "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I am trying to modify a script to automatically login to an FTP server > and LCD to a path and then CD to the path where the files are, then to > download the files. > > I wrote this in DOS about 6 months ago and

Re: FTP Login/commands

2003-07-29 Thread Rob Dixon
[EMAIL PROTECTED] wrote: > I am trying to modify a script to > automatically login to an FTP server use Net::FTP; my $ftp = Net::FTP->new('ftp.server.domain.com'); $ftp->login('username', 'password'); > and LCD to a path This is nothing to do with FTP: you just need to change your local wor

RE: FTP to copy a file

2003-07-16 Thread Dan Muey
> > On Wed, 16 Jul 2003 16:49:40 -0500, [EMAIL PROTECTED] wrote: > > > > > > > On Wed, 16 Jul 2003 15:58:39 -0500, "Dan Muey" > <[EMAIL PROTECTED]> > > wrote: > > > > > > > > Howdy all, > > > >

RE: FTP to copy a file

2003-07-16 Thread wiggins
On Wed, 16 Jul 2003 15:58:39 -0500, "Dan Muey" <[EMAIL PROTECTED]> wrote: > > Howdy all, > > I've confirmed that my test script is choking on retr() > > I've confirmed that the file exists > > my $guts; > my $size = $ftp->size($file) > if(defin

RE: FTP to copy a file

2003-07-16 Thread Dan Muey
Howdy all, I've confirmed that my test script is choking on retr() I've confirmed that the file exists my $guts; my $size = $ftp->size($file) if(defined $size) { my $retr = $ftp->retr($file); $retr->read($guts, $size); $retr->close(); $r .= "I am done trying to g

RE: FTP to copy a file

2003-07-16 Thread Dan Muey
> Hi Dan, > Howdy > I was trying to figure something like this a few months ago. > Needed to move a file to sub directory in the FTP server. All > in Net::FTP. > > Decided it wasn't worth figuring out. Instead I retrieved the > file locally, deleted the file on the server, cwd to the > pro

RE: FTP to copy a file

2003-07-16 Thread Levon Barker
Hi Dan, I was trying to figure something like this a few months ago. Needed to move a file to sub directory in the FTP server. All in Net::FTP. Decided it wasn't worth figuring out. Instead I retrieved the file locally, deleted the file on the server, cwd to the proper directory and then put it

RE: FTP to copy a file

2003-07-16 Thread Dan Muey
> Howdy group, > > Any body have any suggestions on the best way to copy a file > with Net::FTP? > > I don't want to simply rename() a file as I want to keep the > existing one and create a new file that is the same. > > I know how to use stor() to use content in variables: > > my $stor = $

RE: :FTP stor

2003-02-10 Thread Dan Muey
> > Dan Muey wrote: > > > > The print way worked for me also now that I did $|=1; and > piped STDERR > > to STOUT and also the $ftp debug to 1, to find my probs, thanks. > > You shouldn't need autoflush on, as the close should flush > all your data for you. If you do need it, then: > >

Re: :FTP stor

2003-02-10 Thread Rob Dixon
Dan Muey wrote: > > The print way worked for me also now that I did $|=1; and piped > STDERR to STOUT and also the $ftp debug to 1, > to find my probs, thanks. You shouldn't need autoflush on, as the close should flush all your data for you. If you do need it, then: autoflush $stor; is nicer

RE: :FTP stor

2003-02-10 Thread Dan Muey
> > Dan Muey wrote: > > To answer my own questions : > >> > >> > >> 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

Re: :FTP stor

2003-02-10 Thread Rob Dixon
Dan Muey wrote: > To answer my own questions : >> >> >> 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 fal

RE: :FTP stor

2003-02-10 Thread Dan Muey
To answer my own questions : > > > 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, retu

Re: ftp: error Bad file descriptor

2003-01-11 Thread Wiggins d'Anconia
What does $file and $rename contain? http://danconia.org michael kramer wrote: For some reason when I use NET:FTP's get. I will get an error of "Bad file descriptor". What does this mean. Here is my code. use Net::FTP; $ftp = Net::FTP ->new("$ip_address", Timeout =>

RE: :FTP library question

2002-06-07 Thread Timothy Johnson
It would REALLY help if you posted some code. I've used Net::FTP for a few things, and I haven't noticed this behavior, but that doesn't necessarily mean anything... -Original Message- From: Torres, Jose [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 2:39 PM To: '[EMAIL PROTECTE

Re: ftp

2002-05-23 Thread David T-G
Stephen, et al -- ...and then Sudarsan Raghavan said... % % [EMAIL PROTECTED] wrote: % % > Hi Hello! % > % > Does any one know how to ftp a file using a perl script? are there modules % > etc that can be used? % % perldoc Net::FTP Or, if that fails because your system doesn't have the modu

Re: ftp

2002-05-23 Thread Sudarsan Raghavan
[EMAIL PROTECTED] wrote: > Hi > > Does any one know how to ftp a file using a perl script? are there modules > etc that can be used? perldoc Net::FTP > > > Thanks > > Stephen Redding > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: :FTP question

2002-05-15 Thread Timothy Johnson
orres, Jose To: 'Timothy Johnson' Sent: 5/15/02 8:49 AM Subject: RE: :FTP question That will definitely work, but I was wondering if there was a method or something in Perl that would allow you to copy an entire directory at a time. Any ideas? -Original Message- From: Timothy

RE: :FTP question

2002-05-15 Thread Timothy Johnson
Just use Net::FTP to get a list of the files in the directory and store them in an array, and then you can loop through it and get each file. -Original Message- From: Torres, Jose To: '[EMAIL PROTECTED]' Sent: 5/15/02 8:36 AM Subject: Net::FTP question Can the get function in Net::FTP

RE: ftp

2002-04-03 Thread Michael Gargiullo
The file is huge... timing out on your machine maybe? I made 2 little modifications and it ran. #!/usr/bin/perl -w use LWP::Simple; my $x = get("ftp://144.16.71.2/pub/pdb/pdb1ax0.ent";); # Combined the my and the get if ($x eq "") { print "FTP not working"; } print "$x"; #Quoted the Var Work

Re: ftp module

2002-02-28 Thread Elaine -HFB- Ashton
Wagner-David [[EMAIL PROTECTED]] quoth: *> I believe it is part of the libnet, but usually comes as part of the base Perl install. If wrong the Perl gurus will let us know. libnet is not part of the core perl package and will not be until perl 5.8.0 http://search.cpan.org/search?dist=libn

RE: ftp module

2002-02-28 Thread Wagner-David
I believe it is part of the libnet, but usually comes as part of the base Perl install. If wrong the Perl gurus will let us know. Wags ;) -Original Message- From: Lyon, Justin [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 12:09 To: '[EMAIL PROTECTED]' Subject: ftp

Re: FTP

2002-01-10 Thread Casey West
On Thu, Jan 10, 2002 at 04:09:40PM -0500, Chaarani, Sana wrote: : :Hi , : :I have the following error when trying to run a PERL script ( that i didn't :write ) : : : :Can't locate Net/FTP.pm in @INC (@INC contains: :/opt/perl5/lib/5.6.1/PA-RISC1.1 /opt/perl5/lib/5.6.1 :/opt/perl5/lib/site_perl/5.6

RE: :FTP

2001-12-28 Thread Hanson, Robert
I'm not sure how much you understand about Net::FTP, and there wasn't a code sample, so I can only give a general idea of what I would do. my @sites = ('ftp.site1.com', 'ftp.site2.com'); foreach my $site ( @sites ) { doFtpStuff($site) and last; } You would need to write the doFtpStuff s

Re: :FTP

2001-12-17 Thread Mike
THANKS! John Edwards wrote: > Take a look at the Net::FTP docs. There's a function in the module called > mdtm which returns the modified timestamp of the remote file. Query that, > then download if it matches your criteria. > > HTH > > John > > -Original Message- > From: Mike [mailto:[E

RE: :FTP

2001-12-17 Thread John Edwards
Take a look at the Net::FTP docs. There's a function in the module called mdtm which returns the modified timestamp of the remote file. Query that, then download if it matches your criteria. HTH John -Original Message- From: Mike [mailto:[EMAIL PROTECTED]] Sent: 17 December 2001 13:39 T

RE: :FTP module

2001-09-25 Thread Daniel Falkenberg
Sofia, Try... http://search.cpan.org HIH, Daniel Falkenberg >From where can I download the Net::FTP module? Thanks in advance __ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com --

Re: FTP and MD5

2001-08-20 Thread Michael Fowler
On Mon, Aug 20, 2001 at 03:34:35AM -0700, John Sands wrote: > My question was, how do I change the Perl code to do the same thing? But > your comments tell me that I really don't understand what's happening or > how the authorization is supposed to work. Thanks. I would suggest finding the Serv-U

Re: FTP and MD5

2001-08-20 Thread John Sands
Thanks for your comments, Michael. I don't know how this works (obviously). Let me back up and explain what I'm doing. I have a web site hosted on a machine at my company and the sysadmins did not want to let me use the Microsoft FTP server because it sent passwords in plaintext, so they installe

Re: FTP and MD5

2001-08-19 Thread Michael Fowler
On Fri, Aug 17, 2001 at 05:11:21PM -0700, John Sands wrote: > The FTP Server has been changed to use MD5 encryption I don't understand how this is relevant. Wven if the FTP server supports hashing passwords using MD5 you should still need to send the password in plaintext over the network. The

RE: ftp login

2001-08-03 Thread Sparkle Williams
line 5. There you go. It's driving me crazy because I just can't seem to see what's wrong. Help! Thanks, Sparkle >From: Bob Showalter <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: RE: ftp login >Date: Fri, 3 Aug 2001 10:52:11 -0400 > > &

RE: ftp login

2001-08-03 Thread John Edwards
Here's an example script from the Net::FTP docs use Net::FTP; $ftp = Net::FTP->new("some.host.name"); $ftp->login("anonymous","[EMAIL PROTECTED]"); $ftp->cwd("/pub"); $ftp->get("that.file"); $ftp->quit; HTH John -Original Message- From: Sparkle Williams [mailto:[EMAIL PROTECTED]]

RE: ftp login

2001-08-03 Thread John Edwards
have you got use Net::FTP; at the top of your script?? John -Original Message- From: Sparkle Williams [mailto:[EMAIL PROTECTED]] Sent: 03 August 2001 14:54 To: [EMAIL PROTECTED] Subject: ftp login I'm trying to get my program to retrieve a file through ftp. However I keep getting th

Re: FTP perl script

2001-07-10 Thread Peter Scott
At 06:14 PM 7/10/01 +0200, Jean-Pascal Dezalay wrote: >I wrote a perl script to make a FTP connection to a remote machine like this > ># >#!/usr/local/bin/perl >open (FTP, " | ftp -v -n remote.comp.fr"); >print FTP, "user username pas

Re: ftp

2001-05-19 Thread Matt Cauthorn
I've got Net::ftp on my win2k machine, and have used it many many times without issue. I recall just grabbing the Bundle::LWP ppm and it did the rest. I'm certain that this module should install into active state perl without grief. Good luck. http://aspn.activestate.com/ASPN/Products/ActivePerl/

Re: ftp

2001-05-18 Thread Tony Cook
On Fri, 18 May 2001, kosta gruzdnev wrote: > Thank all the perl gurus answering our naive novices' questions. > > ok, now the problem is: > > I try to install Net::FTP in WinNT. ppm says there is no such PPD > file. That's ok, I don't object. As far as I can see, I cannot > influence it. Or can

Re: ftp

2001-05-18 Thread Jos Boumans
if you use the activestate perl build, you can use hteir package manager, called 'ppm' www.activestate.com for more info =) Kind Regards Jos Boumans kosta gruzdnev wrote: > Thank all the perl gurus answering our naive novices' questions. > > ok, now the problem is: > > I try to install Net::F

Re: FTP package

2001-05-02 Thread Matt Cauthorn
I may be wrong, but it looks like machine 2 doesn't have the Net::FTP module installed. Try this to see if it is: perldoc Net::Ftp If it's installed, you'll see some text pop up straight away. As for machine one, I'm not too sure. I'm sure someone on the list can help! ~Matt C. --- [EMAIL P

Re: FTP package

2001-05-02 Thread Sean O'Leary
At 07:07 AM 5/2/2001, you wrote: >I've written a script to FTP files. I've included the Net::FTP package but >when I run the script in 2 different machines, I get these 2 error messages: > >machine 1 >Can't locate object method "new" via package "Net::FTP::A" at >/usr/local/lib/per >l5/5.00503/Net

RE: :FTP problem (maybe)

2001-04-19 Thread Ask Bjoern Hansen
On Fri, 20 Apr 2001, King, Jason wrote: > my $scan = Net::FTP->new( 'localhost', Debug => 0); actually, using Debug => 1 instead of => 0 will often reveal what the problem is when Net::FTP doesn't seem to do what you want. - ask -- ask bjoern hansen, http://ask.netcetera.dk/ !try; do();

RE: :FTP problem (maybe)

2001-04-19 Thread King, Jason
Marian writes .. >I am writing script, that can connect to the FTP server and list >complete directory structure. But there is problem I suppose. Assume >next structure: > >AAA > |_ AAA.1 > |_ AAA.2 > |_ AAA.3 > |_ AAA.3.1 > |_ aaa.txt > ... > >But when I list it with dir(), i