[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] rcp using MacPerl?



Here's the problem: my ISP (an otherwise very good service provider) disables spaces and other special characters when uploading files via ftp. They claim it's for security and that most other places do it as well; my experience has been otherwise (they're the first out of more ISPs than I care to count). But that's irrelevant because I'm not switching and they're not changing :*)

I need to have spaces and other special characters in my filenames; I have hundreds of files and simply let Apache do the listing of directories, and I want them to be in human-readable form.

I know that rcp to their system allows full filenaming. On Unix, of course, I'd just call rcp. Has anyone implemented rcp for MacPerl?

Is there another (perl or otherwise) solution that I'm overlooking?

What I'd like to do is just create an app that I can drag files onto and have them copied to the web server. Everything's a snap except for the actual transfer. I haven't been able to find an rcp implementation for Perl, probably because it makes no sense to create one on Unix perl when you can just call rcp...

Some of the other wild solutions I've discarded are making it a drag-and-drop *e-mail* perl app, encoding the destination of the file as a header, and then using procmail to put it in the right place. Or, having the perl app ftp over the file after encoding the special characters, and dropping another file into a special location that lists the files that need to be copied and where they need to go. Both seem overly complicated :*)

Jerry

jerry@acusd.edu                                           http://www.acusd.edu/~jerry/
"It's too bad we don't have a can to listen to to get back to San Diego," said Voniece. "What do we make in San Diego, anyway?"
"Tourists, I think," said Arthur. He brightened. "Do they sell tourists in cans?"
"I think they do," said Voniece, "but they're awfully expensive."
--The Shopping Cart Graveyard



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch