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 :)

> Actually at first I did the cwd and just used the file name only but
> while experiementing and trying to figure out
> What I was doing wrong I removed the cwd and just made the filename
> variable like 'public_html/file.html' instead
> Of cwd then file.html and it works like a monkey, so it is more
> clever than you thought!

Must be! Its good to know though, thanks.

> Although if it may not be portable I'll stick to using cwd.

It should be portable if you want to eliminate cwd. The only
parameters should be the Perl module and FTP itself, which
is pretty standard.

Cheers,

Rob




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to