in reply to Problems getting FTP file size

my $dest_file ||= $source_file;
This is nonsense, but that's just a side note.

Perhaps your problem is latency? Try a
sleep 5;
or so before the size test.

Replies are listed 'Best First'.
Re: Re: Problems getting FTP file size
by nsyed (Novice) on Oct 22, 2003 at 19:58 UTC
    Thanks for the "nonsense" note and the other advice. But keep in mind I started coding in perl only two weeks ago.
      Thanks for the "nonsense" note and the other advice. But keep in mind I started coding in perl only two weeks ago.
      I believe nonsense does not depend on programming language. You're declaring a variable and initializing it at the same, but checking to see that it doesn't already have a value. How can it already have a value if it hasn't been declared before?