Re: corrupted images
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 40707
interpreted = N
texte = Kalin Mintchev wrote:> thanks...> the server is a Linux box and the drives are IBMs i don't know the exact> model of the hdd...> it is finding all the files - it just doesn't display them all> correctly...> i'm searching for some kind of bitmap integrity checking software. not> much of a luck so far...FTP binary vs ASCII transfer mode is likely to be the culprit; some images will transfer fine in ASCII mode and others require BIN mode (depending on the presence of whatever the O/S considers a new line character). Make sure your client is using BIN mode when uploading...Even Linux will slow down if there are multi-10k's files in a directory; I have a small Perl script which we use to move the files into subdirectories, and then use this:[text]jpgpath=[grep search=^([0-9][0-9])([0-9][0-9][0-9])[0-9X]*&replace=\1/\2/][SKU][/grep][/text]to map to the heirarchy of subdirectories. My SKU's just happen to be ISBN's (9 numbers plus a possible 10th number or an 'X'). The above algorithym seems to spread our files around more or less equally; you could do first two characters, next two characters, next three characters, or whatever to try and get an efficient hashing.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Kalin Mintchev wrote:> thanks...> the server is a Linux box and the drives are IBMs i don't know the exact> model of the hdd...> it is finding all the files - it just doesn't display them all> correctly...> i'm searching for some kind of bitmap integrity checking software. not> much of a luck so far...FTP binary vs ASCII transfer mode is likely to be the culprit; some images will transfer fine in ASCII mode and others require BIN mode (depending on the presence of whatever the O/S considers a new line character). Make sure your client is using BIN mode when uploading...Even Linux will slow down if there are multi-10k's files in a directory; I have a small Perl script which we use to move the files into subdirectories, and then use this:[text]jpgpath=[grep search=^([0-9][0-9])([0-9][0-9][0-9])[0-9X]*&replace=\1/\2/][SKU][/grep][/text]to map to the heirarchy of subdirectories. My SKU's just happen to be ISBN's (9 numbers plus a possible 10th number or an 'X'). The above algorithym seems to spread our files around more or less equally; you could do first two characters, next two characters, next three characters, or whatever to try and get an efficient hashing.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
John Peacock
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
CommandSecurity? (1997)
RE: OK, here goes... (1997)
Showif, Hideif reverse logic ? (1997)
Discounts: Buy One, Get One =?ISO-8859-1?Q?99=A2?= (2004)
suffix mapping for NT? (1997)
Re:multiple digests, please stop (1997)
in conversions.db crashes unix webcat (1999)
Plugin or CGI or both (1997)
[WebDNA] 6.2 Monitor (2012)
Using the Tearoom Teamplates (2000)
Reversed words (1997)
price change help (1998)
Date search - yes or no (1997)
WebCat and Personal Web Server (1998)
[shippingtotal] in Formulas.db (2002)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
WebCat for Site Search? (1997)
[WriteFile] problems (1997)
[WebDNA] Session timeout solution (2010)
PCS Emailer's role ? (1997)