ftp from MacOS 9 to OS X

yogi

Registered
I am wondering: would it be possible, to use Mac OS X as a ftp server for an ftp program running under OS 9 (or OS X, for all that matters) ON THE SAME MACHINE, without network connection?
The purpose is this: I am writing Perl CGIs, and BBEdit has a wonderful function that does a Syntax check via MacPerl and a testr un of the program, all with one press of a button. Ingenious though, as this is, but MacPerl will only read Mac-newlines (\n, I think) and so you have to save all the files in Mac Format. But if you want to run your libraries off Apache Server under OS X, they have to have Unix-newlines (\r, or the other way round, I never remember) and, if you happen to include loads of modules, as I do, the MacPerl syntax check will produce an error every time it is trying to include a module that is not Mac-newlined. This might be easy to handle, if you have two CGIs and three modules -just reformat them before copying them to OS X's cgi-bin- but I am currently around 40 CGIs with 60 libraries and still counting, so this would be somewhat inconvenient, if all I wanted is to debug a line of code...
So, since on ftp transfer all newlines are correctly set to the format of the receiving system, a very elegant solution would be, to ftp the Mac-newlined CGIs locally into OS X's cgi-bin. No problem, if I do this via Ethernet, but so far I have been out of luck if I tried, with the same IP-addresses, w/out. Just got the message "server is too busy". And, since trains and planes and just about every other place I would like to sit down & work with my Powerbook does NOT have an Ethernet-hub, much less a working internet connection, it would be REALLY convenient to not have to use the internet as an intermediate (apart from the fact that, since I am on the internet via cable, opening my firewall for 127.0.0.1 also would open it for the local server; there are ways around it, but it is getting complicated...).
Any ideas?
 
Back
Top