Uploading Cfg file to Cisco 831
Really new here to Cisco. Our netwok administrator was let go and I am running the show now but am having a problem with uploading a config file to our Cisco 831 which is acting as a firewall to a T1 line. I am so newbie to Cisco so bear with me please! Our router was reset to defaults(yea, I know) and of course the config file was lost on the router but... I did find these files saved on one of our file servers. in a folder TFTP-Root
c831-k9o3y6-mz.123-2.XC2.bin
startup-config
cisco831-config
I can see the files were backed up and on this server there is a TFTP server that has been ran. Here are my questions.
1. To get the router back to where it was with these files, which ones do I need to upload?
2. Do I need to upload a boot file and config file or just one or the other?
3. I did try to upload the startup-config file using telnet and got as far as the TFTP program trying to load it to the Cisco but an error came up about the security range for the TFTP didnt include 10.10.10.1??? The wierd thing is the TFTP server is 192.168.1.10 and the Cisco is 192.168.1.252. I can ping the Cisco but I cannot figure out why the Cisco is sending to the TFTP server that its IP is 10.10.10.1.
I appreciate any help since right now our office netork has no email till I reset this.
Thanks
Jim
Jim
I do not think it is a stupid question. When you post to a public forum like this, all kinds of people will see what you post. It is wise to want to protect yourself.
I would suggest that as a starting point that you replace any passwords with "" (or some silimar string which shows us what passwords were configured but disguises the actual password).
I would suggest that you disguise any IP addresses that are in public address space (I believe that addresses in private space do not need to be disguised). Some people post configs with the address blanked out but I find this is sometimes counter-productive. I would suggest that you change the first octet of any public address in your config, and be careful that the first octet still shows whether this was class A, class B or class C address space. If you disguise the first octet then if the second, third, and fourth octet are the same as your config we will not have any real idea where you are, but there are valuable indications of what subnetting is being done, and perhaps other things that may be helpful.
I believe that it is probably sufficient to disguise any passwords and disguise any public IP addresses. If you look through your config and find other things that concern you (perhaps there are comments on interfaces about what they connect to that you do not want to become public) feel free to remove or to alter/disguise them.
And if you are really nervous about posting config details on the forum, you can email them to me privately. My email address is available through my forum profile. Some other forum contributors also make their email addresses available through their forum profile.
HTH
Rick
Similar Messages
-
Issue when I upload CSV file for insert contact list on Cisco Attendant Console Advanced
Hi Friends,
I have error "Provided file is not valid CSV File" when I upload CSV file to Cisco Attendant Console Advanced system. I'm not sure what happen about my CSV. My purpose is insert contact list to system and create CSV base on documentation.
Anyone have idea to solve this issue please kindly help me.
ThanksYou are right, whenever Cisco device boots, the IOS files gets loaded on the DRAM.
But in this process, some temporary files are also generated which gets saved in the flash/Disk, that’s the only reason you got these error messages. It’s not recommended at all to have less space in the Flash than what is recommended on Cisco.com. I would say please remove some files from Disk and have minimum 256 MB flash otherwise your router may drop into rommon mode at the time of next reload.
Well, it’s good to upgrade the bootstarp image too. Currently you are running 15.X IOS code, I would say run 15.X bootstarp image on the box.
You may download bootstarp image for 7206VRX NPEG2 from the link below:-
http://software.cisco.com/download/release.html?mdfid=282188585&flowid=1380&softwareid=280805685&release=15.2.4S4&relind=AVAILABLE&rellifecycle=ED&reltype=latest
If you want to know the procedure of the upgrade, click the link mentioned below:-
http://www.cisco.com/en/US/docs/ios/12_2/configfun/command/reference/frf010.html#wp1017654
-Amant -
Unable to Open .cfg file in NVRAM or Flash in Cisco GNS3 Router
Hello Cisco Community
A program that I'm using to manage cisco devices has created a .cfg file in nvram in a gns3 router. When the program tries to access the I get the following error message:
'Could not open policy cfg file'
The file is a Tcl file. The full error message is as follows:
+>(tcl)#if { [catch { set source [open nvram:/syslogTEST46.cfg] } fid] } {
+>(tcl)# puts stderr "Could not open policy cfg file: $fid "
Can someone please tell me what could cause the .cfg from being opened?
Your expeditious assistance with this will be greatly appreciated.
Cheers
CarltonYou're missing an access mode:
if { [catch {set source [open nvram:/syslogTEST46.cfg r] } fid] } { -
Cisco cfg files parser.
Hello, dear experts!
There was a program called Nipper, which could analyze cisco cfg files and make a html report. It was pretty useful to quickly understand network configuration and analyze network infrastructure. Unfortunately I guess this program doesn't supported anymore. Does anybody know any other program, which can analyze cisco cfg file and make graphical reports, including network infrastructure and security risks.
Thank you!You can download an evaluation version of several of the licensed products (Cisco Prime LMS or Solarwinds Orion Network Configuration Manager for example) that include analysis and reporting on your configurations' soundness and compare them against best practices and standard vulnerability and compliance standards.
Here is a listing of the available LMS reports.
See here for the NCM coverage.
These, and any of the reputable tools, will require a purchased license for long term use. -
Edition of a cisco .cfg file
Hi,
I would like to edit .cfg configuration file of Cisco SLM2008. However, I can't read the file because I don't have a good editor(.cfg is a binary file).
Someone can help me?
Thanks!Hi,
If I recall from my deep long history those files were binary files and you could only change the configuration via the GUI.
regards Dave -
Is there a way to edit the saved StartCfg.cfg file on a Linksys SRW switch?
I have a SRW248G4 switch that I want to edit the StartCfg.cfg file to use as a template for several new switches. The content of the startcfg.cfg file looks to be binary or mostly binary. Is there a way to get the switch to save and load the file in text format similar to the Cisco switches?
An alternate option is to create a templete config on one of the new switches with all the standard settings, save it, upload that template config to the other new switches and change the things that are different/unique from the web interface. This is possible but will take a lot longer.
Thanks,
Kerry Melcher, CCNPYou cannot edit the library file itself, but you could perhaps edit the XLM file and then import that, basically following the procedure you use when the library file has been damaged:
http://support.apple.com/kb/HT1451
You'll need to be very careful about editing the XML, though, as it's really easy to completely mess up your library if you edit the wrong thing. Make absolutely sure you have backup copies of the original iTunes library file and XML file, so you can put them back just in case something does go wrong.
Hope this helps. -
Please help! safari crashes every time when I try to upload a file
Hi, can anyone please help me recover my safari? It quits unexpectedly every time when I try to upload a file.
I have no clue what's going on. I tried to reset my safari setting and I don't know what else I can do to fix this.
Thank you in advance for anyone who could help.
Here's the report on the crash:
Process: Safari [387]
Path: /Applications/Safari.app/Contents/MacOS/Safari
Identifier: com.apple.Safari
Version: 7.1.3 (9537.85.12.18)
Build Info: WebBrowser-7537085012018000~2
Code Type: X86-64 (Native)
Parent Process: launchd [141]
Responsible: Safari [387]
User ID: 501
Date/Time: 2015-03-10 14:52:56.037 +0400
OS Version: Mac OS X 10.9.5 (13F34)
Report Version: 11
Anonymous UUID: 73E47C1F-B2F5-1AD2-4CEF-2C6E6AB9771F
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000bbadbeef
VM Regions Near 0xbbadbeef:
-->
__TEXT 0000000101697000-0000000101698000 [ 4K] r-x/rwx SM=COW /Applications/Safari.app/Contents/MacOS/Safari
Application Specific Information:
Process Model:
Multiple Web Processes
Invalid WebProcess IPC Message:
Message "WebPageProxy.DecidePolicyForNavigationAction"
Application Specific Signatures:
Invalid Web Process IPC Message ID "WebPageProxy.DecidePolicyForNavigationAction"
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.JavaScriptCore 0x00000001021714de WTFCrash + 62
1 com.apple.Safari.framework 0x00000001016b1a94 Safari::invalidMessageFunction(OpaqueWKString const*) + 239
2 com.apple.WebKit 0x000000010271c46c WebKit::WebContext::didReceiveInvalidMessage(IPC::StringReference const&, IPC::StringReference const&) + 176
3 com.apple.WebKit 0x00000001027a5818 WebKit::WebProcessProxy::didReceiveInvalidMessage(IPC::Connection*, IPC::StringReference, IPC::StringReference) + 184
4 com.apple.WebKit 0x00000001026626fb IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::MessageDecoder, std::__1::default_delete<IPC::MessageDecoder> >) + 169
5 com.apple.WebKit 0x0000000102664796 IPC::Connection::dispatchOneMessage() + 106
6 com.apple.JavaScriptCore 0x00000001023ffcf5 ***::RunLoop::performWork() + 421
7 com.apple.JavaScriptCore 0x00000001024003d2 ***::RunLoop::performWork(void*) + 34
8 com.apple.CoreFoundation 0x00007fff921dd5b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
9 com.apple.CoreFoundation 0x00007fff921cec62 __CFRunLoopDoSources0 + 242
10 com.apple.CoreFoundation 0x00007fff921ce3ef __CFRunLoopRun + 831
11 com.apple.CoreFoundation 0x00007fff921cde75 CFRunLoopRunSpecific + 309
12 com.apple.HIToolbox 0x00007fff95627a0d RunCurrentEventLoopInMode + 226
13 com.apple.HIToolbox 0x00007fff956277b7 ReceiveNextEventCommon + 479
14 com.apple.HIToolbox 0x00007fff956275bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
15 com.apple.AppKit 0x00007fff8dd7324e _DPSNextEvent + 1434
16 com.apple.AppKit 0x00007fff8dd7289b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
17 com.apple.Safari.framework 0x00000001016fa860 -[BrowserApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 161
18 com.apple.AppKit 0x00007fff8dd6699c -[NSApplication run] + 553
19 com.apple.AppKit 0x00007fff8dd51783 NSApplicationMain + 940
20 com.apple.Safari.framework 0x00000001018cd86d SafariMain + 267
21 libdyld.dylib 0x00007fff8bf015fd start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff96573662 kevent64 + 10
1 libdispatch.dylib 0x00007fff954d1421 _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff954d1136 _dispatch_mgr_thread + 52
Thread 2:: WebCore: IconDatabase
0 libsystem_kernel.dylib 0x00007fff96572716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff88d76c3b _pthread_cond_wait + 727
2 com.apple.WebCore 0x0000000102d72e1b WebCore::IconDatabase::syncThreadMainLoop() + 411
3 com.apple.WebCore 0x0000000102d707c7 WebCore::IconDatabase::iconDatabaseSyncThread() + 295
4 com.apple.JavaScriptCore 0x0000000101fa16ef ***::wtfThreadEntryPoint(void*) + 15
5 libsystem_pthread.dylib 0x00007fff88d74899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff88d7472a _pthread_start + 137
7 libsystem_pthread.dylib 0x00007fff88d78fc9 thread_start + 13
Thread 3:: com.apple.CoreAnimation.render-server
0 libsystem_kernel.dylib 0x00007fff9656ea1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff9656dd18 mach_msg + 64
2 com.apple.QuartzCore 0x00007fff90f46377 CA::Render::Server::server_thread(void*) + 195
3 com.apple.QuartzCore 0x00007fff90f462ad thread_fun + 25
4 libsystem_pthread.dylib 0x00007fff88d74899 _pthread_body + 138
5 libsystem_pthread.dylib 0x00007fff88d7472a _pthread_start + 137
6 libsystem_pthread.dylib 0x00007fff88d78fc9 thread_start + 13
Thread 4:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff9656ea1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff9656dd18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff921cef15 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff921ce539 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff921cde75 CFRunLoopRunSpecific + 309
5 com.apple.Foundation 0x00007fff88f99f87 +[NSURLConnection(Loader) _resourceLoadLoop:] + 348
6 com.apple.Foundation 0x00007fff88f99d8b __NSThread__main__ + 1318
7 libsystem_pthread.dylib 0x00007fff88d74899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff88d7472a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff88d78fc9 thread_start + 13
Thread 5:: JavaScriptCore::BlockFree
0 libsystem_kernel.dylib 0x00007fff96572716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff88d76c3b _pthread_cond_wait + 727
2 libc++.1.dylib 0x00007fff8c624d43 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
3 com.apple.JavaScriptCore 0x0000000101fab5b3 JSC::BlockAllocator::blockFreeingThreadMain() + 227
4 com.apple.JavaScriptCore 0x0000000101fa16ef ***::wtfThreadEntryPoint(void*) + 15
5 libsystem_pthread.dylib 0x00007fff88d74899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff88d7472a _pthread_start + 137
7 libsystem_pthread.dylib 0x00007fff88d78fc9 thread_start + 13
Thread 6:: JavaScriptCore::Marking
0 libsystem_kernel.dylib 0x00007fff96572716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff88d76c3b _pthread_cond_wait + 727
2 libc++.1.dylib 0x00007fff8c624d43 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
3 com.apple.JavaScriptCore 0x0000000101fabdfb JSC::GCThread::waitForNextPhase() + 171
4 com.apple.JavaScriptCore 0x0000000101fabc58 JSC::GCThread::gcThreadMain() + 88
5 com.apple.JavaScriptCore 0x0000000101fa16ef ***::wtfThreadEntryPoint(void*) + 15
6 libsystem_pthread.dylib 0x00007fff88d74899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff88d7472a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff88d78fc9 thread_start + 13
Thread 7:: JavaScriptCore::Marking
0 libsystem_kernel.dylib 0x00007fff96572716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff88d76c3b _pthread_cond_wait + 727
2 libc++.1.dylib 0x00007fff8c624d43 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
3 com.apple.JavaScriptCore 0x0000000101fabdfb JSC::GCThread::waitForNextPhase() + 171
4 com.apple.JavaScriptCore 0x0000000101fabc58 JSC::GCThread::gcThreadMain() + 88
5 com.apple.JavaScriptCore 0x0000000101fa16ef ***::wtfThreadEntryPoint(void*) + 15
6 libsystem_pthread.dylib 0x00007fff88d74899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff88d7472a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff88d78fc9 thread_start + 13
Thread 8:: JavaScriptCore::Marking
0 libsystem_kernel.dylib 0x00007fff96572716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff88d76c3b _pthread_cond_wait + 727
2 libc++.1.dylib 0x00007fff8c624d43 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
3 com.apple.JavaScriptCore 0x0000000101fabdfb JSC::GCThread::waitForNextPhase() + 171
4 com.apple.JavaScriptCore 0x0000000101fabc58 JSC::GCThread::gcThreadMain() + 88
5 com.apple.JavaScriptCore 0x0000000101fa16ef ***::wtfThreadEntryPoint(void*) + 15
6 libsystem_pthread.dylib 0x00007fff88d74899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff88d7472a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff88d78fc9 thread_start + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff9656ea1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff9656dd18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff921cef15 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff921ce539 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff921cde75 CFRunLoopRunSpecific + 309
5 com.apple.AppKit 0x00007fff8df1305e _NSEventThread + 144
6 libsystem_pthread.dylib 0x00007fff88d74899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff88d7472a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff88d78fc9 thread_start + 13
Thread 10:: Safari: SafeBrowsingManager
0 libsystem_kernel.dylib 0x00007fff9656ea1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff9656dd18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff921cef15 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff921ce539 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff921cde75 CFRunLoopRunSpecific + 309
5 com.apple.Safari.framework 0x000000010187cfa3 Safari::MessageRunLoop::threadBody() + 119
6 com.apple.JavaScriptCore 0x0000000101fa16ef ***::wtfThreadEntryPoint(void*) + 15
7 libsystem_pthread.dylib 0x00007fff88d74899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff88d7472a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff88d78fc9 thread_start + 13
Thread 11:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff965729aa __select + 10
1 com.apple.CoreFoundation 0x00007fff9221aa03 __CFSocketManager + 867
2 libsystem_pthread.dylib 0x00007fff88d74899 _pthread_body + 138
3 libsystem_pthread.dylib 0x00007fff88d7472a _pthread_start + 137
4 libsystem_pthread.dylib 0x00007fff88d78fc9 thread_start + 13
Thread 12:
0 libsystem_kernel.dylib 0x00007fff96572e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff88d75f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff88d78fb9 start_wqthread + 13
Thread 13:
0 libsystem_kernel.dylib 0x00007fff96572e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff88d75f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff88d78fb9 start_wqthread + 13
Thread 14:
0 libsystem_kernel.dylib 0x00007fff96572e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff88d75f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff88d78fb9 start_wqthread + 13
Thread 15:
0 libsystem_kernel.dylib 0x00007fff96572e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff88d75f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff88d78fb9 start_wqthread + 13
Thread 16:
0 libsystem_kernel.dylib 0x00007fff96572e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff88d75f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff88d78fb9 start_wqthread + 13
Thread 17:
0 libsystem_kernel.dylib 0x00007fff96572a3a __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff95c1adc0 nanosleep + 200
2 com.apple.Foundation 0x00007fff88fe3912 +[NSThread sleepUntilDate:] + 176
3 com.apple.imageKit 0x00007fff8fcbc3dc -[IKTaskManager taskLoop] + 1906
4 com.apple.Foundation 0x00007fff88f99d8b __NSThread__main__ + 1318
5 libsystem_pthread.dylib 0x00007fff88d74899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff88d7472a _pthread_start + 137
7 libsystem_pthread.dylib 0x00007fff88d78fc9 thread_start + 13
Thread 18:
0 libsystem_kernel.dylib 0x00007fff96572716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff88d76c77 _pthread_cond_wait + 787
2 com.apple.FinderKit 0x00007fff8c8b2f06 TConditionVariable::WaitWithTimeout(TMutex&, unsigned long long, bool&) + 72
3 com.apple.FinderKit 0x00007fff8c8db342 TThumbnailExtractorThread::Main() + 454
4 com.apple.FinderKit 0x00007fff8c8b32e6 TThread::GlueImpl(TThread*, TFunctorBase*) + 20
5 com.apple.FinderKit 0x00007fff8c8b3186 TThread::MainGlue(void*) + 24
6 libsystem_pthread.dylib 0x00007fff88d74899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff88d7472a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff88d78fc9 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00000000bbadbeef rbx: 0x0000600000a21900 rcx: 0x0000000000000000 rdx: 0x00007fff7b434710
rdi: 0x0000000000000000 rsi: 0x0000170000001700 rbp: 0x00007fff5e567210 rsp: 0x00007fff5e567100
r8: 0x0000000000000040 r9: 0x00007fff5e566e00 r10: 0x0000000000000000 r11: 0x0000000000000246
r12: 0x00000001016b19a5 r13: 0x00007fff5e567570 r14: 0x0000600000871980 r15: 0x00007fff8dae3080
rip: 0x00000001021714de rfl: 0x0000000000010202 cr2: 0x00000000bbadbeef
Logical CPU: 1
Error Code: 0x00000006
Trap Number: 14
Binary Images:
0x101697000 - 0x101697ffd com.apple.Safari (7.1.3 - 9537.85.12.18) <4048D264-D3E5-392F-9A38-11504151F889> /Applications/Safari.app/Contents/MacOS/Safari
0x10169d000 - 0x101ba8ffb com.apple.Safari.framework (9537 - 9537.85.12.18) <74163255-BC5F-3F42-A28E-2CB768DE3AE8> /System/Library/StagedFrameworks/Safari/Safari.framework/Versions/A/Safari
0x101f97000 - 0x10244fff5 com.apple.JavaScriptCore (9600 - 9600.3.13) <E6D1BAE2-4A31-3B4B-A061-539EB55A7CB6> /System/Library/StagedFrameworks/Safari/JavaScriptCore.framework/Versions/A/Jav aScriptCore
0x1025be000 - 0x10285aff7 com.apple.WebKit (9600 - 9600.3.18) <42BDFEBB-805D-3022-A187-F7B59FF05480> /System/Library/StagedFrameworks/Safari/WebKit.framework/Versions/A/WebKit
0x102b38000 - 0x102b38fff com.apple.WebKit2 (9600 - 9600.3.18) <240E414A-A118-36A2-A3A9-E17447955FC0> /System/Library/StagedFrameworks/Safari/WebKit2.framework/Versions/A/WebKit2
0x102b3d000 - 0x102c71ff7 com.apple.WebKitLegacy (9600 - 9600.3.18) <FD53B909-4D0A-3473-8F88-E192AEB82809> /System/Library/StagedFrameworks/Safari/WebKitLegacy.framework/Versions/A/WebKi tLegacy
0x102d6c000 - 0x103c2cff5 com.apple.WebCore (9600 - 9600.3.15) <949535EF-76A2-3E9C-AEF5-E18E451C2C87> /System/Library/StagedFrameworks/Safari/WebCore.framework/Versions/A/WebCore
0x1046d4000 - 0x1046d4feb +cl_kernels (???) <A378E962-2BB3-4CF3-8AA2-63617102E095> cl_kernels
0x106ac2000 - 0x106ac3ffa +cl_kernels (???) <A1329BE6-F9E0-4DCC-B51D-E344CB926177> cl_kernels
0x1086e2000 - 0x10871aff7 com.apple.LookupFramework (1.1 - 132) <F56E0EE3-AACE-306A-AF08-C432EE9CD036> /System/Library/PrivateFrameworks/Lookup.framework/Lookup
0x108761000 - 0x108768fff com.apple.SyncedDefaults (1.3 - 91.30.1) <26F0AD10-86CC-31A4-899C-097269680E05> /System/Library/PrivateFrameworks/SyncedDefaults.framework/SyncedDefaults
0x109081000 - 0x109082fef +cl_kernels (???) <4A2C90CA-BDF1-4049-A978-F54DF665250F> cl_kernels
0x10908d000 - 0x10908eff9 +cl_kernels (???) <C9D9DE85-D0B2-4696-850B-1AE241FF0DD0> cl_kernels
0x109090000 - 0x109176fef unorm8_bgra.dylib (2.3.58) <280D6FDD-8CA5-36EC-9EA1-D7DC09598E20> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/ImageFormats/u norm8_bgra.dylib
0x1091ba000 - 0x1091baff6 +cl_kernels (???) <8BFB6480-5979-44E2-AEDC-5E67951157E9> cl_kernels
0x1091bf000 - 0x1091c0fe2 +cl_kernels (???) <26785C98-9C3E-4DD6-A44C-4C8D72E3A33E> cl_kernels
0x1091c4000 - 0x1091c4fe7 +cl_kernels (???) <1266FDD7-CDDF-4271-A621-B10D8F9B06DE> cl_kernels
0x1091c6000 - 0x1092abfe7 unorm8_argb.dylib (2.3.58) <7B4A2580-C169-3ABC-8F62-B766914C59DD> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/ImageFormats/u norm8_argb.dylib
0x1093c0000 - 0x1093c1fee +cl_kernels (???) <8C59ADA5-341F-461D-9C45-081C974E6A98> cl_kernels
0x109405000 - 0x10940dff7 com.apple.xpcobjects (103 - 103) <C1D64467-E101-34AE-8C38-166B6EEBC488> /System/Library/PrivateFrameworks/XPCObjects.framework/Versions/A/XPCObjects
0x10941f000 - 0x109429ff7 com.apple.qldisplay.Web2 (5.0 - 622.7) <1D685C40-BD8B-3852-8A3E-4E280EB789D1> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.f ramework/Versions/A/PlugIns/Web2.qldisplay/Contents/MacOS/Web2
0x109437000 - 0x109437fec +cl_kernels (???) <08AAD114-98B3-4F94-A269-32ABC2537CBE> cl_kernels
0x10a5d1000 - 0x10a5d2feb +cl_kernels (???) <BC68346E-D3D4-4D60-B338-5A721A23F8F6> cl_kernels
0x10be0a000 - 0x10be3ffff com.apple.sociald.Social (87 - 87) <18A27BB5-7F07-37C7-B2A5-CCC435FFD273> /System/Library/Frameworks/Social.framework/Social
0x10be7b000 - 0x10bec6ff7 com.apple.accounts.AccountsDaemon (113 - 113) <8DB993FA-B360-3ECD-ABCE-D0352FA6AA66> /System/Library/PrivateFrameworks/AccountsDaemon.framework/Versions/A/AccountsD aemon
0x11762c000 - 0x11770cff7 unorm8_rgba.dylib (2.3.58) <8252DC3E-7434-34C6-B4B9-CFD59B923D12> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/ImageFormats/u norm8_rgba.dylib
0x123400000000 - 0x123400435ff7 com.apple.driver.AppleIntelHD5000GraphicsGLDriver (8.28.33 - 8.2.8) <695451E8-CE10-3F12-8BF0-2B3AF1C77AFC> /System/Library/Extensions/AppleIntelHD5000GraphicsGLDriver.bundle/Contents/Mac OS/AppleIntelHD5000GraphicsGLDriver
0x7fff637db000 - 0x7fff6380e817 dyld (239.4) <7AD43B9B-5CEA-3C7E-9836-A06909F9CA56> /usr/lib/dyld
0x7fff88d73000 - 0x7fff88d7aff7 libsystem_pthread.dylib (53.1.4) <9DA50FD0-D9AC-3051-AD4B-BA0D745BC49C> /usr/lib/system/libsystem_pthread.dylib
0x7fff88d7b000 - 0x7fff88db0ffb com.apple.datadetectors (5.0 - 246.0) <1C4C33FE-F364-3DBA-A1BC-4A53E594CFD3> /System/Library/PrivateFrameworks/DataDetectors.framework/Versions/A/DataDetect ors
0x7fff88db1000 - 0x7fff88defff7 libGLImage.dylib (9.6.1) <5E02B38C-9F36-39BE-8746-724F0D8BBFC0> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x7fff88df0000 - 0x7fff88df9ffb libsystem_notify.dylib (121.20.1) <9B34B4FE-F5AD-3F09-A5F0-46AFF3571323> /usr/lib/system/libsystem_notify.dylib
0x7fff88dfa000 - 0x7fff88e12ff7 com.apple.openscripting (1.4 - 157) <B3B037D7-1019-31E6-9D17-08E699AF3701> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x7fff88e13000 - 0x7fff88e94fff com.apple.CoreSymbolication (3.0.1 - 141.0.6) <B594EF34-A1A3-3631-914E-6FD129291983> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSy mbolication
0x7fff88f14000 - 0x7fff88f25ff7 libsystem_asl.dylib (217.1.4) <B983CA60-F418-317B-B142-48A6376564FC> /usr/lib/system/libsystem_asl.dylib
0x7fff88f26000 - 0x7fff88f28fff com.apple.EFILogin (2.0 - 2) <84014F35-7E0E-3270-819A-48ECCADA687E> /System/Library/PrivateFrameworks/EFILogin.framework/Versions/A/EFILogin
0x7fff88f33000 - 0x7fff89233ff7 com.apple.Foundation (6.9 - 1056.17) <E0B0FAF6-5CA8-3EEB-8BF2-104C0AEEF925> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff89234000 - 0x7fff89236fff com.apple.OAuth (25 - 25) <7496D2E1-B554-3833-B5B6-6EABE80C0BEC> /System/Library/PrivateFrameworks/OAuth.framework/Versions/A/OAuth
0x7fff8924f000 - 0x7fff89257ffb com.apple.CloudServices (1.0 - 1) <644772DA-9267-376D-AD90-749D6B692566> /System/Library/PrivateFrameworks/CloudServices.framework/Versions/A/CloudServi ces
0x7fff89258000 - 0x7fff89262ff7 com.apple.ProtocolBuffer (1 - 182.1.3) <5A4F0BFC-6233-3909-BEC0-C604BA0D247C> /System/Library/PrivateFrameworks/ProtocolBuffer.framework/Versions/A/ProtocolB uffer
0x7fff89263000 - 0x7fff8928affb libsystem_info.dylib (449.1.3) <395D8CD6-616A-3BD3-A195-C6D68EB9AB22> /usr/lib/system/libsystem_info.dylib
0x7fff8928b000 - 0x7fff8929aff8 com.apple.LangAnalysis (1.7.0 - 1.7.0) <2777524A-E7EF-3B7B-B15D-F58CDEEFC736> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x7fff89a03000 - 0x7fff89a0efff libGL.dylib (9.6.1) <4B65BF9F-F34A-3CD1-94E8-DB26DAA0A59D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x7fff89a0f000 - 0x7fff89a17ff7 com.apple.AppleSRP (5.0 - 1) <ABC7F088-1FD5-3768-B9F3-847F355E90B3> /System/Library/PrivateFrameworks/AppleSRP.framework/Versions/A/AppleSRP
0x7fff89a18000 - 0x7fff89a25ff7 libxar.1.dylib (202) <5572AA71-E98D-3FE1-9402-BB4A84E0E71E> /usr/lib/libxar.1.dylib
0x7fff89a26000 - 0x7fff89a82fff com.apple.coredav (1.0.1 - 229.6) <6CA8BE3C-5CD6-3A50-9EA4-41B367C5DF41> /System/Library/PrivateFrameworks/CoreDAV.framework/Versions/A/CoreDAV
0x7fff89b31000 - 0x7fff89c0eff7 libcrypto.0.9.8.dylib (52.8.1) <52B36740-372F-3AF6-99E4-B1A24A3C9954> /usr/lib/libcrypto.0.9.8.dylib
0x7fff89c0f000 - 0x7fff89c72ffb com.apple.SystemConfiguration (1.13.1 - 1.13.1) <2C8E1A73-5AD6-3A7D-8ED8-D6755555A993> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x7fff89c73000 - 0x7fff89c87fff com.apple.aps.framework (4.0 - 4.0) <2D42DCDD-055E-3EE1-97F8-FC447B495D3E> /System/Library/PrivateFrameworks/ApplePushService.framework/Versions/A/ApplePu shService
0x7fff89c88000 - 0x7fff89c8eff7 com.apple.XPCService (2.0 - 1) <7545EF91-BB7B-3DF3-BF87-F55309DA5838> /System/Library/PrivateFrameworks/XPCService.framework/Versions/A/XPCService
0x7fff89c8f000 - 0x7fff89c96fff com.apple.NetFS (6.0 - 4.0) <D4FE0F16-3085-34AF-B860-3D46B98FAD2A> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x7fff89c97000 - 0x7fff89cf4fff com.apple.imfoundation (10.0 - 1000) <7DE171BB-F8AF-3E6B-84ED-235937DACE7E> /System/Library/PrivateFrameworks/IMFoundation.framework/Versions/A/IMFoundatio n
0x7fff89cf5000 - 0x7fff89cf5fff com.apple.AOSMigrate (1.0 - 1) <6909D700-6E8A-3BFD-9B5D-FA94C1150E6E> /System/Library/PrivateFrameworks/AOSMigrate.framework/Versions/A/AOSMigrate
0x7fff89d35000 - 0x7fff89d41fff com.apple.CalendarAgentLink (7.0 - 138.2) <D56910F9-5CC0-32D8-BA85-0631240F9B71> /System/Library/PrivateFrameworks/CalendarAgentLink.framework/Versions/A/Calend arAgentLink
0x7fff89d42000 - 0x7fff89d4bffd com.apple.CommonAuth (4.0 - 2.0) <BD720379-757B-305C-A7BE-E00E680F8218> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x7fff89dc7000 - 0x7fff8a2eafff com.apple.QuartzComposer (5.1 - 319) <8B90921F-911B-3240-A1D5-3C084F3E6A36> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzCompose r.framework/Versions/A/QuartzComposer
0x7fff8a2eb000 - 0x7fff8a2eefff com.apple.AppleSystemInfo (3.0 - 3.0) <61FE171D-3D88-313F-A832-280AEC8F4AB7> /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSys temInfo
0x7fff8a2ef000 - 0x7fff8a328ff7 com.apple.QD (3.50 - 298) <5343278D-47B7-3AF2-9B4B-4B8B0F942CD1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x7fff8a32b000 - 0x7fff8a3f5fff com.apple.LaunchServices (572.29 - 572.29) <15C7BB21-73FB-38E7-924F-E6C4DF49D440> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x7fff8a3f6000 - 0x7fff8a3f7ff7 com.apple.print.framework.Print (9.0 - 260) <C4C40E2E-6130-3D73-B1EF-97FF3F70CF2C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x7fff8a3f8000 - 0x7fff8a3f8ffd libOpenScriptingUtil.dylib (157) <19F0E769-0989-3062-9AFB-8976E90E9759> /usr/lib/libOpenScriptingUtil.dylib
0x7fff8a3f9000 - 0x7fff8a420ff7 com.apple.shortcut (2.6 - 2.6) <73FEBA7B-F371-3D1C-8E42-08580DE241A7> /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut
0x7fff8a421000 - 0x7fff8a6b2ff7 com.apple.AOSKit (1.06 - 176) <A5D6EC71-51E2-3D0D-8DA6-1927AC519277> /System/Library/PrivateFrameworks/AOSKit.framework/Versions/A/AOSKit
0x7fff8a82a000 - 0x7fff8a930ff7 com.apple.ImageIO.framework (3.3.0 - 1044) <3BCCF2AE-CF1F-3324-A371-DF0A42C841A2> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x7fff8a931000 - 0x7fff8abc5ff7 com.apple.RawCamera.bundle (5.07 - 760) <EA94F148-975D-32D7-8A20-B06017E5793B> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
0x7fff8abc6000 - 0x7fff8abcbff7 libunwind.dylib (35.3) <95D4D118-3368-3474-989D-271DE18C8365> /usr/lib/system/libunwind.dylib
0x7fff8abcc000 - 0x7fff8abd0ff7 libsystem_stats.dylib (93.90.3) <4E51D5B0-92A0-3D0D-B90E-495A1ED3E391> /usr/lib/system/libsystem_stats.dylib
0x7fff8abdb000 - 0x7fff8abf7fff libresolv.9.dylib (54) <11C2C826-F1C6-39C6-B4E8-6E0C41D4FA95> /usr/lib/libresolv.9.dylib
0x7fff8ac0b000 - 0x7fff8ac11fff com.apple.AOSNotification (1.7.0 - 760.3) <307D35A7-C2CB-3024-BFE1-288A0198C003> /System/Library/PrivateFrameworks/AOSNotification.framework/Versions/A/AOSNotif ication
0x7fff8ac12000 - 0x7fff8acc2ff7 libvMisc.dylib (423.32) <049C0735-1808-39B9-943F-76CB8021744F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x7fff8acc3000 - 0x7fff8acccffb libCGInterfaces.dylib (271) <357D2106-CA33-3A5C-9AD8-7AAD2EF1BC2D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/Resources/libCGInterfaces.dylib
0x7fff8accd000 - 0x7fff8accdfff com.apple.Accelerate (1.9 - Accelerate 1.9) <CFEF9CBE-4A1A-33FD-9174-D44314BB28F3> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x7fff8acce000 - 0x7fff8ad30ff7 com.apple.WhitePagesFramework (10.7.0 - 141.0) <26EDA0C8-39D2-3F18-B6EE-774846BB42FC> /System/Library/PrivateFrameworks/WhitePages.framework/Versions/A/WhitePages
0x7fff8ad5e000 - 0x7fff8ad6bff4 com.apple.Librarian (1.2 - 1) <2F677B44-BCA3-313B-881E-EE322E865100> /System/Library/PrivateFrameworks/Librarian.framework/Versions/A/Librarian
0x7fff8ad6c000 - 0x7fff8ad99ff2 com.apple.frameworks.CoreDaemon (1.3 - 1.3) <9F8AC160-145F-3B35-954F-655AAEC05356> /System/Library/PrivateFrameworks/CoreDaemon.framework/Versions/B/CoreDaemon
0x7fff8adbe000 - 0x7fff8add5ff7 com.apple.CFOpenDirectory (10.9 - 173.90.1) <7BC0194E-1B40-3FCA-ACD2-235CE5D65DFA> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
0x7fff8add6000 - 0x7fff8add9fff com.apple.TCC (1.0 - 1) <F25B5875-081A-3877-B70E-374D54B54C5F> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
0x7fff8ae96000 - 0x7fff8ae9dff7 com.apple.phonenumbers (1.1.1 - 105) <C31E978D-C4CE-39CD-9E19-A43698ECC466> /System/Library/PrivateFrameworks/PhoneNumbers.framework/Versions/A/PhoneNumber s
0x7fff8ae9e000 - 0x7fff8aef6ff7 com.apple.Symbolication (1.4 - 129.0.2) <B1F008C4-184D-36A2-922F-4A67A075D512> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolicat ion
0x7fff8aef7000 - 0x7fff8af1cff7 com.apple.CoreVideo (1.8 - 117.2) <FE12553A-9B5A-337E-92BD-EA8A8194C91A> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x7fff8af1d000 - 0x7fff8af22fff com.apple.DiskArbitration (2.6 - 2.6) <A4165553-770E-3D27-B217-01FC1F852B87> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fff8b13a000 - 0x7fff8b140ff7 libsystem_platform.dylib (24.90.1) <3C3D3DA8-32B9-3243-98EC-D89B9A1670B3> /usr/lib/system/libsystem_platform.dylib
0x7fff8b141000 - 0x7fff8b143ffb libutil.dylib (34) <DAC4A6CF-A1BB-3874-9569-A919316D30E8> /usr/lib/libutil.dylib
0x7fff8b16e000 - 0x7fff8b19dff7 com.apple.CoreAVCHD (5.7.0 - 5700.4.3) <E8190181-8F08-3DC3-9290-3AADBCEBB1F3> /System/Library/PrivateFrameworks/CoreAVCHD.framework/Versions/A/CoreAVCHD
0x7fff8b19e000 - 0x7fff8b28fff9 libiconv.2.dylib (41) <BB44B115-AC32-3877-A0ED-AEC6232A4563> /usr/lib/libiconv.2.dylib
0x7fff8b2aa000 - 0x7fff8b2affff libmacho.dylib (845) <B2BE3C25-CF1F-309B-AB99-1F0B54621445> /usr/lib/system/libmacho.dylib
0x7fff8b2b0000 - 0x7fff8b2fdff2 com.apple.print.framework.PrintCore (9.0 - 428) <A2F7B9D2-7907-31D8-8462-E2E2E7C3AF2E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x7fff8b2fe000 - 0x7fff8bc1e30b com.apple.CoreGraphics (1.600.0 - 599.35.6) <07F8BE29-8352-30DE-A136-FD8CE9526B8A> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x7fff8bc1f000 - 0x7fff8bc6dff7 com.apple.opencl (2.3.59 - 2.3.59) <9F43F471-C3C3-352D-889D-EC418DC1F5B2> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x7fff8bd03000 - 0x7fff8bd05fff com.apple.SecCodeWrapper (3.0 - 1) <DE7CA981-2B8B-34AC-845D-06D5C8F10441> /System/Library/PrivateFrameworks/SecCodeWrapper.framework/Versions/A/SecCodeWr apper
0x7fff8bd06000 - 0x7fff8bd64ff7 com.apple.corelocation (1486.17 - 1486.24) <9FBB29F0-E000-3190-A96C-9EAA5CCCA2A0> /System/Library/Frameworks/CoreLocation.framework/Versions/A/CoreLocation
0x7fff8bd65000 - 0x7fff8bdd1fff com.apple.framework.IOKit (2.0.1 - 907.100.14) <10932113-9F7E-38A0-A158-A019A555CAC3> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff8bdd2000 - 0x7fff8be32fff com.apple.ISSupport (1.9.9 - 57) <87137CF3-FE6A-3345-A2EC-95D73A15CC3A> /System/Library/PrivateFrameworks/ISSupport.framework/Versions/A/ISSupport
0x7fff8be33000 - 0x7fff8be34ffc com.apple.SafariServices.framework (9537 - 9537.85.12.18) <06C6AD5F-65AF-34FF-AA2A-54E30A0DE022> /System/Library/PrivateFrameworks/SafariServices.framework/Versions/A/SafariSer vices
0x7fff8be3b000 - 0x7fff8befdff5 com.apple.CoreText (367.20 - 367.20) <B80D086D-93A9-3C35-860E-9C3FDD027F3B> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
0x7fff8befe000 - 0x7fff8bf01ff7 libdyld.dylib (239.4) <7C9EC3B7-DDE3-33FF-953F-4067C743951D> /usr/lib/system/libdyld.dylib
0x7fff8bf02000 - 0x7fff8bfbaff7 com.apple.DiscRecording (8.0 - 8000.4.6) <FCBB5558-A702-3658-AEE4-7D129AFBF350> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
0x7fff8bfbb000 - 0x7fff8bfbcfff libsystem_sandbox.dylib (278.11.2) <0C93EB23-7364-3670-B511-212A7A524695> /usr/lib/system/libsystem_sandbox.dylib
0x7fff8bfbd000 - 0x7fff8c023fff com.apple.framework.CoreWiFi (2.0 - 200.21.1) <977C796D-E8D7-3378-A76A-2E71A65DF389> /System/Library/Frameworks/CoreWiFi.framework/Versions/A/CoreWiFi
0x7fff8c024000 - 0x7fff8c089ffb com.apple.Heimdal (4.0 - 2.0) <C28DBCAE-01AC-363A-9046-3BD33F225526> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
0x7fff8c08a000 - 0x7fff8c14eff7 com.apple.backup.framework (1.5.4 - 1.5.4) <195DA868-47A5-37E6-8CF0-9BCF11846899> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x7fff8c16b000 - 0x7fff8c29bff7 com.apple.desktopservices (1.8.3 - 1.8.3) <225BEC20-F8E0-3F22-9560-890A1A5B9050> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x7fff8c29c000 - 0x7fff8c36dfff com.apple.QuickLookUIFramework (5.0 - 622.7) <13841701-34C2-353D-868D-3E08D020C90F> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.f ramework/Versions/A/QuickLookUI
0x7fff8c36e000 - 0x7fff8c39afff com.apple.CoreServicesInternal (184.9 - 184.9) <4DEA54F9-81D6-3EDB-AA3C-1F9C497B3379> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/Cor eServicesInternal
0x7fff8c39b000 - 0x7fff8c48afff libFontParser.dylib (111.1.2) <25C4548B-A2DE-30BE-9FAF-DDA161DADB16> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontParser.dylib
0x7fff8c48b000 - 0x7fff8c48bffd com.apple.audio.units.AudioUnit (1.10 - 1.10) <68B21135-55A6-3563-A3D6-3E692A7DEB7F> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x7fff8c48c000 - 0x7fff8c48dfff liblangid.dylib (117) <9546E641-F730-3AB0-B3CD-E0E2FDD173D9> /usr/lib/liblangid.dylib
0x7fff8c4a6000 - 0x7fff8c4d2ff7 com.apple.framework.SystemAdministration (1.0 - 1.0) <6FD03EF6-32B6-397D-B9D7-D68E89A462F5> /System/Library/PrivateFrameworks/SystemAdministration.framework/Versions/A/Sys temAdministration
0x7fff8c4e2000 - 0x7fff8c4ebfff com.apple.DisplayServicesFW (2.8 - 360.8.14) <ABEE3950-3024-3741-AD4F-CC405EBEE89E> /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayS ervices
0x7fff8c557000 - 0x7fff8c5e2ff7 libCoreStorage.dylib (380.70.2) <BD993BC8-ED54-3DC1-B28B-3B6AC77E8E5C> /usr/lib/libCoreStorage.dylib
0x7fff8c5e3000 - 0x7fff8c5e9ff7 libCGXCoreImage.A.dylib (599.35.6) <69BEB63E-93AF-3A32-BA27-EDC2B6649B2E> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXCo reImage.A.dylib
0x7fff8c5ea000 - 0x7fff8c5f0ff7 com.apple.AddressBook.ContactsFoundation (8.0 - 1371.2) <A403E9E7-6BAC-3440-86CA-92D4523E9A3B> /System/Library/PrivatIf there are any saved web pages or HTML files in the same folder that you're trying to upload from, move or delete those files and try again. Otherwise, try moving the files you want to upload to a different folder.
-
Seriously lost with a cisco 831 broadband router...
ok, to make a long story short I got myself way in over my head with something I know nothing about. Additionally, I've been on the internet for approximately 48 hours and I feel I'm missing something. Here is what I need clarification on. Please help me.
Purchased online: Cisco 831 Broadband Router. I believe the router software has been wiped but not sure.
I purchased a serial-to-rj45 adapter and was TRYING to follow instructions for connecting to the console port on the router to at least see if I can communicate with this darn thing... I'm having no luck..
Can someone PLEASE take me, step by step through the process of pin-out configs for a rj-45 cable, the process for connecting an xp pro computer to the console port on this router and the commands to verify that the software is loaded? I'm a hardware man, not a software man and frankly I feel like the information is written in sand script. I would forever be indebted to anyone that would provide a little guidance for a young man that bit off more than he could chew. <- something I've always done, but I've usually been able to figure things out.hi
i feel these links will be of some help to u...
http://cisco.com/en/US/products/sw/netmgtsw/ps4618/products_installation_and_configuration_guide_chapter09186a00800810ca.html#xtocid1838115
pinout details..
http://cisco.com/en/US/products/sw/netmgtsw/ps4618/products_installation_and_configuration_guide_chapter09186a00800810ca.html#xtocid1838115
after you get onto the box it may prompt for a password if its set already ,try with cisco or else a simple enter which will get u in the box once ur in give show version command and check whether you are getting any proper o/p.
meanwhile if u dont get any prompt for password and getting into rommon that tells u that ur box doesnt have a valid ios file or due to various other reason it didnt get up on.
for more info/assistance do a simple search on what u need in cisco.com or else post it out here...
regds -
Error in uploading a file in server
Hi,
We are working in a application whose technologies are Flex 4.0 and .Net 2010.
We are using .Net WCF Service for interacting with backend from the Flex front end.
In our application, we have requirement to upload a file from the client into a server.
We faced the following issue,
Security violation Issue #2032.
Solution: We have found that there is a sandbox restriction to access other domains, then we have placed the crossdomain.xml, which resolves the issue.
But this solution works only in the IE.
We are still getting the same error (Error #2032: Stream Error.) in other browsers - FireFox, Chrome and Safari.
Please let us know if there are any suggestions or solutions for this issue.
Regards,
GuruSiva,
You must apply modifiable binary type in wdDoInit of controller:
ISimpleType stype =
wdContext
.node<YourNode>()
.getNodeInfo()
.getAttribute("FileResource")
.getModifiableSimpleType();
IWDModifiableBinaryType mtype = (IWDModifiableBinaryType)stype;
/* Optional steps: affects only FileDownload control */
/* mtype.setMimeType( WDWebResourceType.JPG_IMAGE); */
/* mtype.setFileName( "picture.jpg" ); */
Sure, to make above work you must use binary type in context designer.
Valery Silaev
SaM Solutions
http://www.sam-solutions.net -
How to upload a file in application server to an internal table
Hi,
I am asked to upload a file from application server to internal table. Can you please suggest me the ways to do it or the function module which helps to browse the application server file names.
I have done a program. But its giving problem in searching the files from application server. I am pasting my code for ur review. Please tell me which part i have to correct or suggest me some other ways to do it.
*& Report ZUPLOAD1
REPORT ZUPLOAD1.
type-pools: truxs.
parameters: p_upl_ps radiobutton group g1 default 'X', "upload from pres. server
p_path type rlgrap-filename,
p_upl_as radiobutton group g1, "upload from appln server
<b>p_dir LIKE filepath-pathintern DEFAULT 'Y_ABAP',
p_file LIKE filepath-pathintern lower case,</b>
p_test as checkbox.
constants: c_x value 'X',
c_tab type c value cl_abap_char_utilities=>horizontal_tab.
types: ty_data(1000) type c. "structure to hold legacy data
data: i_data type standard table of ty_data. "internal table of ty_data
types: begin of stritab,
land1 type v_t604-land1, "structure of legacy file.
stawn type v_t604-stawn,
bemeh type v_t604-bemeh,
impma type v_t604-impma,
minol type v_t604-minol,
end of stritab.
data: gi_itab type standard table of stritab, "internal table of legacy file
gw_itab type stritab. "work area
data: i_raw type truxs_t_text_data,
v_fullpath type string.
at selection-screen on value-request for p_path.
if p_upl_ps = c_x. "if presentation server is selected
perform get_file.
else. "if application server is selected
perform set_file_path.
perform upload_from_server.
perform split_data.
endif.
form get_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
IMPORTING
FILE_NAME = p_path. "getting the file name of pres server
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_FIELD_SEPERATOR =
I_LINE_HEADER = 'X' "converting excel to sap and filling in
I_TAB_RAW_DATA = i_raw "internal table
I_FILENAME = p_path
TABLES
I_TAB_CONVERTED_DATA = gi_itab
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endform.
form set_file_path. "Getting the file path of application server
data: lv_file type p_file.
lv_file = p_file.
CALL FUNCTION 'FILE_GET_NAME_USING_PATH'
EXPORTING
CLIENT = SY-MANDT
LOGICAL_PATH = p_dir
OPERATING_SYSTEM = SY-OPSYS
PARAMETER_1 = ' '
PARAMETER_2 = ' '
PARAMETER_3 = ' '
USE_BUFFER = ' '
FILE_NAME = lv_file
USE_PRESENTATION_SERVER = ' '
ELEMINATE_BLANKS = 'X'
IMPORTING
FILE_NAME_WITH_PATH = v_fullpath
EXCEPTIONS
PATH_NOT_FOUND = 1
MISSING_PARAMETER = 2
OPERATING_SYSTEM_NOT_FOUND = 3
FILE_SYSTEM_NOT_FOUND = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endform.
form upload_from_server.
data: lv_msg type string,
lw_data type ty_data.
open dataset v_fullpath for input message lv_msg in text mode encoding default.
if sy-subrc <> 0.
message lv_msg type 'i'.
stop.
endif.
do.
read dataset v_fullpath into lw_data.
if sy-subrc <> 0.
write:/5 'Error in processign data set'.
exit.
endif.
append lw_data to i_data.
enddo.
close dataset v_fullpath.
if sy-subrc <> 0.
write: /5 'Error closing dataset'.
endif.
endform.
form split_data.
data: lw_data type ty_data.
data: lw_itab type stritab.
data: begin of ty_itab,
land1 type v_t604-land1,
stawn type v_t604-stawn,
bemeh type v_t604-bemeh,
impma type v_t604-impma,
minol type v_t604-minol,
end of ty_itab.
loop at i_data into lw_data.
split lw_data at c_tab into
ty_itab-land1
ty_itab-stawn
ty_itab-bemeh
ty_itab-impma
ty_itab-minol.
lw_itab-land1 = ty_itab-land1.
lw_itab-stawn = ty_itab-stawn.
lw_itab-bemeh = ty_itab-bemeh.
lw_itab-impma = ty_itab-impma.
lw_itab-minol = ty_itab-minol.
append lw_itab to gi_itab.
endloop.
endform.
start-of-selection.
loop at gi_itab into gw_itab.
write: /5 'COUNTRY', 'IMPORT CODE', 'SUP UNIT', 'FIRST UOM', 'SECOND UOM',
/5 gw_itab-land1, gw_itab-stawn,gw_itab-bemeh,gw_itab-impma,gw_itab-minol.
endloop.
end-of-selection.
I hope problem must be in p_dir and p_file which are in bold.. Kindly help me out. Thanks in advance.see the following ex:
*& Form SUB_GET_FILEPATH
text
--> p1 text
<-- p2 text
FORM SUB_GET_FILEPATH .
GFILE = 'D:\SAP_INT\INBOUND\INBOX'. "Path
ENDFORM. " SUB_GET_FILEPATH
*& Form SUB_GET_FILE
text
--> p1 text
<-- p2 text
FORM SUB_GET_FILE .
DATA: P_FDIR(200) TYPE C.
DATA: IT_FILEDIR1 TYPE STANDARD TABLE OF TY_FILEDIR WITH HEADER LINE.
P_FDIR = GFILE.
CALL FUNCTION 'RZL_READ_DIR_LOCAL'
EXPORTING
NAME = P_FDIR
TABLES
FILE_TBL = IT_FILEDIR.
REFRESH : IT_FILEDIR1.
LOOP AT IT_FILEDIR.
IF IT_FILEDIR-NAME(4) = 'ZINC' OR IT_FILEDIR-NAME(4) = 'zinc'.
MOVE IT_FILEDIR-NAME TO IT_FILEDIR1-NAME.
APPEND IT_FILEDIR1.
ENDIF.
ENDLOOP.
IF IT_FILEDIR1[] IS INITIAL.
STOP.
ENDIF.
LOOP AT IT_FILEDIR1.
REFRESH: I_TAB.
CLEAR: I_TAB.
NAME = IT_FILEDIR1-NAME.
CONCATENATE: GFILE '\' NAME INTO G_FILE.
OPEN DATASET G_FILE FOR INPUT IN TEXT MODE
ENCODING DEFAULT
IGNORING CONVERSION ERRORS.
IF SY-SUBRC EQ 0.
CONCATENATE 'FILENAME : ' G_FILE INTO I_MSG1.
APPEND I_MSG1.
DO.
READ DATASET G_FILE INTO RECORD.
IF SY-SUBRC = 0.
SPLIT RECORD AT ',' INTO I_TAB-BUKRS I_TAB-EBELN
I_TAB-BLDAT I_TAB-XBLNR I_TAB-LIFNR I_TAB-AMOUNT
I_TAB-CURR I_TAB-BUSAREA
I_TAB-BKTXT I_TAB-DMBTR I_TAB-MENGE I_TAB-SRNO.
MOVE-CORRESPONDING I_TAB TO I_TAB1.
ELSE.
EXIT.
ENDIF.
APPEND I_TAB1.
CLEAR: I_TAB, I_TAB1.
ENDDO.
ENDIF.
CLOSE DATASET G_FILE. -
Hi Experts,
I have created the logical path and filename in FILE tcode.I am trying to upload the pdf file to application server by using this path.But
I am getting message like "Unable to open the file".Even I cannot find the this path in AL11 tcode.Kindly anyone advise how to upload pdf file using
custom path and file created from FILE tcode.
Thanks & Regards,
Anusha.Hi Anusha,
Please give as below.
I forget to say you cannot open the PDF in AL11 and for that you need some configuration, i think it can be done using content server,not sure completely please wait for some more suggestions.
Regards,
Pavan -
Error while uploading WSDL file in Interactive Form Data Connection!
I have created we service to return some data based on user input.
I am trying to link this webservice to Interactive adobe form! and While creating new data connection->uploading WSDL file--> I am receiving error i.e. Invalid File.
Please help me in resolving this issue.
I have created this WSDL file copy/pasting XML code generates from "Open WSDL document for selected binding" link in SOAMANAGER.
Regards,
Naveen.IHello,
This is a Webservice created for the FM : HRXSS_PER_READ_EMERGENCY_AR
Here is the sample of the WSDL file generated, as asked by you.
<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:n1="urn:sap-com:document:sap:rfc:functions">
- <wsdl:documentation>
<sidl:sidl xmlns:sidl="http://www.sap.com/2007/03/sidl" />
</wsdl:documentation>
<wsp:UsingPolicy wsdl:required="true" />
- <wsp:Policy wsu:Id="BN_BN_ZHR_READ_EMERGENCY">
<saptrnbnd:OptimizedXMLTransfer uri="http://xml.sap.com/2006/11/esi/esp/binxml" xmlns:saptrnbnd="http://www.sap.com/webas/710/soap/features/transportbinding/" wsp:Optional="true" />
<saptrnbnd:OptimizedXMLTransfer uri="http://www.w3.org/2004/08/soap/features/http-optimization" xmlns:saptrnbnd="http://www.sap.com/webas/710/soap/features/transportbinding/" wsp:Optional="true" />
- <wsp:ExactlyOne xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:sapsp="http://www.sap.com/webas/630/soap/features/security/policy" xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility">
- <wsp:All>
- <sp:TransportBinding>
- <wsp:Policy>
- <sp:TransportToken>
- <wsp:Policy>
<sp:HttpsToken />
</wsp:Policy>
</sp:TransportToken>
- <sp:AlgorithmSuite>
- <wsp:Policy>
<sp:TripleDesRsa15 />
</wsp:Policy>
</sp:AlgorithmSuite>
- <sp:Layout>
- <wsp:Policy>
<sp:Strict />
</wsp:Policy>
</sp:Layout>
</wsp:Policy>
</sp:TransportBinding>
</wsp:All>
</wsp:ExactlyOne>
</wsp:Policy>
- <wsp:Policy wsu:Id="IF_IF_ZHR_READ_EMERGENCY">
- <sapsession:Session xmlns:sapsession="http://www.sap.com/webas/630/soap/features/session/">
<sapsession:enableSession>false</sapsession:enableSession>
</sapsession:Session>
<sapcentraladmin:CentralAdministration xmlns:sapcentraladmin="http://www.sap.com/webas/700/soap/features/CentralAdministration/" wsp:Optional="true" />
</wsp:Policy>
- <wsp:Policy wsu:Id="OP_IF_OP_HrxssPerReadEmergencyAr">
<sapcomhnd:enableCommit xmlns:sapcomhnd="http://www.sap.com/NW05/soap/features/commit/">false</sapcomhnd:enableCommit>
<sapblock:enableBlocking xmlns:sapblock="http://www.sap.com/NW05/soap/features/blocking/">true</sapblock:enableBlocking>
<saptrhnw05:required xmlns:saptrhnw05="http://www.sap.com/NW05/soap/features/transaction/">no</saptrhnw05:required>
<saprmnw05:enableWSRM xmlns:saprmnw05="http://www.sap.com/NW05/soap/features/wsrm/">false</saprmnw05:enableWSRM>
</wsp:Policy>
- <wsdl:types>
- <xsd:schema attributeFormDefault="qualified" targetNamespace="urn:sap-com:document:sap:rfc:functions">
- <xsd:simpleType name="char1">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
"More simple types
<xsd:pattern value="\d*" />
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
- <xsd:schema attributeFormDefault="qualified" targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:n0="urn:sap-com:document:sap:rfc:functions">
<xsd:import namespace="urn:sap-com:document:sap:rfc:functions" />
- <xsd:complexType name="Bapiret2">
- <xsd:sequence>
"More element names
- <xsd:complexType>
- <xsd:sequence>
<xsd:element name="Messages" type="tns:Bapirettab" />
<xsd:element name="Records" type="tns:HcmtBspPaArR0006Tab" />
<xsd:element name="Records2" type="tns:HcmtBspPaArR0021Tab" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
- <wsdl:message name="HrxssPerReadEmergencyAr">
<wsdl:part name="parameters" element="tns:HrxssPerReadEmergencyAr" />
</wsdl:message>
- <wsdl:message name="HrxssPerReadEmergencyArResponse">
<wsdl:part name="parameter" element="tns:HrxssPerReadEmergencyArResponse" />
</wsdl:message>
- <wsdl:portType name="ZHR_READ_EMERGENCY">
- <wsp:Policy>
<wsp:PolicyReference URI="#IF_IF_ZHR_READ_EMERGENCY" />
</wsp:Policy>
- <wsdl:operation name="HrxssPerReadEmergencyAr">
- <wsp:Policy>
<wsp:PolicyReference URI="#OP_IF_OP_HrxssPerReadEmergencyAr" />
</wsp:Policy>
<wsdl:input message="tns:HrxssPerReadEmergencyAr" />
<wsdl:output message="tns:HrxssPerReadEmergencyArResponse" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="ZHR_READ_EMERGENCY" type="tns:ZHR_READ_EMERGENCY">
- <wsp:Policy>
<wsp:PolicyReference URI="#BN_BN_ZHR_READ_EMERGENCY" />
</wsp:Policy>
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
- <wsdl:operation name="HrxssPerReadEmergencyAr">
<soap:operation soapAction="" style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="service">
- <wsdl:port name="ZHR_READ_EMERGENCY" binding="tns:ZHR_READ_EMERGENCY">
<soap:address location="http://cieh4-srvr.collabera.com:8000/sap/bc/srt/rfc/sap/zhr_read_emergency/900/zhr_read_emergency/zhr_read_emergency" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Cheers,
Remi -
Error while uploading the file from Allpcation server in LSMW-7th step
Hi Experts,
what should be the specific CODE PAGE should be maintained while uploading the file from application server in LSMW-7th Step
Thanks in advance,
KSRHi
I mean that there is any seperate CODE PAGE which comes at the bottom of screen while uploading the file from the application server in 7th step.
Is there any specific CODE PAGE to be maintained...
Thanks in advance
Oarsk -
Unable to upload video files via iframe in safari version 3.0
I m not able 2 upload video files via iframe in safari 3.0.
i m facing this issue when i try 2 upload a video file via an iframe.
file gets uploaded properly if i m not using iframe to upload the same.
this issue is seen only in safari version 3.0 and not in the newer version i.e (3.2.1)
do anyone has the asnwer for this problem.....???
would be thankful to him/her...Are you using a BT Home Hub with the IP Phone attached. This holds onto the SIP port that iChat uses. There is no way to get the router to release this port.
I had to return it all to BT as unfit for purpose and switched to Eclipse! -
Upload multiple files WITH correct pairs of form fields into Database
In my form page, I would like to allow 3 files upload and 3 corresponding text fields, so that the filename and text description can be saved in database table in correct pair. Like this:
INSERT INTO table1 (filename,desc) VALUES('photo1.jpg','happy day');
INSERT INTO table1 (filename,desc) VALUES('photo2.jpg','fire camp');
INSERT INTO table1 (filename,desc) VALUES('photo3.jpg','christmas night');
However, using the commons fileupload, http://commons.apache.org/fileupload/, I don't know how to reconstruct my codes so that I can acheieve this result.
if(item.isFormField()){
}else{
}I seems to be restricted from this structure.
The jsp form page
<input type="text" name="description1" value="" />
<input type="file" name="sourcefile" value="" />
<input type="text" name="description2" value="" />
<input type="file" name="sourcefile" value="" />The Servlet file
package Upload;
import sql.*;
import user.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.Map;
import java.util.HashMap;
import java.util.Date;
import java.util.List;
import java.util.Iterator;
import java.io.File;
import java.io.PrintWriter;
import java.io.IOException;
import java.text.SimpleDateFormat;
import org.apache.commons.fileupload.servlet.ServletFileUpload;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.apache.commons.fileupload.*;
public class UploadFile extends HttpServlet {
private String fs;
private String category = null;
private String realpath = null;
public String imagepath = null;
public PrintWriter out;
private Map<String, String> formfield = new HashMap<String, String>();
//Initialize global variables
public void init(ServletConfig config, ServletContext context) throws ServletException {
super.init(config);
//Process the HTTP Post request
public void doPost(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
request.setCharacterEncoding("utf-8");
response.setCharacterEncoding("utf-8");
response.setContentType("text/html");
PrintWriter out = response.getWriter();
Thumbnail thumb = new Thumbnail();
fs = System.getProperty("file.separator");
this.SetImagePath();
boolean isMultipart = ServletFileUpload.isMultipartContent(request);
if(!isMultipart){
out.print("not multiple part.");
}else{
FileItemFactory factory = new DiskFileItemFactory();
ServletFileUpload upload = new ServletFileUpload(factory);
List items = null;
try{
items = upload.parseRequest(request);
} catch (FileUploadException e) {
e.printStackTrace();
Iterator itr = items.iterator();
while (itr.hasNext()) {
FileItem item = (FileItem) itr.next();
if(item.isFormField()){
String formvalue = new String(item.getString().getBytes("ISO-8859-1"), "utf-8");
formfield.put(item.getFieldName(),formvalue);
out.println("Normal Form Field, ParaName:" + item.getFieldName() + ", ParaValue: " + formvalue + "<br/>");
}else{
String itemName = item.getName();
String filename = GetTodayDate() + "-" + itemName;
try{
new File(this.imagepath + formfield.get("category")).mkdirs();
new File(this.imagepath + formfield.get("category")+fs+"thumbnails").mkdirs();
//Save the file to the destination path
File savedFile = new File(this.imagepath + formfield.get("category") + fs + filename);
item.write(savedFile);
thumb.Process(this.imagepath + formfield.get("category") +fs+ filename,this.imagepath + formfield.get("category") +fs+ "thumbnails" +fs+ filename, 25, 100);
DBConnection db = new DBConnection();
String sql = "SELECT id from category where name = '"+formfield.get("category")+"'";
db.SelectQuery(sql);
while(db.rs.next()){
int cat_id = db.rs.getInt("id");
sql = "INSERT INTO file (cat_id,filename,description) VALUES ("+cat_id+",'"+filename+"','"+formfield.get("description")+"')";
out.println(sql);
db.RunQuery(sql);
} catch (Exception e){
e.printStackTrace();
HttpSession session = request.getSession();
UserData k = (UserData)session.getAttribute("userdata");
k.setMessage("File Upload successfully");
response.sendRedirect("./Upload.jsp");
//Get today date, it is a test, actually the current date can be retrieved from SQL
public String GetTodayDate(){
SimpleDateFormat format = new SimpleDateFormat("yyyyMMdd");
String today = format.format(new Date());
return today;
//Set the current RealPath which the file calls for this file
public void SetRealPath(){
this.realpath = getServletConfig().getServletContext().getRealPath("/");
public void SetImagePath(){
this.SetRealPath();
this.imagepath = this.realpath + "images" +fs;
}Can anyone give me some code suggestion? Thx.When one hits the submit button - I then get a 404 page error.What is the apaches(?) error log saying? Mostly you get very useful information when looking into the error log!
In any case you may look at how you are Uploading Multiple Files with mod_plsql.
Maybe you are looking for
-
hi there, i'm newbie here. i have a n6300 about 1 month old.2 day ago this machine seem to have problems, it turn itself off. anyone can help?? thanks.
-
Hi. When i updated to Lion my WD TV Live cant connect to my Imac. I see the Imac on my WD TV but when i try to connect it says:this network share can not be accessed I have found a way to get it to work by installating Playback but this progrtam cann
-
Slideshow made in i Photo(v5). Transfer to iPod 5th. gen.
I have a 2 year project of the homeless in NYC an I'm having trouble trnsfering it (180 photo's with music to my new iPod. Brian
-
Hi, I am converting data from a legacy system in LSMW. I read in the data and convert it without error. But when I try to generate the IDOC's I get the following error message: <b>EDI: Field SEGNUM in data record is default</b> Any help with this pro
-
Using Adobe Document Services (ADS) with SSL
Hi, Hope any of you encountered a question like me while implementing ADS on NW04 SP16. We've installed ADS and patched it to SP16_1. After wrote a dynpro application to run on portal. Everything is ok with HTTP. But if we access same application via