Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: Validate windows filenames.

by zzspectrez (Hermit)
on Jul 14, 2005 at 16:02 UTC ( [id://474928]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Validate windows filenames.
in thread Validate windows filenames.

Once I discovered the error, I changed the code to both validate the filename and do a copy / delete. However having to jump through a copy / delete 2 - process step kind of defeats the purpose of having a move function....

Thanks for the reply.. However, Im not looking for a solution to deal with the moving of the file. I only mentioned that as background to why validating windows filename is important.

My Questions are: (1) Do fellow perlmonks routinely validate filenames? If so, how do you do it? (2) Any inherit problems with how my routines deal with validating/sanitizing windows filenames??

zzSPECTREz

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-20 03:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found