Transfering files in binary or ASCII mode
I am uploading a shopping cart and some files need to be transferred in ASCII mode and some in binary mode. Can I change this setting anywhere, or doesn DW automatically do this based on file extension, or ???? I can't seem to find much information about this in the forums or on the internet anywhere either.
I'm using CS4 for windows.
Thanks!
Hi
They are talking rubbish in the example given.
Basically any html/css/javascript/php/sql-statement and many others are written in ascii, whereas a video/image/audio/exe file are in binary, (as series of 0 or 1 bit) when created, as I said all files are in the end in binary but the software that is used by you, or your server is what translates them to or back-to the required format for us mere mortals.
Transfer the files as normal, (via ftp) but I would advise checking on any support that you may require in using the software, (your shopping cart) because the distinction being made by the cart suppliers, could point to a lack of understanding by them. Many years ago, (in the days of 'blue screen' bulletin boards, (pre web) the distinction was made because of the required 'headers' that must be sent with the file transfer, but this is not required with such files any more as it is handled by the software.
Your doctype and associated info is an example of a 'header'.
PZ
Similar Messages
-
Transfering files in ASCII mode using SFTP
Hi All,
We are using SFTP to transfer our files since we are using VPN. But we need a file to be transfered in ASCII mode from the remote system. We are using toad for that, but i heard that SFTP transfers file only in Binary mode by default. Is there any way to achieve it.?
Thanks
NarainHi Narain,
SFTP transfers files in Binary mode only as it transfers over SSH - so it is upto the sending/receiving client to manage the line endings.
In BPEL,a java embedding can be used to convert line endings and then the payload handed over to FTP adapter for SFTP.
Regards,
Shanmu. -
Differentiate ASCII text file from binary
Is there any way to find whether a file is binary ( non-ascii ), other than to check each and every byte ? Does java io package is having any API for this ?
Even by checking each byte, you wouldn't know.
How do you determine whether 56 E3 are two binary
bytes or a UTF-16 char for some foreign language?If you noticed a lot of the lower numbers being used (the control characters, below 32, or is it 27). -
Is it possible to store a back up on external HD by transfering files using Target Disk Mode?
Dear Apple community,
There's absolutely no way that I'm going to be able to fix my MBP without a clean install. I simply cannot log in and get to my desktop screen after upgrading to Mavericks. So I will have to erase everything and perform a clean install. However, before proceeding with this plan, I'll have to back up my files from my MPB since I cannot use my mac normally, I'll have to back up my files using the Target Disk Mode. I've connected my MPB to another MPB in the past, so I know how the process work. But this time around I won't be able to use another MBP but a MB. I have a few doubts regarding the process especially in what concernd adding an external HD to this equation. So please bear with me and see if you can answer my doubts.
So this is the equipment I'll be working with: my MPB, my friends MacBook (2008) and my 1TB external hard drive.
My basic question is: once I connect my MPB in Target Disk Mode to the MB, I'm sure I'd be able to transfer my files to this MB. But let's say that I don't want to leave my files in this MB (after all it's not my computer) and want to send my files straight to an external HD connected to this MB. Is it possible? If positive, I know that the only FireWire port in the MB is a 400 port. That means my MBP will be connect to the MB using the only FireWire port available in the MB. So I believe that my external HD would have to be connected to the MB with the help of an USB cable. I assume that this will make the transferring process a little slower than if I could count solely on FireWire ports. Slowing the process down is not a problem but could this corrupt any of my files during the transferring process or even damage anything? I assume that would never happen after all it's just digital data, but better safe than sorry, right? What do you think?
Another thought that occurred to me is: let's say I connect my MBP to the MB using the FireWire 400. I'd still have an FireWire 800 port available on my MBP. If I connect my external HD to my MBP (yeah, the one that will be in Target Disk Mode) using that FW 800 port, would my MBP allow this external HD to mount as if it was just another folder/drive in my computer? If positive, theoretically I'd be able to transfer files from my MBP to my external HD manually (by dragging files from folder to folders), right?
I really don't want to transfer my files from the MBP to the MB and then from MB to external HD. That would just take time and I really don't know how much available space I'll find on my friend's MB.
Oh, one last question: when transferring files using Target Disk Mode, do all computers involved in this process gotta have the same OS X version installed or it doesn't matter if e.g one is running Snow Leopard and the other Mavericks?
Looking forward to hear back from you, experts.Grant Bennet-Alder West of Boston, USA
A new 1TB External drive (suitable to replace your current Internal drive if you choose to) and enclosure can be had for under US$160
Ehh, you meant $60 , not $160
CassHeger
I do need to buy an external HD to be used solely for that purpose.
Yes, quality HD are cheap as dirt.
however a likewise Toshiba Internal HD 1TB is $70 (same as used by Apple)
http://www.ebay.com/itm/TOSHIBA-MQ01ABD100-1TB-5400-RPM-8MB-Cache-2-5-SATA-3-0Gb -s-Internal-Notebook-/121107538930?pt=US_Internal_Hard_Disk_Drives&hash=item1c3 2 9263f2
best options for the price, and high quality HD:
Quality 1TB drives are $50 per TB on 3.5" or $65 per TB on 2.5"
Perfect 1TB for $68
http://www.amazon.com/Toshiba-Canvio-Portable-Hard-Drive/dp/B005J7YA3W/ref=sr_1_ 1?ie=UTF8&qid=1379452568&sr=8-1&keywords=1tb+toshiba
Nice 500gig for $50. ultraslim and perfect
http://www.amazon.com/Toshiba-Canvio-Portable-External-Drive/dp/B009F1CXI2/ref=s r_1_1?s=electronics&ie=UTF8&qid=1377642728&sr=1-1&keywords=toshiba+slim+500gb
2.5" USB portable High quality BEST FOR THE COST, Toshiba "tiny giant" 2TB drive (have several of them, LOT of storage in a SMALL package) $117
http://www.amazon.com/Toshiba-Canvio-Connect-Portable-HDTC720XK3C1/dp/B00CGUMS48 /ref=sr_1_4?s=electronics&ie=UTF8&qid=1379182740&sr=1-4&keywords=2tb+toshiba
*This one is the BEST portable external HD available that money can buy:
HGST Touro Mobile 1TB USB 3.0 External Hard Drive
$88
http://www.amazon.com/HGST-Mobile-Portable-External-0S03559/dp/B009GE6JI8/ref=sr _1_1?ie=UTF8&qid=1383238934&sr=8-1&keywords=HGST+Touro+Mobile+Pro+1TB+USB+3.0+72 00+RPM
Most storage experts agree on the Hitachi 2.5" -
Detect file type of binary or ascii
Is there a clean way to detect for a file its type, either binary or ascii. More specifically, given an arbitrary file, I want to check it to see if it is an ascii file or a binary file. If the file is binary, I want to check it again to see what possible binary type it is: gzip, excel doc, pdf doc, etc.
What tips can you provide.
Thanks.You could perhaps use a similar convention to perl:
http://www.perldoc.com/perl5.6/pod/func/X.html
The -T and -B switches work as follows. The first block or so of the file is examined for odd characters such as strange control codes or characters with the high bit set. If too many strange characters (>30%) are found, it's a -B file, otherwise it's a -T file. Also, any file containing null in the first block is considered a binary file. If -T or -B is used on a filehandle, the current stdio buffer is examined rather than the first block. Both -T and -B return true on a null file, or a file at EOF when testing a filehandle. Because you have to read a file to do the -T test, on most occasions you want to use a -f against the file first, as in next unless -f $file && -T $file. -
How to find file type (Binary/Ascii) using Java IO
Hi
I want to find whether the file is binary file or not.
Can any one please help.
Thanks,
JoyEncephalopathic wrote:
I'm no IO expert, but aren't all files binary?Yes.
I think what the OP is after is how to tell if a file contains only characters (e.g. ASCII characters). This can be done by reading the file and checking if every byte is a valid ASCII character more or less. An example would be limiting byte values to 9 (tab), 10 (LF), 12 (FF), 13 (CR), and 32-127. -
How to identify binary vs ASCII file???
Hello,
What is the best way to decide whether a file is binary or plain text?
Thanks in advance.
Chris.Other than passing through the bytes, check that there are no bytes that you wouldn't usually have in a text file and pray that the file isn't in an "exotic" character encoding such as utf8?
There is no real difference. Both "binary" and "text" files contain bytes. -
I just purchased a new macbook pro, I transfered files from my old damaged macbook pro using an external case and the original HD. Safari will not open, and shows a message of "quit unexpectedly"
Process: Safari [3180]
Path: /Applications/Safari.app/Contents/MacOS/Safari
Identifier: com.apple.Safari
Version: 5.1.7 (7534.57.4)
Build Info: WebBrowser-7534057004000000~7
Code Type: X86-64 (Native)
Parent Process: launchd [135]
Date/Time: 2012-08-17 05:41:01.380 -0700
OS Version: Mac OS X 10.7.4 (11E2617)
Report Version: 9
Interval Since Last Report: 16209 sec
Crashes Since Last Report: 27
Per-App Interval Since Last Report: 12 sec
Per-App Crashes Since Last Report: 27
Anonymous UUID: A973086A-14E1-4BBA-9C64-CD98A4D5A970
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
objc[3180]: garbage collection is OFF
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: (index >= 0) && (index < [_itemArray count])'
*** First throw call stack:
0 CoreFoundation 0x00007fff9664af56 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff91c7fdee objc_exception_throw + 43
2 CoreFoundation 0x00007fff9664ad8a +[NSException raise:format:arguments:] + 106
3 Foundation 0x00007fff8b70c71f -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 169
4 AppKit 0x00007fff8fef5cdf -[NSMenu itemAtIndex:] + 165
5 AppKit 0x00007fff8fef5e38 -[NSMenu removeItemAtIndex:] + 63
6 Safari 0x000000010debfc2e -[AppController awakeFromNib] + 387
7 CoreFoundation 0x00007fff96641fb1 -[NSObject performSelector:] + 49
8 CoreFoundation 0x00007fff96641f32 -[NSSet makeObjectsPerformSelector:] + 274
9 AppKit 0x00007fff8fedd9ff -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1245
10 AppKit 0x00007fff8fed3f73 loadNib + 322
11 AppKit 0x00007fff8fed3470 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 217
12 AppKit 0x00007fff8fed338b +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 141
13 AppKit 0x00007fff8fed32ce +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 364
14 AppKit 0x00007fff9014406f NSApplicationMain + 398
15 Safari 0x000000010e0c2806 SafariMain + 166
16 Safari 0x000000010deacf24 Safari + 3876
17 ??? 0x0000000000000002 0x0 + 2
terminate called throwing an exception
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8bbabce2 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff93e887d2 pthread_kill + 95
2 libsystem_c.dylib 0x00007fff93e79a7a abort + 143
3 libc++abi.dylib 0x00007fff97da27bc abort_message + 214
4 libc++abi.dylib 0x00007fff97d9ffcf default_terminate() + 28
5 libobjc.A.dylib 0x00007fff91c80249 _objc_terminate + 94
6 libc++abi.dylib 0x00007fff97da0001 safe_handler_caller(void (*)()) + 11
7 libc++abi.dylib 0x00007fff97da005c std::terminate() + 16
8 libc++abi.dylib 0x00007fff97da1152 __cxa_throw + 114
9 libobjc.A.dylib 0x00007fff91c7ff0a objc_exception_throw + 327
10 com.apple.CoreFoundation 0x00007fff9664ad8a +[NSException raise:format:arguments:] + 106
11 com.apple.Foundation 0x00007fff8b70c71f -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 169
12 com.apple.AppKit 0x00007fff8fef5cdf -[NSMenu itemAtIndex:] + 165
13 com.apple.AppKit 0x00007fff8fef5e38 -[NSMenu removeItemAtIndex:] + 63
14 com.apple.Safari.framework 0x000000010debfc2e -[AppController awakeFromNib] + 387
15 com.apple.CoreFoundation 0x00007fff96641fb1 -[NSObject performSelector:] + 49
16 com.apple.CoreFoundation 0x00007fff96641f32 -[NSSet makeObjectsPerformSelector:] + 274
17 com.apple.AppKit 0x00007fff8fedd9ff -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1245
18 com.apple.AppKit 0x00007fff8fed3f73 loadNib + 322
19 com.apple.AppKit 0x00007fff8fed3470 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 217
20 com.apple.AppKit 0x00007fff8fed338b +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 141
21 com.apple.AppKit 0x00007fff8fed32ce +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 364
22 com.apple.AppKit 0x00007fff9014406f NSApplicationMain + 398
23 com.apple.Safari.framework 0x000000010e0c2806 SafariMain + 166
24 com.apple.Safari 0x000000010deacf24 0x10deac000 + 3876
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8bbac7e6 kevent + 10
1 libdispatch.dylib 0x00007fff8ed4478a _dispatch_mgr_invoke + 923
2 libdispatch.dylib 0x00007fff8ed4331a _dispatch_mgr_thread + 54
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8bbac192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff93e88594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff93e89b85 start_wqthread + 13
Thread 3:: Dispatch queue: com.apple.CFURLCACHE_work_queue
0 libsystem_kernel.dylib 0x00007fff8bbaca8e pread + 10
1 libsqlite3.dylib 0x00007fff90b5ace5 unixRead + 69
2 libsqlite3.dylib 0x00007fff90b56c33 sqlite3BtreeOpen + 2195
3 libsqlite3.dylib 0x00007fff90b52fc6 openDatabase + 1430
4 com.apple.CFNetwork 0x00007fff8e6d64bd __CFURLCache::OpenDatabase() + 63
5 com.apple.CFNetwork 0x00007fff8e6d6040 ProcessCacheTasks(__CFURLCache*, bool) + 265
6 com.apple.CFNetwork 0x00007fff8e6d5a72 _ZL24_CFURLCacheTimerCallbackPv + 662
7 libdispatch.dylib 0x00007fff8ed42a86 _dispatch_call_block_and_release + 18
8 libdispatch.dylib 0x00007fff8ed442d6 _dispatch_queue_drain + 264
9 libdispatch.dylib 0x00007fff8ed44132 _dispatch_queue_invoke + 54
10 libdispatch.dylib 0x00007fff8ed4392c _dispatch_worker_thread2 + 198
11 libsystem_c.dylib 0x00007fff93e883da _pthread_wqthread + 316
12 libsystem_c.dylib 0x00007fff93e89b85 start_wqthread + 13
Thread 4:: WebCore: IconDatabase
0 libsystem_kernel.dylib 0x00007fff8bbaca8e pread + 10
1 libsqlite3.dylib 0x00007fff90b5ace5 unixRead + 69
2 libsqlite3.dylib 0x00007fff90b7c4f6 readDbPage + 102
3 libsqlite3.dylib 0x00007fff90b7ac9b sqlite3PagerAcquire + 315
4 libsqlite3.dylib 0x00007fff90ba9872 moveToChild + 146
5 libsqlite3.dylib 0x00007fff90babb68 sqlite3BtreeNext + 600
6 libsqlite3.dylib 0x00007fff90ba4909 sqlite3VdbeExec + 41561
7 libsqlite3.dylib 0x00007fff90b99a5b sqlite3_step + 1883
8 com.apple.WebCore 0x000000010ef5aeff WebCore::SQLiteStatement::step() + 63
9 com.apple.WebCore 0x000000010ef5b6cc WebCore::IconDatabase::performURLImport() + 908
10 com.apple.WebCore 0x000000010ef59d3b WebCore::IconDatabase::iconDatabaseSyncThread() + 475
11 com.apple.JavaScriptCore 0x000000010e8a311f _ZN3WTFL19wtfThreadEntryPointEPv + 15
12 libsystem_c.dylib 0x00007fff93e868bf _pthread_start + 335
13 libsystem_c.dylib 0x00007fff93e89b75 thread_start + 13
Thread 5:: CoreAnimation render server
0 libsystem_kernel.dylib 0x00007fff8bbaa67a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8bba9d71 mach_msg + 73
2 com.apple.QuartzCore 0x00007fff8eb2bdf5 CA::Render::Server::server_thread(void*) + 184
3 com.apple.QuartzCore 0x00007fff8eb2bd35 thread_fun + 24
4 libsystem_c.dylib 0x00007fff93e868bf _pthread_start + 335
5 libsystem_c.dylib 0x00007fff93e89b75 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00007fff6daaa418 rdx: 0x0000000000000000
rdi: 0x000000000000060b rsi: 0x0000000000000006 rbp: 0x00007fff6daaa440 rsp: 0x00007fff6daaa418
r8: 0x00007fff7c0d2fb8 r9: 0x00007fff6daa9ea8 r10: 0x00007fff8bbabd0a r11: 0xffffff80002dad60
r12: 0x00007fcc8c415da0 r13: 0x0000000000000006 r14: 0x00007fff7c0d5960 r15: 0x00007fff6daaa590
rip: 0x00007fff8bbabce2 rfl: 0x0000000000000246 cr2: 0x0000000111c3b000
Logical CPU: 0
Binary Images:
0x10deac000 - 0x10deacfff com.apple.Safari (5.1.7 - 7534.57.4) <468C5147-26BF-321F-A7E6-42DA82AD4B1B> /Applications/Safari.app/Contents/MacOS/Safari
0x10deb3000 - 0x10e34dff7 com.apple.Safari.framework (7536 - 7536.25) <C95F0D4E-6984-3D2F-B0BA-5D12A164EAC8> /System/Library/StagedFrameworks/Safari/Safari.framework/Safari
0x10e670000 - 0x10e8fffff com.apple.JavaScriptCore (7536 - 7536.24) <C613502E-BC98-3269-A25C-4BDB2D87590B> /System/Library/StagedFrameworks/Safari/JavaScriptCore.framework/JavaScriptCore
0x10e9ae000 - 0x10eb30ff7 com.apple.WebKit (7536 - 7536.25) <8D171955-A1CA-31AA-B701-B9D4F760B10B> /System/Library/StagedFrameworks/Safari/WebKit.framework/WebKit
0x10ec1e000 - 0x10edf7fff com.apple.WebKit2 (7536 - 7536.25) <15991DAF-D0C9-3D65-A96B-AF7428ADCC4E> /System/Library/StagedFrameworks/Safari/WebKit2.framework/WebKit2
0x10ef56000 - 0x10fefbff7 com.apple.WebCore (7536 - 7536.24) <F2C26660-05D7-34A7-9158-9C3D21BEB32F> /System/Library/StagedFrameworks/Safari/WebCore.framework/WebCore
0x7fff6daac000 - 0x7fff6dae0baf dyld (195.6 - ???) <C58DAD8A-4B00-3676-8637-93D6FDE73147> /usr/lib/dyld
0x7fff8adf6000 - 0x7fff8b2bdfff FaceCoreLight (1.4.7 - compatibility 1.0.0) <BDD0E1DE-CF33-3AF8-B33B-4D1574CCC19D> /System/Library/PrivateFrameworks/FaceCoreLight.framework/Versions/A/FaceCoreLi ght
0x7fff8b2ea000 - 0x7fff8b35dfff libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <6BDD43E4-A4B1-379E-9ED5-8C713653DFF2> /usr/lib/libstdc++.6.dylib
0x7fff8b460000 - 0x7fff8b4d6fff libc++.1.dylib (28.1.0 - compatibility 1.0.0) <DA22E4D6-7F20-3BEA-9B89-2FBA735C2EE1> /usr/lib/libc++.1.dylib
0x7fff8b524000 - 0x7fff8b630fff libcrypto.0.9.8.dylib (44.0.0 - compatibility 0.9.8) <557A7749-70EE-3ADF-BC3E-0A5E7DDCD8C1> /usr/lib/libcrypto.0.9.8.dylib
0x7fff8b631000 - 0x7fff8b640fff libxar-nossl.dylib (??? - ???) <518C0791-AB8D-3E8A-BB40-D4F312704FE2> /usr/lib/libxar-nossl.dylib
0x7fff8b641000 - 0x7fff8b95afff com.apple.Foundation (6.7.2 - 833.25) <F6584E06-7C8F-3422-AF84-3AA58EC67935> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff8b95b000 - 0x7fff8b96fff7 com.apple.LangAnalysis (1.7.0 - 1.7.0) <A7C58D71-6D4A-317D-AA06-D648B1F78573> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x7fff8b970000 - 0x7fff8b9b1fff com.apple.QD (3.40 - ???) <05970F98-B752-37AF-B577-2B940DF020A1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x7fff8b9ff000 - 0x7fff8b9fffff com.apple.Cocoa (6.6 - ???) <9E3D4787-A2CE-38E0-BEF8-E5DA63B6E6A1> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x7fff8bb02000 - 0x7fff8bb03fff liblangid.dylib (??? - ???) <CACBE3C3-2F7B-3EED-B50E-EDB73F473B77> /usr/lib/liblangid.dylib
0x7fff8bb7c000 - 0x7fff8bb7cfff com.apple.CoreServices (53 - 53) <97E086D0-20B4-3BB4-BEE2-04EE5700D55B> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff8bb7d000 - 0x7fff8bb94fff com.apple.MultitouchSupport.framework (231.4 - 231.4) <10A978D1-8781-33F0-BE45-60C9171F7278> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/Multit ouchSupport
0x7fff8bb95000 - 0x7fff8bbb5fff libsystem_kernel.dylib (1699.31.2 - compatibility 1.0.0) <185823F1-409E-3AFD-93A9-C214013C17C8> /usr/lib/system/libsystem_kernel.dylib
0x7fff8c046000 - 0x7fff8c0a8ff7 com.apple.Symbolication (1.3 - 91) <0945ACAF-AA0A-3D01-9960-72B51722EC1F> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolicat ion
0x7fff8c0a9000 - 0x7fff8c0acfff libRadiance.dylib (??? - ???) <CD89D70D-F177-3BAE-8A26-644EA7D5E28E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x7fff8c0ad000 - 0x7fff8c0bafff com.apple.CrashReporterSupport (10.7.4 - 352) <C806C4A3-25FE-3D62-BFF4-0DB41589CF83> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/Cra shReporterSupport
0x7fff8c0f4000 - 0x7fff8c11afff com.apple.framework.familycontrols (3.0 - 300) <84E55A2E-643E-36E9-AFD8-CED667AF6B8E> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyCon trols
0x7fff8c14c000 - 0x7fff8c1a0fff libFontRegistry.dylib (??? - ???) <2CCED595-0992-3A04-A8E8-887429652789> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x7fff8c1a1000 - 0x7fff8c20afff com.apple.coreui (1.2.2 - 165.10) <F427BF39-3E01-3DC6-A63D-BFC50FE6C72E> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x7fff8c20b000 - 0x7fff8c40dfff libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <38CD6ED3-C8E4-3CCD-89AC-9C3198803101> /usr/lib/libicucore.A.dylib
0x7fff8c40e000 - 0x7fff8c41bff7 libbz2.1.0.dylib (1.0.5 - compatibility 1.0.0) <DFAB8CA8-CC9D-3F58-8C12-CE120442AACD> /usr/lib/libbz2.1.0.dylib
0x7fff8c691000 - 0x7fff8c714fef com.apple.Metadata (10.7.0 - 627.35) <6769AD6A-58D2-3D25-B289-15C65B82CF8D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x7fff8c715000 - 0x7fff8c71afff com.apple.OpenDirectory (10.7 - 146) <7960A302-F9AC-3F72-838E-3A382032DCA6> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x7fff8c71b000 - 0x7fff8ca37fff com.apple.CoreServices.CarbonCore (960.24 - 960.24) <CDCB53C0-D212-3485-A594-DDE33AAC5AF0> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x7fff8ca38000 - 0x7fff8cc62fe7 com.apple.CoreData (104.1 - 358.14) <1C100A86-EEDF-352E-8BC0-DFE82FF92362> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x7fff8cc63000 - 0x7fff8ccbeff7 com.apple.opencl (2.0.16 - 2.0.16) <63F5AAE4-23DC-3279-AED7-6170D086C397> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x7fff8ccd1000 - 0x7fff8cdb5fff com.apple.CoreServices.OSServices (478.46 - 478.46) <DAE95FD5-AA73-30E2-B563-EA2BDBD4D3CF> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x7fff8cdb6000 - 0x7fff8d0e2ff7 com.apple.HIToolbox (1.9 - ???) <32527EBE-4E99-31F6-BBE7-60A796803905> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x7fff8d0e3000 - 0x7fff8d0e4ff7 libremovefile.dylib (21.1.0 - compatibility 1.0.0) <8901B7EE-6CA0-31F3-BBFE-BB71C90B1E49> /usr/lib/system/libremovefile.dylib
0x7fff8d22d000 - 0x7fff8d289ff7 com.apple.HIServices (1.21 - ???) <25FBDEA4-871F-3A58-A525-0E1799945522> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x7fff8d28a000 - 0x7fff8d295ff7 com.apple.speech.recognition.framework (4.0.21 - 4.0.21) <6540EAF2-E3BF-3D2E-B4C1-F106180D6F20> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x7fff8dbbc000 - 0x7fff8e559b47 com.apple.CoreGraphics (1.600.0 - ???) <C08FBA1B-E6C0-3020-AD4D-3A041734577D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x7fff8e55a000 - 0x7fff8e562fff libsystem_dnssd.dylib (??? - ???) <8A0F6F23-53C1-34FD-B641-4C0771C71E2A> /usr/lib/system/libsystem_dnssd.dylib
0x7fff8e674000 - 0x7fff8e686ff7 libbsm.0.dylib (??? - ???) <666E88F0-F8F3-3490-B688-2CF9418CB7E8> /usr/lib/libbsm.0.dylib
0x7fff8e69d000 - 0x7fff8e6d2fff com.apple.securityinterface (5.0 - 55022.4) <DAAEC695-EB88-311E-B929-B4CD9073924E> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
0x7fff8e6d3000 - 0x7fff8e83afff com.apple.CFNetwork (520.4.3 - 520.4.3) <31D7A595-375E-341A-8E97-21E73CC62E4A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x7fff8e83b000 - 0x7fff8e88dff7 libGLU.dylib (??? - ???) <E9C325A6-D3D6-3C6A-A655-D2CB5BBEB992> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x7fff8e8e6000 - 0x7fff8e8f0ff7 liblaunch.dylib (392.38.0 - compatibility 1.0.0) <6ECB7F19-B384-32C1-8652-2463C1CF4815> /usr/lib/system/liblaunch.dylib
0x7fff8ea8f000 - 0x7fff8ea95ff7 libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib
0x7fff8ea96000 - 0x7fff8eab5fff libresolv.9.dylib (46.1.0 - compatibility 1.0.0) <0635C52D-DD53-3721-A488-4C6E95607A74> /usr/lib/libresolv.9.dylib
0x7fff8eab6000 - 0x7fff8eabaff7 com.apple.CommonPanels (1.2.5 - 94) <CA9C910D-E406-33E7-B8EE-C86EAA62AB68> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x7fff8eabb000 - 0x7fff8ead8fff libxpc.dylib (77.19.0 - compatibility 1.0.0) <9F57891B-D7EF-3050-BEDD-21E7C6668248> /usr/lib/system/libxpc.dylib
0x7fff8ead9000 - 0x7fff8eae0fff libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <65602684-33B1-32DE-802B-050CE07659AC> /usr/lib/system/libcopyfile.dylib
0x7fff8eb29000 - 0x7fff8ecc9ff7 com.apple.QuartzCore (1.7 - 270.5) <E038F95C-B66D-3B04-AB32-5BB30FD7CB2A> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x7fff8ecca000 - 0x7fff8ed40fff com.apple.CoreSymbolication (2.2 - 73.2) <126415E3-3A35-315B-B4B7-507CDBED0D58> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSy mbolication
0x7fff8ed41000 - 0x7fff8ed4ffff libdispatch.dylib (187.9.0 - compatibility 1.0.0) <1D5BE322-A9B9-3BCE-8FAC-076FB07CF54A> /usr/lib/system/libdispatch.dylib
0x7fff8ed50000 - 0x7fff8ed8afe7 com.apple.DebugSymbols (2.1 - 87) <ED2B177C-4146-3715-91DF-D99A8ED5449A> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbol s
0x7fff8ee89000 - 0x7fff8ef8bfff libxml2.2.dylib (10.3.0 - compatibility 10.0.0) <AFBB22B7-07AE-3F2E-B88C-70BEEBFB8A86> /usr/lib/libxml2.2.dylib
0x7fff8f06b000 - 0x7fff8f0b7ff7 com.apple.SystemConfiguration (1.11.3 - 1.11) <0A7F1982-B4EA-3424-A0C7-FE46C6224F03> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x7fff8f0b8000 - 0x7fff8f0bfff7 com.apple.CommerceCore (1.0 - 17) <95285481-4162-308B-85E9-E0A47D4F3766> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/C ommerceCore.framework/Versions/A/CommerceCore
0x7fff8f901000 - 0x7fff8f908fff libGFXShared.dylib (??? - ???) <0EA5DB50-D9AA-3BD5-9B1A-D5A82BD10E14> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
0x7fff8f909000 - 0x7fff8f91bff7 libz.1.dylib (1.2.5 - compatibility 1.0.0) <30CBEF15-4978-3DED-8629-7109880A19D4> /usr/lib/libz.1.dylib
0x7fff8f91c000 - 0x7fff8f98cfff com.apple.datadetectorscore (3.0 - 179.4) <D14F635D-D403-3780-85C9-91EB0CA07F8E> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
0x7fff8f994000 - 0x7fff8facafff com.apple.vImage (5.1 - 5.1) <A08B7582-67BC-3EED-813A-4833645964A7> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x7fff8facb000 - 0x7fff8fadeff7 libCRFSuite.dylib (??? - ???) <322486D1-359C-3059-BF53-D4B038621E18> /usr/lib/libCRFSuite.dylib
0x7fff8fb6d000 - 0x7fff8fb98ff7 libxslt.1.dylib (3.24.0 - compatibility 3.0.0) <E71220D3-8015-38EC-B97D-7FDB383C2BDC> /usr/lib/libxslt.1.dylib
0x7fff8fd2b000 - 0x7fff8fd47ff7 com.apple.GenerationalStorage (1.0 - 126.1) <509F52ED-E54B-3FEF-B3C2-759387B826E6> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Gene rationalStorage
0x7fff8fd48000 - 0x7fff8fda8fff libvDSP.dylib (325.4.0 - compatibility 1.0.0) <1E3EEDA7-1DC6-3593-9DED-0BAFA0972A76> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x7fff8fe71000 - 0x7fff8fe9afff libJPEG.dylib (??? - ???) <64D079F9-256A-323B-A837-84628B172F21> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x7fff8fe9b000 - 0x7fff8febbfff libPng.dylib (??? - ???) <F4D84592-C450-3076-88E9-8E6517C7EF33> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
0x7fff8fec3000 - 0x7fff90ac9ff7 com.apple.AppKit (6.7.3 - 1138.47) <2618FECE-B780-3682-B493-4200D473ED6F> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff90aca000 - 0x7fff90acdfff com.apple.help (1.3.2 - 42) <416BA8D2-9A2F-3F07-9E6B-E1231A92AAC0> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x7fff90ace000 - 0x7fff90b10ff7 libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) <A5B9778E-11C3-3F61-B740-1F2114E967FB> /usr/lib/system/libcommonCrypto.dylib
0x7fff90b11000 - 0x7fff90b51fe7 libGLImage.dylib (??? - ???) <11B7E8A0-F475-32BD-9234-1E245384F586> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x7fff90b52000 - 0x7fff90c59fe7 libsqlite3.dylib (9.6.0 - compatibility 9.0.0) <EE02BB01-64C9-304D-9719-A35F5CD6D04C> /usr/lib/libsqlite3.dylib
0x7fff90c5a000 - 0x7fff90c71fff com.apple.CFOpenDirectory (10.7 - 146) <BBB7C97E-7B46-3286-9128-32B5D16B5CBE> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
0x7fff90c72000 - 0x7fff90c78fff IOSurface (??? - ???) <77C6757B-D357-3E34-9424-48F962B5CC9C> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x7fff90c79000 - 0x7fff90d0fff7 libvMisc.dylib (325.4.0 - compatibility 1.0.0) <C06C0706-3462-3F24-A8BE-4DA8076DE59F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x7fff90d23000 - 0x7fff90d23fff com.apple.Carbon (153 - 153) <51D75B5A-3F04-32C9-BBA4-A96AF6E3FDFA> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x7fff90daf000 - 0x7fff90dbefff com.apple.opengl (1.8.0 - 1.8.0) <F487C903-3082-3528-916D-AC96AFF23927> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x7fff90ea5000 - 0x7fff90f9afff libiconv.2.dylib (7.0.0 - compatibility 7.0.0) <5C40E880-0706-378F-B864-3C2BD922D926> /usr/lib/libiconv.2.dylib
0x7fff915c3000 - 0x7fff915d9fff libGL.dylib (??? - ???) <E0183967-5EA6-3428-AC3B-0403A06F0E3F> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x7fff917ed000 - 0x7fff9180aff7 com.apple.openscripting (1.3.3 - ???) <F5E34F54-CE85-334B-8F25-53581D43960C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x7fff9180b000 - 0x7fff91c38fff libLAPACK.dylib (??? - ???) <C7456566-4B04-3971-8D62-DE0DEBE811B7> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x7fff91c39000 - 0x7fff91c5dfff com.apple.RemoteViewServices (1.4 - 44.1) <EA3837DF-A3A3-37FF-AE11-D50048D5F21A> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/Remot eViewServices
0x7fff91c69000 - 0x7fff91d4ded7 libobjc.A.dylib (228.0.0 - compatibility 1.0.0) <76082BBC-446B-3355-AED5-0DBCEE600CB2> /usr/lib/libobjc.A.dylib
0x7fff91e20000 - 0x7fff91e21ff7 libsystem_sandbox.dylib (??? - ???) <96D38E74-F18F-3CCB-A20B-E8E3ADC4E166> /usr/lib/system/libsystem_sandbox.dylib
0x7fff91fba000 - 0x7fff91fbafff com.apple.Accelerate.vecLib (3.7 - vecLib 3.7) <4F7416F1-A069-3A39-B5F1-008279F6B819> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x7fff923ac000 - 0x7fff9244dff7 com.apple.LaunchServices (480.34 - 480.34) <67D5B865-B4B6-3522-8652-654A4E3F4B6D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x7fff9267a000 - 0x7fff926adff7 com.apple.GSS (2.2 - 2.0) <971395D0-B9D0-3FDE-B23F-6F9D0A2FB95F> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x7fff926b1000 - 0x7fff926b4fff libCoreVMClient.dylib (??? - ???) <28CB0F3F-A202-391F-8CAC-FC9A1398A962> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClien t.dylib
0x7fff9275c000 - 0x7fff9279efff com.apple.corelocation (330.12 - 330.12) <61E65321-958C-3E89-9F02-05BD2B7D898D> /System/Library/Frameworks/CoreLocation.framework/Versions/A/CoreLocation
0x7fff9279f000 - 0x7fff927dffff libtidy.A.dylib (??? - ???) <E500CDB9-C010-3B1A-B995-774EE64F39BE> /usr/lib/libtidy.A.dylib
0x7fff927e0000 - 0x7fff92dc4fff libBLAS.dylib (??? - ???) <09028536-1215-324C-B7BD-384CF5DBC5D0> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x7fff935cc000 - 0x7fff935ccfff com.apple.audio.units.AudioUnit (1.7.2 - 1.7.2) <04C10813-CCE5-3333-8C72-E8E35E417B3B> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x7fff93bc3000 - 0x7fff93e37fff com.apple.CoreImage (7.98 - 1.0.1) <1E7BFFE3-4A46-317F-A1C0-A6FE040DE908> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage .framework/Versions/A/CoreImage
0x7fff93e38000 - 0x7fff93f15fef libsystem_c.dylib (763.13.0 - compatibility 1.0.0) <535C622E-2C14-3DD4-98D0-EA181DF8D582> /usr/lib/system/libsystem_c.dylib
0x7fff93f16000 - 0x7fff93f91ff7 com.apple.print.framework.PrintCore (7.1 - 366.3) <51681D6E-62D3-3B7D-9981-D3FC3568BAB6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x7fff93f92000 - 0x7fff93f97ff7 libsystem_network.dylib (??? - ???) <DD7492F9-39FB-3E73-9028-3E1027D012B9> /usr/lib/system/libsystem_network.dylib
0x7fff93f98000 - 0x7fff93fc1fff com.apple.CoreVideo (1.7 - 70.3) <9A9D4058-9935-3B0A-B1A6-27EB78D02249> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x7fff93feb000 - 0x7fff93ff9fff com.apple.NetAuth (3.2 - 3.2) <B247BEAB-E3DA-3075-A2E5-BD3371AB0FA4> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
0x7fff93ffa000 - 0x7fff9409ffff com.apple.ink.framework (1.4 - 110) <93447D68-3018-30EB-9359-56385DDE4BA7> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x7fff940bb000 - 0x7fff9410fff7 com.apple.ScalableUserInterface (1.0 - 1) <EB468227-3203-38C9-A5BC-E28576D507CF> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableU serInterface.framework/Versions/A/ScalableUserInterface
0x7fff9411f000 - 0x7fff9412efff libxar.1.dylib (??? - ???) <58B07AA0-BC12-36E3-94FC-C252719A1BDF> /usr/lib/libxar.1.dylib
0x7fff9412f000 - 0x7fff94234fff libFontParser.dylib (??? - ???) <DA05BC85-D79C-3F8E-A641-3E1E63B8E842> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontParser.dylib
0x7fff94237000 - 0x7fff9423cfff libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib
0x7fff942a1000 - 0x7fff942e0fff com.apple.AE (527.7 - 527.7) <9B3F7EC2-EDE2-3123-BAA5-C36A09BA038E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x7fff942ed000 - 0x7fff942eeff7 libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> /usr/lib/system/libsystem_blocks.dylib
0x7fff94313000 - 0x7fff94315ff7 com.apple.print.framework.Print (7.4 - 247.3) <626C58D5-2841-3329-8C32-9F4A8353F3E7> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x7fff94316000 - 0x7fff9436efff libTIFF.dylib (??? - ???) <A0FF68DE-2935-30E7-B61C-4D9D70E14AD0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x7fff9436f000 - 0x7fff94658ff7 com.apple.security (7.0 - 55148.1) <19F7B16B-B974-3274-886F-B8B2FA56032F> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff94659000 - 0x7fff94b62ff7 com.apple.RawCamera.bundle (3.14.0 - 646) <75A96BFC-1832-808B-F430-C4C9379C5A98> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
0x7fff94b6b000 - 0x7fff94b80fff com.apple.speech.synthesis.framework (4.0.74 - 4.0.74) <4DD43F2F-7688-3028-868C-4E2876AFBF21> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x7fff94b81000 - 0x7fff94c23fff com.apple.securityfoundation (5.0 - 55116) <1E062087-A9B1-3E38-8133-E9D282EA34B0> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x7fff94c90000 - 0x7fff94c90fff com.apple.Accelerate (1.7 - Accelerate 1.7) <A42ACCF8-7C09-3891-B2B3-F6048A650BA2> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x7fff94c91000 - 0x7fff94d58ff7 com.apple.ColorSync (4.7.4 - 4.7.4) <F00820E4-7753-3F41-8D3D-95CD6F174886> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x7fff94de9000 - 0x7fff94de9fff libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib
0x7fff94df7000 - 0x7fff94e45fff libauto.dylib (??? - ???) <D8AC8458-DDD0-3939-8B96-B6CED81613EF> /usr/lib/libauto.dylib
0x7fff94e46000 - 0x7fff94e73fe7 libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <BD83ECD7-B044-364F-9392-9AE1FB3BBBD6> /usr/lib/libSystem.B.dylib
0x7fff94e74000 - 0x7fff94e82ff7 libkxld.dylib (??? - ???) <9F65E9DF-2A92-3CE2-BA34-247D392DAB48> /usr/lib/system/libkxld.dylib
0x7fff94e83000 - 0x7fff94e88fff libGIF.dylib (??? - ???) <8763F67F-A881-30B6-B20E-D395B4D9FD58> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x7fff94e89000 - 0x7fff94f96fff libJP2.dylib (??? - ???) <5BE8CFA7-00C2-3BDE-BC20-5FF6DC18B415> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x7fff94f97000 - 0x7fff94f9cfff libcache.dylib (47.0.0 - compatibility 1.0.0) <3D114C8A-AD1F-3C78-9E8C-B8F3810740E5> /usr/lib/system/libcache.dylib
0x7fff94fb2000 - 0x7fff9510bfff com.apple.audio.toolbox.AudioToolbox (1.7.2 - 1.7.2) <E5B0E9FC-9823-33DD-BE31-C856CF9BB451> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x7fff9510c000 - 0x7fff95117fff com.apple.CommonAuth (2.2 - 2.0) <77E6F0D0-85B6-30B5-B99C-F57104DD2EBA> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x7fff95119000 - 0x7fff9519dff7 com.apple.ApplicationServices.ATS (317.11.0 - ???) <46ED8F7A-01E9-3733-A531-3512DA8BC113> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x7fff9519e000 - 0x7fff951ceff7 com.apple.DictionaryServices (1.2.1 - 158.2) <3107DEB8-A19E-3C51-8F2D-67CCE49FD401> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
0x7fff951cf000 - 0x7fff95254ff7 com.apple.Heimdal (2.2 - 2.0) <A9FC8FF4-8D02-3D91-B409-AF19B72AEFDE> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
0x7fff952cc000 - 0x7fff952cefff libquarantine.dylib (36.6.0 - compatibility 1.0.0) <0EBF714B-4B69-3E1F-9A7D-6BBC2AACB310> /usr/lib/system/libquarantine.dylib
0x7fff952cf000 - 0x7fff953e7fff com.apple.DesktopServices (1.6.4 - 1.6.4) <E1A724B2-0DCD-338B-86E2-76AB498DBA2E> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x7fff9544d000 - 0x7fff9544efff libDiagnosticMessagesClient.dylib (??? - ???) <3DCF577B-F126-302B-BCE2-4DB9A95B8598> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff9544f000 - 0x7fff954e9ff7 com.apple.SearchKit (1.4.0 - 1.4.0) <C5585E08-76A0-34E0-B92C-22BA9D3E083C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x7fff954ea000 - 0x7fff954f0fff libmacho.dylib (800.0.0 - compatibility 1.0.0) <548BAEB6-8C4C-3B0F-AB0C-7E1C960BCAB5> /usr/lib/system/libmacho.dylib
0x7fff959fd000 - 0x7fff95a65ff7 com.apple.audio.CoreAudio (4.0.3 - 4.0.3) <18776038-F2E5-360B-92BF-9263325E7F7D> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x7fff95af9000 - 0x7fff95afbfff com.apple.TrustEvaluationAgent (2.0 - 1) <3087AE86-B57F-3D39-9885-C93DC6FD5163> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/Tru stEvaluationAgent
0x7fff95afc000 - 0x7fff95affff7 com.apple.securityhi (4.0 - 1) <CA808DC8-7DCF-3B96-A6E8-C9A777C55DF9> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x7fff95b00000 - 0x7fff95b07fff com.apple.NetFS (4.0 - 4.0) <30AAE235-3F64-38BC-B0C9-271C8979C1C9> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x7fff95b47000 - 0x7fff95b5dff7 com.apple.ImageCapture (7.0.1 - 7.0.1) <BF4EC1CC-C998-3529-A69F-765774C66A6F> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x7fff95be2000 - 0x7fff95c0bff7 com.apple.framework.Apple80211 (7.4 - 740.2) <341665EC-C964-34E0-92E1-743A66F94A44> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
0x7fff95c0c000 - 0x7fff95c15ff7 libsystem_notify.dylib (80.1.0 - compatibility 1.0.0) <A4D651E3-D1C6-3934-AD49-7A104FD14596> /usr/lib/system/libsystem_notify.dylib
0x7fff962db000 - 0x7fff962dbfff com.apple.vecLib (3.7 - vecLib 3.7) <F968254A-2A06-3E2A-A587-151D7A2DB55A> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x7fff964ee000 - 0x7fff964eefff com.apple.ApplicationServices (41 - 41) <E23F1CED-C0FB-35A8-9657-484C5E6A32AE> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x7fff964ef000 - 0x7fff96538ff7 com.apple.framework.CoreWLAN (2.1.2 - 212.2) <F8F7E96C-C256-329B-AAEE-3F770B79EE04> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
0x7fff96539000 - 0x7fff9653afff libdnsinfo.dylib (395.11.0 - compatibility 1.0.0) <853BAAA5-270F-3FDC-B025-D448DB72E1C3> /usr/lib/system/libdnsinfo.dylib
0x7fff9653b000 - 0x7fff96576fff libsystem_info.dylib (??? - ???) <35F90252-2AE1-32C5-8D34-782C614D9639> /usr/lib/system/libsystem_info.dylib
0x7fff96577000 - 0x7fff9657dfff com.apple.DiskArbitration (2.4.1 - 2.4.1) <22E77322-56E7-3730-9289-D8825A08408F> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fff9657e000 - 0x7fff965a6fff com.apple.PerformanceAnalysis (1.11 - 11) <8D4C6382-DD92-37A2-BCFC-E89951320848> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/Perf ormanceAnalysis
0x7fff965a7000 - 0x7fff9677bff7 com.apple.CoreFoundation (6.7.2 - 635.21) <62A3402E-A4E7-391F-AD20-1EF20236CE1B> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff96b26000 - 0x7fff96b33fff libCSync.A.dylib (600.0.0 - compatibility 64.0.0) <36A15341-34AB-3D2B-96AD-15E198AA5180> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x7fff96b34000 - 0x7fff96b5fff7 com.apple.CoreServicesInternal (113.17 - 113.17) <3D222F99-6155-363D-8B84-263B80500226> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/Cor eServicesInternal
0x7fff96b60000 - 0x7fff96c3fff7 com.apple.ImageIO.framework (3.1.2 - 3.1.2) <CDA0CC54-1442-3467-91D6-44456BD93733> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x7fff96e43000 - 0x7fff96e48fff libpam.2.dylib (3.0.0 - compatibility 3.0.0) <D952F17B-200A-3A23-B9B2-7C1F7AC19189> /usr/lib/libpam.2.dylib
0x7fff96e4e000 - 0x7fff96e50fff libCVMSPluginSupport.dylib (??? - ???) <CBAE2CCA-3B42-328E-8FA5-5EF22622EAEB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginS upport.dylib
0x7fff96e51000 - 0x7fff96f04ff7 com.apple.CoreText (220.20.0 - ???) <4C3E0213-2627-37D1-8550-E30A0EA6C262> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
0x7fff96f05000 - 0x7fff96f70ff7 com.apple.framework.IOKit (2.0 - ???) <BA8FC1EB-0360-394F-9D6C-1D58BB187466> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff97ca9000 - 0x7fff97cadfff libdyld.dylib (195.6.0 - compatibility 1.0.0) <FFC59565-64BD-3B37-90A4-E2C3A422CFC1> /usr/lib/system/libdyld.dylib
0x7fff97cf3000 - 0x7fff97d17fff com.apple.Kerberos (1.0 - 1) <5A114BAB-19C7-30B1-B9FB-F40019499734> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x7fff97d18000 - 0x7fff97d1cfff libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) <FF83AFF7-42B2-306E-90AF-D539C51A4542> /usr/lib/system/libmathCommon.A.dylib
0x7fff97d9a000 - 0x7fff97da5ff7 libc++abi.dylib (14.0.0 - compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> /usr/lib/libc++abi.dylib
0x7fff97da8000 - 0x7fff97de8ff7 libcups.2.dylib (2.9.0 - compatibility 2.0.0) <BDD11BE5-A9AB-347C-AB30-FDA1C5603E68> /usr/lib/libcups.2.dylib
0x7fff97f73000 - 0x7fff97f74fff libunc.dylib (24.0.0 - compatibility 1.0.0) <0482C762-746D-37EB-A8C9-E1048CF70462> /usr/lib/system/libunc.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 3
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 4932
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=186.9M resident=93.2M(50%) swapped_out_or_unallocated=93.8M(50%)
Writable regions: Total=1.1G written=4188K(0%) resident=5404K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)
REGION TYPE VIRTUAL
=========== =======
CG shared images 128K
CoreServices 1336K
JS JIT generated code 8K
JS JIT generated code (reserved) 1.0G reserved VM address space (unallocated)
MALLOC 44.2M
MALLOC guard page 64K
SQLite page cache 192K
STACK GUARD 56.0M
Stack 10.5M
VM_ALLOCATE 64K
__CI_BITMAP 80K
__DATA 16.1M
__IMAGE 528K
__LINKEDIT 61.1M
__RC_CAMERAS 248K
__TEXT 125.9M
__UNICODE 544K
mapped file 24.7M
shared memory 312K
=========== =======
TOTAL 1.3G
TOTAL, minus reserved VM space 342.0M
Model: MacBookPro9,2, BootROM MBP91.00D3.B06, 2 processors, Intel Core i5, 2.5 GHz, 4 GB, SMC 2.2f38
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 384 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1600 MHz, 0x02FE, 0x45424A3230554638424455302D474E2D4620
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1600 MHz, 0x02FE, 0x45424A3230554638424455302D474E2D4620
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (5.106.198.19.21)
Bluetooth: Version 4.0.7f2, 2 service, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: APPLE HDD TOSHIBA MK5065GSXF, 500.11 GB
Serial ATA Device: MATSHITADVD-R UJ-8A8
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1a100000 / 2
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0x1a110000 / 3
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1d100000 / 2
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0x1d180000 / 3
USB Device: BRCM20702 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x1d181000 / 6
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821d, 0x1d181300 / 9
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0252, 0x1d183000 / 5
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x1d182000 / 4 -
How do I know if a file is binary or not?
Hi All,
I am writing a simple program to scan the pattern of some ASCII files at some directory.
However, I want to filter out all of the binary file. I wonder if there is any way to test if the file is binary or not.
(note: can't use the file extension 'cause they could have the extension of the txt but still are binary file)
Thank You.In general, you can't reliably.
ASCII? My native language contains non-ASCII characters (8th bit set). I thank you not to consider my language "binary". There are buggy programs out there that do, and refuse to work correctly with my text files.
There are character set encodings that have "escape characters" for multi-byte values. E.g. UTF-8 encodes non-ASCII characters as multi-byte entities that look like "binary data" when viewed byte-by-byte.
The presence of NUL bytes might be a hint. Unless someone writes e.g. straight Unicode into a file; lots of NULs for ASCII text there.
If you insist on writing xenophobic software, look for 8th bit set and characters less than space (excluding tab). And damn the furriners, they should all use English anyway. -
right forum? first time here. none of the options seem perfect. so i guess this applies to 'setup.' i tried to describe what's happening verbosely from the start of a file transfer to completion of writing file to 2nd hard drive.
win 7 64bit home - i2600k 3.4ghz - 8gb of ram - 2hdd 1 ssd
I have this problem when transferring files between 2 internal hard drives. one is unhealthy (slow write speeds but not looking for advice to replace it because it serves its unimportant purpose). so, the unhealthy drive drops into PIO mode - that's acceptable.
however, a little over 1gb of any file transfer is cached in RAM during the file transfer. after the file transfer window closes, indicating the transfer is "complete" (HA!), it still has 1gb to write from RAM which takes about 30minutes. This would
not be a problem if it did not also earmark an additional 5gb of ram (never in use), leaving 1gb or less 'free' for programs. this needlessly causes my pc to be sluggish - moreso than a typical file transfer file between 2 healthy drives. i have windows write
caching turned off on all drives. so this is a different setting i can't figure out nor find after 2 hours of google searches.
info from taskmanager and resource monitor.
idle estimates: total 8175, cached 532, available 7218, free 6771 and the graph in taskman shows about 1gb memory in use.
at the start of a file transfer: 8175, 2661, 6070, 4511free and ~2gb of ram used in graph. No problems, yet.
however, as the transfer goes on, the free ram value drops to less than 1gb (1gb normal +1gb temporary transfer cache +5gb of unused earmarked space = ~7gb), cached value increases, but the amount of used ram remains relatively unchanged (2gb
during transfer and slowly drops to idle values as remaining bits are written to the 2nd hard drive). the free value is even slower to return to idle norms after the transfer completes writing data to 2nd hard drive from RAM. so, it's earmarking an addition
5gb of ram that are completely unused during this process. *****This is my problem*****
Is there any way to turn this function off or limit its maximum size. in addition to sluggishness, it poses risk to data integrity from system errors/power loss, and it's difficult to discern the actual time of transfer completion, which makes it difficult
to know when it's safe to shutdown my pc (any data left in ram is lost, and the file transfer is ruined - as of now i have to use resmon and look through what's writing to disk2 -> sometimes easy to forget about it when the transfer window closed 20-30minutes
ago and the file is still in the process of writing to the 2nd disk).
Any solution would be nice, and a little extra info like whether it can be applied to only 1 hard drive would be excellent.Thanks for the reply.
(Although i have an undergrad degeee in computers, it's been 15years and my vocab is terrible. so, i will try my best. keep an open mind. it's not my occupation, so i rarely have to communicate ideas regarding PCs)
It operates the same way regardless of the write-cache option being enabled. It's not using the 5gb for read/write buffer - it's merely bloating standby memory during the transfer process at a rate similar to the write speed of destination (for my situation).
at this point i don't expect a solution. i've tried to look through lists of known memory leaks but i dont have the vocabulary to be 100% certain this problem is not documented. as of now it can't affect many people - NAS's with low bandwidth networks, usb
attached storage etc. do bugs get forwarded from these forums? below i can outline the consistent and repeatable nature not only on my pc but on others' pcs as well (2012 forum post i found).
I've been testing and paying a little more attention and i can describe it better:
Just the Facts
Resmon Memory Info: "In Use" stays consistent ~1gb (idle amount and roughly the same when nothing else is running during file transfer)
"Modified" contains file transfer
data (meta data?) which remains consistent at little over 1gb (minor fluctuations due to working as a buffer). After the file transfer window closes "Modified" slowly diminishes as it finishes lazy writing (i believe that's the term). I forget idle
pc amount, but after transfer this is ony 58mb)
"Standby" as the transfer starts it immediately rises to ~2gb. I'm sure this initial jump is normal. However, it will bloat well over 5gb over time with a large enough transfer increasing at a consistent rate during the entire transfer
process. the crux of the matter.
"Free" will drop as far as 35-50megabytes over time.
as the transfer starts, the "Standby" increases by an immediate chunk then at a slow rate throughout entire transfer process(~1mb/s). once writing metadata to RAM no longer occurs, the "Modified" ram slowly (@500kb/s matching resmon disk
activity for that file write) diminishes as it finishes lazy writing, After file is 100% written to destination drive, "Standby" remains a bloated figure long after.
a 1.4gb transfer filled 3677MB of "Standby" by the time writing finished and modified ram cleared. after 20minutes, it's still bloated at 3696MB. after 30-40mins it's down to 2300mb - this is about what it jumps immediately to when transfer starts
- it now remains at this level until i reboot.
I notice the "standby" is available to programs. but they do not operate well. e.g. a 480p trailer on IMDB.com will stop-and-go every 2-3seconds (stream buffers fine/fast) - this would be during the worst case scenario of 35-50mb "Free"
ram. my pc isn't and never was the latest and greatest, but choppy video never happens even with 1 or 2 resource hogs running (video processing/encoding, games, etc).
Conjecture Below
i think it's a problem when one device is significantly slower at writing than the source device - this is the factor that i share with others having this problem. when data is written to modified ram then sent to destination, standby memory is expanded
until it completely or nearly fills all available RAM - If the transfer size is large enough relative to how slow the write speed of destination device is. otherwise it fills it up as much as the file size/write speed issue allows. the term "memory leak"
is used below but may not technically be one, but it's an apt description in layman's terms.
i saw a similar post in these forums (link at end). My problem is repeatable and consistent with others' reports. I wasn't sure if i should revive it with a reply. some of these online message boards (maybe not this one) are extremely picky
and sensitive, lol.the world will end if an old thread revives - even if for a good reason.
i can answer some of the ancillary issues. one person (Friday, September 21, 2012 8:33 PM) mentions not being able to shutdown, i asume he means stuck on the shutdown screen - this is because lazy writing has not completed - his nas write speed is significantly
slower than reading from source - the last bits of data left in ram still needs to be writen to the destination. shutdown will stall for as long as needed until the data finishes writing to destination to prevent data loss.
another person (Monday, September 24, 2012 6:31 PM) mentions the rate of the leak, but the rate is more likely a function of read speed from source relative to write speed of destination. which explains why my standby expands closer to a 1:1 ratio compared
to his 1:100 (he said 10mb per 1000mb)
we all have the same exact results/behaviour, but slightly different rates of bloating/leaking. as the file is written from from the ram to the destination, standby increases during this time - not a problem if read and write speeds are roughly equal (unless
your transfering a terabytes then i bet the problem could rear its head). when writing lags, it gives the opportunity for standby ram to bloat with no maximum except the amount of installed ram. slower the write speed, the worse the problem.
The reply on Wednesday, September 26, 2012 3:04 AM has before and after pictures of exactly what i described in
"Just the Facts". Specifically the resmon image showing the Memory Tab.
The kb2647452 hotfix seems to do some weird things relative to this problem. in the posts that mention they've applied it: after file completes it looks like the "standby" bloat is now "in use" bloat. as per info from Tuesday, October
09, 2012 10:36 PM - bobmtl in an earlier post applies the patch. compare images from earlier posts to his post on this date. seems like a worse problem. Also, his process list indicates it's very unlikely they add up to ~4gb as listed in the color coded bar.
wheres the extra gb's coming from? likely the same culprit of what filled up "standby" memory for me and others. it looks like this patch relative to this problem merely recategorizes the bloat - just changes the title it falls under.
Link:
https://social.technet.microsoft.com/Forums/windows/en-US/955b600f-976d-4c09-86dc-2ff19e726baf/memory-leak-in-windows-7-64bit-when-writing-to-a-network-shared-disk?forum=w7itpronetworking -
Transferring files from old computer with fire wire
I'm transferring files from my old computer to my new one. The old one has three hard drives. Everything from the startup drive transferred OK over fire wire, but the new computer doesn't see the 2nd and 3rd hard drives on the old one. Is there a way to link these? Thanks!
Click here and follow the instructions, setting up FireWire networking from System Preferences if desired. FireWire Target Disk mode will only connect to the master ATA drive on the ATA 0 bus, and will shut down the computer if there's nothing at that location.
(30151) -
Guys, how can I check if a file I am about to read is binary or ASCII text?
Edited by: JRAEL on Jan 10, 2010 5:09 AMJRAEL wrote:
Guys, how can I check if a file I am about to read is binary or ASCII text?Use the GNU file command
GNU> file file_I_am_about_to_read -
i transfer the jpg file but it shows no previwe available
and the transfered file is always 8kb short
//package ksm.mulitiserver;
import java.io.*;
import java.net.*;
import java.sql.*;
public class MultiServer
private ServerSocket Server;
private Socket Client;
private int ConnectionCounter;
private int Port;
public MultiServer()
ConnectionCounter=0;
Port=5000;
Init();
public void Init()
try
Server=new ServerSocket(4444);
while(true)
WaitingForConnection();
CreateThread();
catch(Exception e)
System.out.println(e);
public void CreateThread()
try
System.out.println("Total Active Users:\t"+ConnectionCounter);
ConnectionCounter++;
new ServerThread(Client,ConnectionCounter);
catch(Exception e)
System.out.println(e);
return;
public void WaitingForConnection()
System.out.println("Waiting For Connection "+Server.getInetAddress().getHostName());
System.out.println("Listening on port: "+Server.getLocalPort());
try
do
Client=Server.accept();
while(Client==null);
System.out.println("Client Found:\t"+Client.getInetAddress().getHostName());
catch(Exception e)
System.out.println(e);
public static void main(String a[])
new MultiServer();
// client
//package ksm.mulitiserver;
import java.io.*;
import java.net.*;
public class Client
{ String s;
public int Client(String s1)
{ s=s1;
Processing();
return 0;
public void Processing()
try
Socket client=new Socket("localhost",4444);
BufferedReader br;
BufferedWriter bw;
String strmsg;
br=new BufferedReader(new InputStreamReader(client.getInputStream()));
bw=new BufferedWriter(new OutputStreamWriter(client.getOutputStream()));
System.out.println("Connected to "+client.getInetAddress().getHostName());
String strinput=null;
String strrecv=null;
bw.write(s+"\n");
bw.flush();
strrecv=s.substring(0,1);
if(s.equals("u"))
FileInputStream fis=new FileInputStream("e:/mah.jpg");
OutputStream out = client.getOutputStream();
byte[] buffer = new byte[10];
int bytesRead;
while ((bytesRead = fis.read(buffer)) > 0) {
out.write(buffer, 0, bytesRead);
out.flush(); // Very important
fis.close(); // Also very important
else
{ FileOutputStream fos=new FileOutputStream("c:/nextcalltoclient.jpg");
InputStream in = client.getInputStream();
byte[] buffer = new byte[100];
int bytesRead;
while ((bytesRead = in.read(buffer)) > 0)
fos.write(buffer, 0, bytesRead);
fos.flush(); // Very important
fos.close(); // Also very important
bw.close();
br.close();
//client.close();
catch(Exception e)
System.out.println(e);
public static void main(String a[])
{ Client c=new Client();
int c1=c.Client("u");
c1=c.Client("d");
// serverthread
//package ksm.mulitiserver;
import java.io.*;
import java.net.*;
import java.sql.*;
import java.lang.*;
public class ServerThread extends Thread
public Socket Client;
public int ID;
public ServerThread()
public ServerThread(Socket stemp,int id)
try
Client=stemp;
ID=id;
catch(Exception e)
System.out.println(e);
this.start();
public void run()
Processing();
public void Processing()
try
BufferedReader br;
BufferedWriter bw;
//String strmsg;
br=new BufferedReader(new InputStreamReader(Client.getInputStream()));
bw=new BufferedWriter(new OutputStreamWriter(Client.getOutputStream()));
String strquerytext=new String();
String strresult=new String();
strresult=br.readLine();
if(strresult.equals("u"))
FileOutputStream fos=new FileOutputStream("g:/firstcalltoclient.jpg");
InputStream in = Client.getInputStream();
byte[] buffer = new byte[10];
int bytesRead;
while ((bytesRead = in.read(buffer)) > 0)
fos.write(buffer, 0, bytesRead);
fos.flush(); // Very important
fos.close(); // Also very important
System.out.println("file uplaod finish");
else
{ FileInputStream fis=new FileInputStream("g:/mah.jpg");
OutputStream out = Client.getOutputStream();
byte[] buffer = new byte[100];
int bytesRead;
while ((bytesRead = fis.read(buffer)) > 0) {
out.write(buffer, 0, bytesRead);
out.flush(); // Very important
fis.close(); // Also very important
System.out.println("file download finish");
//new code ends here
br.close();
bw.close();
System.out.println("Client:\t"+Client.getInetAddress().getHostName()+" terminated");
Client.close();
catch(Exception e)
System.out.println(e);
what is wrong with code???
i also tried varying the buffer size.1. It appears your client and server code are mixed. They should be entirely seperate.
2. You can't use a text reader on binary input.
3. Don't mix binary and text data without differentiating them.
4. Now you are sending data and only data via the socket. You should be sending a message. That message contains data like a name and binary data.
I would guess the reason you are seeing a difference is because you are wrapping the stream in a text reader. The text reader reads a block, which moves the stream position. When you start reading the stream directly the position is way past where the single line that you think you are reading is. -
ASCII Mode Connection & FTP LIST command
Hi All,
I want to realize a simple Java FTP Client. At the beginning I tought to write a dir/file listing method, but I have no less difficulties to do it.
As RFC says LIST is the appropriate command to be implemented.
As I read RFC I should to open an ASCII Mode Connection but I don't know How.
Connecting some ftp Server and sending it a "LIST" command I receive these replyes:
331 User name okay, need password.
230 User logged in, proceed.
150 Opening ASCII mode data connection for /bin/ls.
426 Data connection closed, transfer aborted.
So, after 150 I should receive directory content, but it doesn't work. On the other side, if I want to send "HELP" command, using readLine() method I can display all reply from server.
How can I make directory listing for my FTP Client?
Thanks a lot...I prefer fireftp, but yea thats what I use to do any sort of ftp with the crio. At the time I was testing it I was able to log onto the ftp server of the crio, list directory and do get and put operations. Good to hear its working fine for you though.
Looks like the device is having problems now (has become completely unresponsive) and is deployed 350 miles from here so we have some new problems to deal with. Maybe it was the device, I am not sure but I guess this is on hold until the device is back up.
[will work for kudos] -
No response from server error when transferring files
Hi, I just changed my website over from a windows based server to a linux one. I wasn't having any problems and now I can't get my files to load onto the server. I contacted the server provider who has tested things on their end and say the problem is with dreamweaver. This is the message I have been getting...
no response from server while transferring file.... reconnecting.
It says that it is putting the file, and then I receive this message again..
no response from server while transferring. 2 attempts made. try again or cancel?
if I hit cancel, then it starts putting the file and sometimes it goes through, sometimes not.
Now if I manage to get the file through, when I post it on the web and click on the link it says the file is damaged or corrupted.
Anyone have any idea how to correct this? I am new to dreamweaver and web design and I thought maybe the problem has to do with my site definition, but I can't see that there is a problem. I have noticed that before I changed the site definition for the linux server I could easily preview my pages in the browser without having to post it to the site. Now when I try to preview my pages it says that I have to put it to the site in order to view it. Could that be related?
I am working on a Mac and haven't installed a firewall.
Any help is much appreciated!!!
Thank you!In the Site Settings (Advanced Mode) there is an option where you set up the remote connection for Passive FTP. Try checking that box and see if you are able to connect.
Maybe you are looking for
-
Expand/Collaps Control in Adobe LiveCycle Desinger Forms.
Is there a control in LC Forms to allow Expand/Collaps of a repeating subform elements ? Basically, I want to hide/show a list of elements (repeating subform) using a Control that looks like "+" (expand) and "-" (collaps). How to implement this featu
-
Automatic Update without removing songs
Hello, I am one of the somewhat fortunate people to have an iPod with more memory than is available on my computer. Unfortunately, this puts me in an awkward position with Automatic Updates from iTunes. Since I can't keep all the songs from my iPod o
-
Is there and optimum photo size and resolution for use on the ipad?
Is there an optimum photo size physical and resolution for use on the Ipad.
-
Microsoft Office 2008 & other programs take forever to load & run
Ever since I installed Snow Leopard on my laptop, my entire Microsoft Office 2008 suite takes forever to load and to operate. It also seems to have slowed down the processor for almost all other applications, especially Safari. I have Snow Leopard on
-
is there a way of wiping ALL Safari data, i.e. restoring Safari ? I think my Safari has a virus..as every time I open it, a web page called 'search quick' comes up. Its bombarded my Safari with constant pop up adverts almost every time I click!