|
|
preflight checks on filenames?
robdew wrote:
“Substantial effort” my ahhhh...foot. A simple regular expression is all you need. It's the sort of thing a first-semester programming student can handle. Cheers, b&
preflight checks on filenames?
Please supply this "simple regular expression" for all likely file system candidates, current, past and future.
preflight checks on filenames?
Not only will remote systems have differing filename conventions (lengths, allowable characters, etc), but then you'd have to check every single file before copying to see if it will work. Keeping track of space needed is simple, just have a long long of the total bytes needed. Checking the file names would either require creating a buffer of all of the names (fast, but memory-intensive), or checking each one as the algorithm goes (slow, but easier on memory). Either way, it will hurt performance *significantly*. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.22 seconds |
|