For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > February 2005 > How to force overwrite when using get() in Net::FTP?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to force overwrite when using get() in Net::FTP?
ai2003lian@yahoo.com

2005-02-08, 8:56 pm

When using get() in Net::FTP, if a file with the same name exists, the
user will be prompted to answer whether to replace the existing file.
Is there a way to force overwrite and do a quiet get?

Thanks in advance.

Sisyphus

2005-02-08, 8:56 pm

ai2003lian@yahoo.com wrote:
> When using get() in Net::FTP, if a file with the same name exists, the
> user will be prompted to answer whether to replace the existing file.
> Is there a way to force overwrite and do a quiet get?


Normally Net::FTP does a "force overwrite". I can't see anything in the
Net::FTP documentation detailing how to alter that behaviour.

Could it be that your operating system is interfering ?

Cheers,
Rob

--
To reply by email u have to take out the u in kalinaubears.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com