Re: [[email protected]: Re: [MacPerl-Porters] default type/creator]

[email protected] (Graham Barr)
Newsgroups perl.macperl.porters
Message-ID <[email protected]>
On Tue, Oct 30, 2001 at 04:49:34PM +0200, Jarkko Hietaniemi wrote:
> As to Bart's comments, I think a Net::FTP::Mac wouldn't be a bad idea.  I
> don't think it would be great to automatically switch to it, necessarily,
> at least not without an easy way for the user to opt out of it, because I
> might decide that everything should be transferred as binary, and I don't
> want to have to call $ftp->binary before every file etc.  So my vote would
> be for a Net::FTP::Mac which has to be called explicitly, or a way to pass
> an argument to the Net::FTP->new constructor to specify NOT using
> Net::FTP::Mac (or any platform-specific extensions).  You get the idea.
> 
> Certainly, it is something to take up with Graham, if he has the time to
> discuss it, since he has probably talked to others about it for Windows ...

I am coming in late on this, thanks to Jarkko for forwarding this to me.

You do not have to do $ftp->binary before every file transfer, once is
enough and every file after it will be in binary. Likewise
for $ftp->ascii.

But Currently Net::FTP does not make any guesses about how to transfer
files, it does what it is told. And I would prefer to keep it that way.

Graham.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.