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:
Email and name capture (1999)
[OT] Server check please (2006)
Price problem (1997)
Closing Databases (1998)
Greeting Card System (2000)
# fields limited? (1997)
Javascript/WebCatalog form population (2001)
PROBLEM (1997)
WebStar5 and realm authentication (2003)
WebCat2b15MacPlugin - showing [math] (1997)
Not really WebCat - need HTML Grider (1997)
[BULK] [WebDNA] [if] or [case] or something else (2012)
Unexceling (was I need a smart quote...) (1999)
Repeating Fields (1997)
Problem (1997)
Re:Emailer Set Up (1997)
How do I make this faster???? (2000)
RE: New WebCatalog Version !!! (1997)
Order file numbers diferent than the cart number. why? (2000)
WebCatalog sales (1997)