Thank you very much! I downloaded and installed 5.8.3 from ActiveState.
Now I am getting the ASCII mode transfer when I need to.
Regards,
Sui
-Original Message-
From: Graham Barr [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 3:56 PM
To: Sui Ming Louie
Subject: Re: Net::FTP
I have made use of the 3 frame utility you mention and
it works fine.
In the first frame (ie main.html), just define your
FRAMESET to include say a commands.html for your form
input and output.html for your script output.
You'd then need just a template for your output file
that includes the standa
On Thu, 22 Apr 2004, Sui Ming Louie wrote:
> I changed debug from 0 to 1 and got the following (unabridged) output:
>
> Net::FTP: Net::FTP(2.65)
> Net::FTP: Exporter(5.566)
> Net::FTP: Net::Cmd(2.21)
> Net::FTP: IO::Socket::INET(1.26)
> Net::FTP: IO::Socket(1.27)
> Net::FTP: IO::Ha
it's just one utility for my bos to make ping using http service (intranet).
i am thinking this:
a html page whith 3 frames.
where one frame has the form to input
the $host variable and starts the script
the second frame has this tag on the HEAD
my_ping_script.pl in the while function
write m
Have you tried tying the listbox to an array and filling the array?
my @lbarray ;
tie @lbarray, "Tk::Listbox", $listbox_widget ;
I use this and it works reasonably well. I use the same listbox to display to
two arrays, say @a and @b by simply setting @lbarray to either as desired.
if($desired
[EMAIL PROTECTED] wrote:
>
> Or WordPad
Not hardly. Avoid any M$ editors - they don't cut it.
--
,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED]
(_/ / )// // DBE CollectiblesMailto:[EMAIL PROTECTED]
/ ) /--< o // // Castle of Medieval Myth & Ma
Or WordPad
"Bharucha, Nikhil" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
04/22/2004 13:02
To: "Arms, Mike" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
cc:
Subject: RE: ASCII Mode for Net::FTP
Or TextPad.
-Original Message
I'm up against the clock here and shamelessly looking
to avoid reinventing the wheel, guessing that someone
out there already has something like this working...
The task is to search registry on a remote machine for
keys containing two strings, and replace one of them
with a different string.
TIA
Or TextPad.
-Original Message-
From: Arms, Mike [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 1:39 PM
To: [EMAIL PROTECTED]
Subject: RE: ASCII Mode for Net::FTP
$Bill Luebkert [EMAIL PROTECTED] wrote:
> Sui Ming Louie wrote:
>> Notepad does not like editing (Unix) text files.
$Bill Luebkert [EMAIL PROTECTED] wrote:
> Sui Ming Louie wrote:
>> Notepad does not like editing (Unix) text files.
>
> Nobody in their right mind would use notepad for editing. :)
> Get a hold of gvim or a native Win32 emacs for your editing.
Bill wrote the above line with a smiley, but I'll mo
Ctrl-c will kill the job, or you can put in a counter to terminate the
job after an interval has expired. In whatever program you were going to
set this up in, what would your indicator to stop the job be?
-Original Message-
From: yop = me [mailto:[EMAIL PROTECTED]
Sent: Thursday,
thanks ... but in this code i can't stop the ping command.
the line close(TPN); #this line it will never happen
- Original Message -
From: "Jones Robert Civ TTMS Keesler" <[EMAIL PROTECTED]>
To: "active perl" <[EMAIL PROTECTED]>
Sent: Thursday, April 22, 2004 1:02 PM
Subject: RE: ping $h
Not sure but see if Windows has the standard UNIX dos2unix and unix2dos
utilities. If so, can you pipe your files through there before hand?
Steve
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sui
Ming Louie
Sent: Thursday, April 22, 2004 11:26 AM
To:
$Bill,
1) True. Most of the time, I prefer binary mode, which is safest.
2) I am not get the LF to CRLF translation. Yes, I am downloading from
Unix to Windoze.
3) I tried the cmdline ftp and ascii mode. This gives me the proper LF to
CRLF translation.
Sui
-Original Message-
Fro
Sui Ming Louie wrote:
> Thank you, $Bill. However, I tried your suggestion and my files are still
> in Unix format. Is there a way to rectify this besides sending the files
> through a filter to translate the 0Ah to 0Dh,0Ah.
>
> while (<>) {
> chomp;
> print "$_\n";
>
Thank you, $Bill. However, I tried your suggestion and my files are still
in Unix format. Is there a way to rectify this besides sending the files
through a filter to translate the 0Ah to 0Dh,0Ah.
while (<>) {
chomp;
print "$_\n";
} # while
Sui
-Origina
Sui Ming Louie wrote:
> According to perldoc Net::FTP, the method $ftp->ascii has arguments. I
> tried putting a 1 as the argument. It appears the files that are still
> being transferred in binary mode. I am running Windoze XP and Perl
> v5.8.0 build 804. The options I am using are
>
>
>
According to perldoc Net::FTP, the method $ftp->ascii has
arguments. I tried putting a 1 as the argument. It appears the
files that are still being transferred in binary mode. I am running Windoze
XP and Perl v5.8.0 build 804. The options I am using are
–aIPADDR
-uusername
-ppass
18 matches
Mail list logo