Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Re: Re: Illegal characters in windows filenames?

by HamNRye (Monk)
on Feb 12, 2004 at 15:55 UTC ( [id://328589]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Illegal characters in windows filenames?
in thread Illegal characters in windows filenames?

Sorry, I should have explained this better... The program gets compiled with perl2exe, and lives on the designer's Windows2000 desktop.

The basic workflow is that they get a CD full of Art and other files, and before uploading to our production server. (Solaris based, tracks ads and their associated art by run date and allows archiving to MO.) Unfortunately, not all of our customers send their art in with things like proper color balance, high enough resolution, correct filenames, etc... So , before they start working on the ad, they take the root folder on the CD, and drop it onto the program Icon. My program cleans them up, flags bad resolutions, converts JPEG, GIF, etc... into a format usable for presswork, and uploads the files to the production server. (The script is designed to take one arg, a folder name, from the drag-and-drop.)

The outside clients who send us stuff often use Macs, which is why we get CD's full of wierd Maccy garbage. Also, since Macs don't use the three letter extension to tell you if it's a quark doc, an InDesign doc, a Page Maker doc, etc... So we look at the Magic Numbers and add the proper extension. (We have also been sent jars of spaghetti sauce so we can "scan the label", pizza box tops because they have the company logo on them, Word Documents that have MS clip art in them (what do you mean clip art isn't camera ready??), and one time, a picture of a car lot... So we could get pictures of the cars out of it.) So, something as simple as a bad file name, that's pretty good. However, it is also time consuming for our designers to have to go through all the files when they recieve them to do all of these checks.

Customers: Windows and Mac, occasionally crayon.
Designers: Windows2000
Production Geek: Solaris

And on that final thing, I cannot tell you how many times you have saved my butt when I needed a module. I rarely appreciate you until I go to install on a machine other than my own. Then, that Module that ppm found no problem on my box, doesn't exist on Active State. So, I add your ppd repository, and say... "ActiveState sucks, thank you Jenda." WTF is up with them not even having the basic Tk modules available?? If you ever need bandwidth, web storage space, or just somewhere to launch a DDOS attack, use the contact page at nothing4sale.org. I'm the webmaster. If your stateside, we can even talk meatspace needs.... Again, Danke.

Anyway, using the system globbing has provided the workaround, so lets hope that by Windows 2003 M$ hasn't renamed the command to "xmove32".

  • Comment on Re: Re: Re: Re: Illegal characters in windows filenames?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://328589]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-25 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found