Block IP of LAN machine from server

is it possible to block an IP of a machine (in LAN) from server.
i am trying to block an IP so that it can't access the Internet
If it is possible then give me some information ...
Thanks...

Are you talking about a network setup where all connections have to go through a central server, and you want to block an IP from going through that server?
Short answer is no. Long answer is that in order to be filtering all internet traffic, you'd need to write listener drivers on the network card, and try intercepting that sort of stuff there. I think Peer Guardian does that sort of thing, but it installs platform specific drivers to accomplish this, something you're not going to be doing in Java.
I could be wrong, but I still think the answer is no. You might be able to do more research into the program Peer Guardian to get a better idea of how that exactly performs IP blocking (as it seems to do exactly what you're asking), but I think you're going to find it hard to block IPs with Java alone.

Similar Messages

  • To upload a file from client machine to server machine

    Hi everybody!
    Could anyone plz help me. I am struck in a problem
    I want to transfer a file from client's machine to server but I am not able to upload
    It is tranferring the file only to the local machine
    I am using orielley package It is transferring files only to my local machine but not to the server .Can anyone correct it. It's very urgent
    how to write the relative path for server
    I am using this path and it is not uploading
    MultipartRequest multi = new MultipartRequest(request, "../<administrator>:<dev2daask>@dev2:C:/123data/", 5 * 1024 * 1024);
    Here is my code:
    <%@ page import="java.util.*" %>
    <%@ page import="javax.servlet.*" %>
    <%@ page import="javax.servlet.http.*" %>
    <%@ page import="java.io.*" %>
    <%@ page import="com.oreilly.servlet.MultipartRequest"%>
    <%
    try {
    // Blindly take it on faith this is a multipart/form-data request
    // Construct a MultipartRequest to help read the information.
    // Pass in the request, a directory to saves files to, and the
    // maximum POST size we should attempt to handle.
    // Here we (rudely) write to the server root and impose 5 Meg limit.
    MultipartRequest multi = new MultipartRequest(request, "../<administrator>:<dev2daask>@dev2:C:/123data/", 5 * 1024 * 1024);
    out.println("<HTML>");
    out.println("<HEAD><TITLE>UploadTest</TITLE></HEAD>");
    out.println("<BODY>");
    out.println("<H1>UploadTest</H1>");
    // Print the parameters we received
    out.println("<H3>Params:</H3>");
    out.println("<PRE>");
    Enumeration params = multi.getParameterNames();
    while (params.hasMoreElements()) {
    String name = (String)params.nextElement();
    String value = multi.getParameter(name);
    out.println(name + " = " + value);
    out.println("</PRE>");
    // Show which files we received
    out.println("<H3>Files:</H3>");
    out.println("<PRE>");
    Enumeration files = multi.getFileNames();
    while (files.hasMoreElements()) {
    String name = (String)files.nextElement();
    String filename = multi.getFilesystemName(name);
    String type = multi.getContentType(name);
    File f = multi.getFile(name);
    out.println("name: " + name);
    out.println("filename: " + filename);
    out.println("type: " + type);
    if (f != null) {
    out.println("length: " + f.length());
    out.println();
    out.println("</PRE>");
    catch (Exception e) {
    out.println("<PRE>");
    out.println("</PRE>");
    out.println("</BODY></HTML>");
    %>

    you have not understood my point
    how does this code will run on servlet when I want to upload a file from client's
    machine to server machine
    what I am doing is I am giving an option to the user that he/she can browse the file and then select any file and finally it's action is post in the jsp form for which I have sent the code
    All the computers are connected in LAN
    So how to upload a file from client's machine to server's machine
    Plz give me a solution

  • Firefox 7.0 - Can not upload the file from local machine to server...gives "error 404 : file not found"

    firefox 7.0 - Can not upload the file from local machine to server...gives "error 404 : file not found"

    you have not understood my point
    how does this code will run on servlet when I want to upload a file from client's
    machine to server machine
    what I am doing is I am giving an option to the user that he/she can browse the file and then select any file and finally it's action is post in the jsp form for which I have sent the code
    All the computers are connected in LAN
    So how to upload a file from client's machine to server's machine
    Plz give me a solution

  • How to upload file from a client machine to server machine

    hei evryone!
    can anyone pls help me on how i can upload file from a client machine to another machine (or server). using jsp.Then later on, i can also retrieve the names of these files to place it as values for option tag in an html form.I have a seperate screen for uploading the file and the screen for displaying all the files that were uploaded on the server...
    any sample code/ ideas would be much appreciated.Thx!!!!

    hei evryone!
    can anyone pls help me on how i can upload file from a client machine to another machine (or server). using jsp.Then later on, i can also retrieve the names of these files to place it as values for option tag in an html form.I have a seperate screen for uploading the file and the screen for displaying all the files that were uploaded on the server...
    any sample code/ ideas would be much appreciated.Thx!!!!

  • How to download a file from server machine to client machine using jsp

    Hi,
    In my application, I have an excel file stored on my server machine. How can I download that excel file on to my client machine using jsp. Is there any other way I can open that file from my machine and save it in my machine using jsp/java?
    Its an emergency for me to do this.
    Can anyone provide me the full code to download a file from server machine as I don't have
    time to browse through various sites.
    thanks in advance,
    Tiijnar

    Please post your code using code tags (click on CODE above the text area, when posting)
    response.setContentType("application/octet-stream");Why octet-stream? Set the correct mime-type.
    String disHeader = "Attachment; Filename=\"filename\"";The filename should just be the file's name. Not the complete path to the file! This will tell anyone where the file is located on the server. It's also inconvenient because by default,the browser will suggest it as the name for the download.
    Your way of writing to the output stream is just plain wrong. See this snippet (picked from [http://balusc.blogspot.com/2007/07/fileservlet.html])
            BufferedInputStream input = null;
            BufferedOutputStream output = null;
            try {
                // Open streams.
                input = new BufferedInputStream(new FileInputStream(file), DEFAULT_BUFFER_SIZE);
                output = new BufferedOutputStream(response.getOutputStream(), DEFAULT_BUFFER_SIZE);
                // Write file contents to response.
                byte[] buffer = new byte[DEFAULT_BUFFER_SIZE];
                int length;
                while ((length = input.read(buffer)) > 0) {
                    output.write(buffer, 0, length);
                // Finalize task.
                output.flush();
            } finally {
                // Gently close streams.
                close(output);
                close(input);
            }

  • How to copy file from server to another machine in network through JSP

    Hello!
    any body can solve my problem.
    i m working in JSP. i want to copy a file from server on which JSP engine is running to another computer in the same network.
    i used Java File Object to copy file from one machine to another in network. and its working fine on network. but the problem is when i used the same code in web page there is exception which is Access is Denied. what i should do now.
    i m writing the code i m using in my JSP page
    String fileToCopy = "C:/oracle/Apache/Apache/htdocs/FAO/FAO_MiddleFrame.jsp";
         String destinationDir = "\\\\af09\\c";
    File source = new File(fileToCopy);
    String fileName1 = source.getName();
    if ((!destinationDir.endsWith("\\")) && (!destinationDir.endsWith("/"))) {
    destinationDir = destinationDir + "\\";
    File destination = new File(destinationDir + fileName1);
    if (!destination.exists()) {
    if (!destination.createNewFile()) {
    //throw new IOException("Unable to create file. May be you don't have permissions.");
    byte[] buffer = new byte[1024];
    FileInputStream in = new FileInputStream(source);
    FileOutputStream outStream = new FileOutputStream(destination);
    int bytesRead = 0;
    while ((bytesRead = in.read(buffer)) != -1) {
    outStream.write(buffer, 0, bytesRead);
    out.println("File copied successfully ....");
    plz reply me as soon as possible.
    i will be very thankful
    Saad

    Thats the way it works. Cause servlet contaner doesnot allow other machines in the network to access other than machine which it came from as in case of applets. What you can do is if the other machine is also based on webserver or app server .. you can upload the file as it gets to that page do the process.
    I would like to hear more on my comments..
    Suggestions ??
    Ban

  • To save a word/xls document from server machine to client

    Hi Folks,
    I am facing a problem in storing a document from server to client machine.
    I have a document in Oracle database BLOB column and i am able to read and open that document in client browser. But it is stored in the server machine when accessing from the client browser it is opening as a read only copy.
    I want to open it as editable copy in client machine and once it is edited i want to save back to the databse. But it can be stored in server or client machine without promting to the user.
    Any one can help me?
    Senthil

    Hi, I am wondering whether this will take time for a document/image which is about 3, 4 MB??? Cos customer has to scan documents one by one and the saving of the file in the DB and then using that to transfer to MSMQ (which is the requirement) should take less time than scanning 2 documents.

  • Window 7 32 bit client machine dot net exe running in IE8 or IE9 from server security warning file download issue

    Help me in the issue, Asp dot net exe which run from server in IE 8 window 7 32 bit client machine show security file save download message. This app was running fine if we don't apply any window 7 or IE8 patches. same issue when running in
    IE9. I already run the caspol, add the server link to trusted site with low security. I wonder why it was working fine without any patches.
    I just found that client machine win 7 32 bit has dot net 4.5.1 installed when updated all the patches. after uninstall the dot net 4.5.1. the application worked fine. now I wonder what are the settings need to change to run the application with dot net 4.5.1
    installed on machine. as Microsoft always has these things in window updates. thanks in advance.

    Hi Gparhar,
    In case you are posting on .NET setup forum, I suspect it is not the right forum for your issue, we talks about "setup and deployment of .NET Framework.", if you have problem on installing and uninstalling .NET 4.5.1, we can share you some advice.
    For your specific case, I recommend you consult ASP.NET forum instead:
    http://forums.asp.net/
    Regards,
    Barry Wang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can't start manager server on other machine from admin console

    hi, m fredzh
    i have weblogic 10.3.2 where i created a cluster named cluster1 on production mode
    the machines and servers list as follow:
    cluster1 192.168.1.100
    --machine1
    --server1 192.168.1.100
    --machine2
    -server2 192.168.1.101
    i create nodemanager on machine2, and set the type as ssl, the listener address 192.168.1.101,
    then login on 192.168.1.101, and run wlst.sh , nmEnroll and then start startNodemanaged.sh ..
    start server2 on the admin console(on 192.168.1.100), failed and the log as follow:
    can anbody help me, thank you..
    ==============================================================================
    <Critical> <WebLogicServer> <localhost.localdomain> <managerServer2> <main> <<WLS Kernel>> <> <> <1286788326928> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError: java.lang.reflect.InvocationTargetException
    java.lang.AssertionError: java.lang.reflect.InvocationTargetException
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy._invokeServiceMethod(DescriptorManager.java:175)
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy.decrypt(DescriptorManager.java:192)
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl.decrypt(DescriptorManager.java:114)
    at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:991)
    at weblogic.management.configuration.SecurityConfigurationMBeanImpl.getCredential(SecurityConfigurationMBeanImpl.java:709)
    at weblogic.security.internal.ServerPrincipalValidatorImpl.getSecret(ServerPrincipalValidatorImpl.java:88)
    at weblogic.security.internal.ServerPrincipalValidatorImpl.sign(ServerPrincipalValidatorImpl.java:67)
    at weblogic.security.service.PrivilegedActions$SignPrincipalAction.run(PrivilegedActions.java:62)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.security.service.SecurityServiceManager.createServerID(SecurityServiceManager.java:1098)
    at weblogic.security.service.SecurityServiceManager.getServerID(SecurityServiceManager.java:1111)
    at weblogic.security.service.SecurityServiceManager.sendASToWire(SecurityServiceManager.java:602)
    at weblogic.server.channels.ChannelService.resetQOS(ChannelService.java:284)
    at weblogic.server.channels.ChannelService.start(ChannelService.java:250)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy._invokeServiceMethod(DescriptorManager.java:173)
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy.decrypt(DescriptorManager.java:192)
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl.decrypt(DescriptorManager.java:114)
    at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:991)
    at weblogic.management.configuration.SecurityConfigurationMBeanImpl.getCredential(SecurityConfigurationMBeanImpl.java:709)
    at weblogic.security.internal.ServerPrincipalValidatorImpl.getSecret(ServerPrincipalValidatorImpl.java:88)
    at weblogic.security.internal.ServerPrincipalValidatorImpl.sign(ServerPrincipalValidatorImpl.java:67)
    at weblogic.security.service.PrivilegedActions$SignPrincipalAction.run(PrivilegedActions.java:62)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.security.service.SecurityServiceManager.createServerID(SecurityServiceManager.java:1098)
    at weblogic.security.service.SecurityServiceManager.getServerID(SecurityServiceManager.java:1111)
    at weblogic.security.service.SecurityServiceManager.sendASToWire(SecurityServiceManager.java:602)
    at weblogic.server.channels.ChannelService.resetQOS(ChannelService.java:284)
    at weblogic.server.channels.ChannelService.start(ChannelService.java:250)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: weblogic.security.internal.encryption.EncryptionServiceException: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
    at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:125)
    at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:173)
    at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:96)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy._invokeServiceMethod(DescriptorManager.java:173)
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy.decrypt(DescriptorManager.java:192)
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl.decrypt(DescriptorManager.java:114)
    at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:991)
    at weblogic.management.configuration.SecurityConfigurationMBeanImpl.getCredential(SecurityConfigurationMBeanImpl.java:709)
    at weblogic.security.internal.ServerPrincipalValidatorImpl.getSecret(ServerPrincipalValidatorImpl.java:88)
    at weblogic.security.internal.ServerPrincipalValidatorImpl.sign(ServerPrincipalValidatorImpl.java:67)
    at weblogic.security.service.PrivilegedActions$SignPrincipalAction.run(PrivilegedActions.java:62)
    at java.security.AccessController.doPrivileged(Native Method)
    at weblogic.security.service.SecurityServiceManager.createServerID(SecurityServiceManager.java:1098)
    at weblogic.security.service.SecurityServiceManager.getServerID(SecurityServiceManager.java:1111)
    at weblogic.security.service.SecurityServiceManager.sendASToWire(SecurityServiceManager.java:602)
    at weblogic.server.channels.ChannelService.resetQOS(ChannelService.java:284)
    at weblogic.server.channels.ChannelService.start(ChannelService.java:250)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Edited by: fredzh on 2010-10-12 下午6:54

    hi,Jay
    i followed the steps as follow:
    1、change prod mode to dev
    2、modified the config.xml entrys on the all two servers:
    <node-manager-password-encrypted>test</node-manager-password-encrypted>
    <credential-encrypted>test</credential-encrypted>
    <embedded-ldap>
    <name>cluster_domain</name>
    <credential-encrypted>test</credential-encrypted>
    </embedded-ldap>
    3、enrolled the node, then started the two adminservers, started server2's nodemanager..server2 can be started from the cluster admin console.
    4、change the dev mode to prod mode on admin console, it failed throw error:
    "in production mode, it's not allowed to set a clear text value to the property: CredentialEncrypted of SecurityConfigurationMBean"
    i checked the config.xml ,the entrys i had changed were not aotomatically encrypted,may i manually encryp the clear text value? ..follow is the config.xml :
    <?xml version='1.0' encoding='UTF-8'?>
    <domain xmlns="http://xmlns.oracle.com/weblogic/domain" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator/1.0/passwordvalidator.xsd http://xmlns.oracle.com/weblogic/domain http://xmlns.oracle.com/weblogic/1.0/domain.xsd http://xmlns.oracle.com/weblogic/security http://xmlns.oracle.com/weblogic/1.0/security.xsd http://xmlns.oracle.com/weblogic/security/wls http://xmlns.oracle.com/weblogic/security/wls/1.0/wls.xsd">
    <name>cluster_domain</name>
    <domain-version>10.3.2.0</domain-version>
    <security-configuration>
    <name>cluster_domain</name>
    <realm>
    <sec:authentication-provider xsi:type="wls:default-authenticatorType"></sec:authentication-provider>
    <sec:authentication-provider xsi:type="wls:default-identity-asserterType">
    <sec:active-type>AuthenticatedUser</sec:active-type>
    </sec:authentication-provider>
    <sec:role-mapper xmlns:xac="http://xmlns.oracle.com/weblogic/security/xacml" xsi:type="xac:xacml-role-mapperType"></sec:role-mapper>
    <sec:authorizer xmlns:xac="http://xmlns.oracle.com/weblogic/security/xacml" xsi:type="xac:xacml-authorizerType"></sec:authorizer>
    <sec:adjudicator xsi:type="wls:default-adjudicatorType"></sec:adjudicator>
    <sec:credential-mapper xsi:type="wls:default-credential-mapperType"></sec:credential-mapper>
    <sec:cert-path-provider xsi:type="wls:web-logic-cert-path-providerType"></sec:cert-path-provider>
    <sec:cert-path-builder>WebLogicCertPathProvider</sec:cert-path-builder>
    <sec:name>myrealm</sec:name>
    <sec:password-validator xmlns:pas="http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator" xsi:type="pas:system-password-validatorType">
    <sec:name>SystemPasswordValidator</sec:name>
    <pas:min-password-length>8</pas:min-password-length>
    <pas:min-numeric-or-special-characters>1</pas:min-numeric-or-special-characters>
    </sec:password-validator>
    </realm>
    <default-realm>myrealm</default-realm>
    <anonymous-admin-lookup-enabled>false</anonymous-admin-lookup-enabled>
    <credential-encrypted>test</credential-encrypted>
    <web-app-files-case-insensitive>false</web-app-files-case-insensitive>
    <compatibility-connection-filters-enabled>false</compatibility-connection-filters-enabled>
    <node-manager-username>weblogic</node-manager-username>
    <node-manager-password-encrypted>test</node-manager-password-encrypted>
    <principal-equals-case-insensitive>false</principal-equals-case-insensitive>
    <principal-equals-compare-dn-and-guid>false</principal-equals-compare-dn-and-guid>
    <downgrade-untrusted-principals>false</downgrade-untrusted-principals>
    <enforce-strict-url-pattern>true</enforce-strict-url-pattern>
    <cross-domain-security-enabled>false</cross-domain-security-enabled>
    </security-configuration>
    <jta>
    <security-interop-mode>default</security-interop-mode>
    </jta>
    <server>
    <name>AdminServer</name>
    <ssl>
    <hostname-verifier xsi:nil="true"></hostname-verifier>
    <hostname-verification-ignored>true</hostname-verification-ignored>
    <export-key-lifespan>500</export-key-lifespan>
    <client-certificate-enforced>false</client-certificate-enforced>
    <two-way-ssl-enabled>false</two-way-ssl-enabled>
    <ssl-rejection-logging-enabled>true</ssl-rejection-logging-enabled>
    <inbound-certificate-validation>BuiltinSSLValidationOnly</inbound-certificate-validation>
    <outbound-certificate-validation>BuiltinSSLValidationOnly</outbound-certificate-validation>
    <allow-unencrypted-null-cipher>false</allow-unencrypted-null-cipher>
    <use-server-certs>false</use-server-certs>
    </ssl>
    <listen-port>7110</listen-port>
    <listen-address></listen-address>
    </server>
    <server>
    <name>server2</name>
    <machine>machine2</machine>
    <listen-port>7110</listen-port>
    <listen-address>192.168.1.101</listen-address>
    <server-start>
    <java-vendor>Sun</java-vendor>
    <java-home>/opt/jdk1.6.0_21</java-home>
    <bea-home>/root/Oracle/Middleware</bea-home>
    <root-directory>/root/Oracle/Middleware/user_projects/domains/cluster_domain</root-directory>
    <username>weblogic</username>
    <password-encrypted>{AES}xhSI75AxXtXdMrCXRgA2uY5pfcxUGE9X4YXTjfe1XEY=</password-encrypted>
    </server-start>
    </server>
    <embedded-ldap>
    <name>cluster_domain</name>
    <credential-encrypted>test</credential-encrypted>
    </embedded-ldap>
    <configuration-version>10.3.2.0</configuration-version>
    <machine xsi:type="unix-machineType">
    <name>machine2</name>
    <node-manager>
    <nm-type>SSL</nm-type>
    <listen-address>192.168.1.101</listen-address>
    <listen-port>5556</listen-port>
    <debug-enabled>false</debug-enabled>
    </node-manager>
    </machine>
    <admin-server-name>AdminServer</admin-server-name>
    </domain>
    Edited by: fredzh on 2010-10-13 下午7:57

  • How to download/save report from server machine to client machine?

    Hello All
    This is San,
    My problem is that i need to save pdf/html report in client machine while report running on client machine for this i have set destype as file and desformat as pdf/html.
    It is running and save automatically while report run on server machine (Application Server OS is Windows 20003 professional) but when i run it on client machine (Client machine OS is XP sp2) click on run button to run report then it give message as
    FRM-41214: Unable to run report
    When I do showjobs then it give message as
    Executed successfully but there were some errors when distribute the output<br>
    Please suggest me solution of the above mentioned.
    I am waiting for your reply.
    Thanks in Advance
    Edited by: user8752210 on Feb 11, 2011 11:46 PM

    Hello Mr.
    Thanks for quick reply.
    The e:\tempReport directory is on both app-server and client and it is shared folder, i am sending procedure that i have used as:
    PROCEDURE DOWNLOAD_AS IS
    l_success boolean;
    l_bare_filename varchar2(50);
    BEGIN
    --l_bare_filename := substr(:upload.file_name,instr(:download.file_name,'\',-1)+1);
    l_success := webutil_file_transfer.AS_to_Client_with_progress
    (clientFile => :GLOBAL.PATH3||:global.tmp--(\\client_ip_address\e:\tmpreports\file_name.html it is shared folder)
    ,serverFile => :GLOBAL.PATH2||:global.tmp--\\server_iip_address\e:\tmpreports\file_name.html it is shared folder)
    ,progressTitle => 'Download from Application Server in progress'
    ,progressSubTitle => 'Please wait'
    if l_success
    then
    message('File downloaded successfully from the Application Server');
    else
    message('File download from Application Server failed');
    end if;
    exception
         when others
         then
         message('File download failed: '||sqlerrm);
    END;
    Please suggest me what to do.
    Thanks

  • How to export XML from server to local machine

    Hi all
    i want to export some XML files from instance to my local machine.right now i m i have Ftpied the files from server to to my local machine but ,but it is not coming with personalization .
    thanx in advance
    Pratap

    Hi Paratap,
    If you want to see source of the page use
    call jdr_utils.printDocument('/oracle/apps/pos/orders/webui/PosVpoMainPG');
    If you want to see the personalization for the source use
    call jdr_utils.printDocument('/oracle/apps/pos/orders/webui/customizations/site/0/PosVpoMainPG');
    I have given these examples for site level personalization, depanding upon the personalization level the path may vary.
    You can also export the files using XMLExporter by giving appropriate path.
    You can FTP all other source files from the server.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Restore from server with Time Machine not possible

    I am not able to do a Restore with the Recovery Drive and the Option "Restore from Time Machine Backup". If i try to connect to the appropriate Backup Drive on my Server Running Server Version 4 on OS X 10.10.1 i continue to have "With the connection to the Server a problem occurred, contact your System Administrator".
    Any hints:
    Recovery drive on iMac to be Recovered: OS X 10.10
    on Server:
    OS X 10.10.1 with Server Version 4 and Time Machine turned on.
    Any hints?

    I try this:
    1. Detach Backup Drive from Server (in my Case Lacie 4 Big)
    2. Mount the Drive with Disk Utility and the dmg file to the iMac to be restored
    3. Start restore
    i know if this worked in 1h 15min

  • List all printers configured from server and local machine when hosted in server machine and working from Client machine

    Hello Team
    I am developing web application in asp.net. When application run from IIS(hosted in server machine running from client machine using web browser) application should list all the configured printers in local and network.
    can any one please let me know the process, in this i was able to load printers from server, so need to load printers from local machine.
    Thanks in Advance
    Bindu

    Hi Bindu,
    I am developing web application in asp.net. When application run from IIS(hosted in server machine running from client machine using web browser) application should list all the configured printers in local and network.
    From this message, this is a web application in asp.net, and it also related to IIS.
    You should post in the dedicated ASP.Net Forum
    http://forums.asp.net
    For IIS issue, http://forums.iis.net/ IIS forum should post.
    Thanks
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Move Virtual Machine from Hyper-V Server 2008 R2 SP1 to Hyper-V Server 2012 fails with Error 2901

    I have six Hyper-V 2008 R2 SP1 servers and two Hyper-V 2012 servers. I am running SCVMM 2012 SP1. I am trying to use "move virtual machine" from within SCVMM to move VMs from a 2008 host to a 2012 host. I have tried different VMs on different hosts
    and they all fail with this error:
    ==========
    Error (2901)
    The operation did not complete successfully because of a parameter or call sequence that is not valid.
    The parameter is incorrect (0x80070057)
    Recommended Action
    Ensure that the parameters are valid, and then try the operation again.
    ==========
    I have successfully created a VM on one of the 2012 hosts and moved it to the other 2012 hosts.  I can move VMs from 2008 host to 2008 host.  I just cannot move VMs from 2008 host to 2012 host.
    Does SCVMM 2012 SP1 not support moving VMs from Hyper-V 2008 to Hyper-V 2012?

    Hello Kevin,
    Have you got an resolution yet ? Do you have latest update roll up pack applied to SCVMM 2012 SP1?
    With SCVMM 2012 SP1  " Running VMs (Live Migartion) and VMs which are in Saved state or having checkpoints can not be migrated from 2008R2 host to 2012 Host " 
    above was fixed in SCVMM 2012 Update Roll up 1
    Apart this please check the approx. size of data (VHDs) which will get transferred over the network , If you have large files chances are more to get such errors.
    Thanks
    ~NY

  • Monitor Tiger Xserve from Server Monitor on Leopard machine?

    I can't get my G5 Xserve 10.4.11 to show up in Server Monitor 1.6.1 (2) running on my Mac Pro.
    My Intel Xserve 10.5.6 shows up just fine.
    In fact the G5 Xserve even shows up in Server Admin but I just get 'Waiting for response' from Server Monitor.
    I recently rebuilt the G5 Xserve 10.4.11. I wonder if there is something I forgot to reconfigure after the rebuild?

    Sorry, somehow got into the regular 10.5.6 forum was looking at the 10.5.6 Server forum earlier. I will repost.
    If there were an admin, I'd ask to have the post moved

Maybe you are looking for

  • Master data is not getting displayed in the Report in Quality

    HI Experts, I have ZESP_Num as master for my transaction data. I have loaded the data in the Development and designed and checked my report. It is working fine. But after moving it to Quality. My report is not getting the master data. When I try to d

  • How can I capture and take screenshots of all the browser tabs and not only windows ?

    This class identifies all minimized windows and take a snapshot (screenshot) of them. I want to take screenshots also of all the broswer for example chrome tabs windows that are open but not in the front. Same idea that it get now the minimized windo

  • How to recover a file i accidently deleted on OS X snow leopard?

    I added a file on the right side of my dock, when opening it the mouse slipped and it got deleted accidentally and i looked in SPOTLIGHT and FINDER and MACINTOSH HD and couldnt find anything... this was the tip given to me: 'Open a Finder window. Loo

  • What's the best way to create zoomable map for iOS by using Flash?

    We got a big location map that allows user to zoom in and out and do the panning but the image of the map is not very smooth when you  pan it in iOS (Android is ok) so is there a way to fix this problem? thanks!

  • Accidental Batch Date Change

    I accidentally batch changed my entire iphoto 08 collection ( more than 22K photos) before I had realized what I had done. I thought I was changing dates only in an event selection. This changed their original photo dates to one standard date for pic