RE: error message with net::FTP



-----Original Message-----
From: Owen [mailto:rcook@xxxxxxxxxxx]
Sent: 29 July 2005 00:07
To: beginners@xxxxxxxx
Subject: Re: error message with net::FTP

On Thu, 28 Jul 2005 10:17:35 -0400
"Laurent Coudeur" <Laurent_Coudeur@xxxxxxxxxxxxxx> 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 loops and list subdirectories
> I can connect and list files but as I try to ls into final
> sub-directory it hangs I get into the directory but cannot list
>
> foreach (@list){
> $ftp->cwd();
> $ftp->cwd("$_");
> my @filelist=$ftp->ls($_) or print LOG "cannot get in project
> folder $_";


I wonder if your $_ is being clobbered, what happens if you try

foreach my $item(@list){
and replace all instances of $_ with $item




Thanks Owen I did that but it still does the same
I have copied the script on a linux box Here (using windows most of the
time)
The script is actually fine (I added your suggestion to be safe but same
problems still occur).
It times out only in windows and only in blank directories. In linux I
get the or message in logs

Does anybody knows of a workaround short of adding a blank file in all
directories?

I have to run this on a windows box (unfortunatly)

Laurent

.



Relevant Pages

  • Linux authenticating on AD via Kerberos
    ... I'm trying to configure a Red Hat AS 4 to authenticate via Kerberos on my ... Windows 2003 Active Diretory ... the users are going to be created on the Linux ... Do you have any idea about the problem that can cause this error message to ...
    (RedHat)
  • Re: Error in script of Internet Explorer
    ... Uncheck the box to Display a notification about every script error. ... Windows Script 5.6 for Windows 2000 and XP ... Error Message When You Browse the Web: An Error Has Occurred in the Script ... Please reply to the newsgroup so others may benefit. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • RE: run a python script located on linux from a windows computer
    ... | Subject: RE: run a python script located on linux from a windows ... | ok i have a linux box running a 'Camera-Server'. ... So i want to launch then from the windows box. ... anti-virus service working around the clock, around the globe, visit: ...
    (comp.lang.python)
  • RE: Cant open emails in hotmail,I click but,nothing happens,javas
    ... script error message at the bottom left hand corner. ... I am also using Windows XP, and this problem is happening on both my laptop ... After I unchecked the three options (about Script Debugging and 3rd party ... regsvr32 SOFTPUB.DLL ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: Linux authenticating on AD via Kerberos
    ... I would also check your timezones (and daylight savings on the Windows side). ... the users are going to be created on the Linux ... search for the password at the Active Directory ... Do you have any idea about the problem that can cause this error message to ...
    (RedHat)