HELP! I need to get rid of my headache.

My JSP program works in this way:
1. It is runing in Server A and will import a text file from Server B.
--I make this part work by using java.net.URL. I import the file and save it on the hard drive of Server A.
2. After obtaining the file from server B, my JSP program should be able to create a back up file under the same path on server B.
--Is there methods to rename a file on another server. I think file.Renameto() method won't work here because the I only have the URL path. Is there a file method accepting an URL as parameter, or something like that? Or I have to send the file back to the same place from where I get this file. This sounds stupid to me, because in this way I am going to import a file and send it back right after I get it and, the only purpose is to make a back up file on server B.
3. The program will process the data in the file on server A. But it also should be able to create a new file on server B, which contains the error messages occured during data processing on Server A.
--can we create a file on another server? If we can, then how? Anybody has sample codes?
Thanks.

If you have FTP services running on Server B - then you could do all yoy need via FTP Client commands
you can get(copy) file from ServerA to ServerB (Backup done)
you can rename file on ServerA
You can process file, build error file and put(write) file back to ServerA
try the NetComponents libraries at
http://www.savarese.org/oro/
Hope this helps

Similar Messages

  • Help! Need to get rid of MacKeeper and Spinning Wheel!

    Hello Apple Community,
    I have a problem that has been solved by one member of the community, however, I am still having the same problem.  I thought I knew my mac pretty well however, I was one of those stupid people who installed MacKeeper in hopes of cleaning up my macbook pro and get the spinning "wheel of death" to STOP!
    I have read the posts and the comments from previous threads.  One in particular was posted by "uvistr" requesting help with the same problem I am having.  The community member, "etresoft", provided a great solution.  However, I tried to follow the directions to re-install mackeeper and then un-install, but I could not find any information in my logs with anything related to mackeeper. When I went to the mackeeper site, the only way I could re-load it was to buy it again!  I feel like I am going in circles!
    I thought I had deleted, dumped, trashed MacKeeper, but I still have the white screen on my desktop that says "unistall mackeeper". Only the GREEN light is available to use and of course I only just get a bigger screen!  Nothing is on the screen and there are no options in the finder (that I have found) to delete this white screen.
    I do know that I didn't un-install it correctly based on the information from "etresoft".  I am at the point of getting rid of everything on my macbook and then re-install everything.  I have everything backed up on an external hard drive. 
    Once I get MacKeeper off of my machine, will the spinning wheel stop?  OR does anyone think there is another problem that is causing it to constantly spin?  I have checked with Comcast and am running at their top speed.  I have the latest upgrade of OSX Lion and have deleted all pictures and movies from my hard drive.  Any thoughts?
    Thanks for any help that can be provided.....

    No, you do not need MacKeeper.  Removing MacKeeper will help.
    If your Mac runs slowly
    http://support.apple.com/kb/PH10798
    Start up in Safe Mode
    http://support.apple.com/kb/PH11212
    Repair Disk
    Steps 1 through 7
    http://support.apple.com/kb/PH5836
    Increase Disk space
    http://support.apple.com/kb/PH10677?viewlocale=en_US
    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".
    Reinstall OS X
    http://support.apple.com/kb/PH10763?viewlocale=en_US
    Best.

  • Help! need to get rid of icons on my home menu bar!

    need help getting rid of the temp and ervything above!
    i cant put a picture ugh.
    it shows the temp, disk memory, network,cpu, and other stuff!
    i recently download istats then those thnings popped but i already unintalled it but those things are still there!

    Take a screen shot using the following keys - Apple/Shift/4.  The cross hair shot will enable you to do the the exact size of shot you want to do.
    Place the screen shot onto your desktop.  In the "Basic reply window" click on the camera icon and follow the onscreen instructions.  Click on "Use Advance Editor" then click the "Add Reply" button. 
    Again, post in the Mountain Lion forum area so that users using the same os as yourself will be able to help.  Your issue is "os" related.  You do not have a Macbook Pro technical issue. 

  • All of my photos are displayed as BW because somehow I've saved a quick develop preset and it saves as BW.  This is for all of my photos.  I can individually undo them but need help in how to get rid of the preset so it goes to Default. thanks

    All of my photos are displayed as BW because somehow I've saved a quick develop preset and it saves as BW.  This is for all of my photos.  I can individually undo them but need help in how to get rid of the preset so all photos goes to Default or as shot. thanks

    Go to the develop module and highlight all of the images in the filmstrip at the bottom of the screen. Then activate Auto-sync and click on the Reset button. That should reset all of the images to your camera default settings.

  • HT1311 I can't get the country to change because I need to get rid of all my money but I have 84 cents

    I have accidentally change countries for my iTunes Store and now I can't change back to Australia. I try to change it but it says I need to get rid if all my money but I only have 84 cents and can't get rid of it. Can anybody help me with my problem

    You can't buy something for more than 84 cents? like spend a $1? 

  • I need to get rid of billing info and I really need to get apps but I need some billing info in order to get apps but I don't have a credit card

    I need help with a billing  adress  and I don't. Have a credit card and I need to get rid of it

    Are you creating a new account?
    Why not purchase and redeem an iTunes gift card?

  • Need to get rid of lines top and bottom

    The video material I'm cutting has a very annoying, eye-catching top and bottom edge. The topmost and lowest lines kind of wobble or jitter. I need to get rid of this.
    Do I 'zoom in' / expand the picture, or is there a crop tool I haven't come across?
    Any help much appreciated.

    Right-click(Control+click) the clip with the settings and chose copy.
    Select all of your clips that you want to apply the same settings to and right- click and chose paste attributes. A window will open and check the motion box and then click apply(Ok?)
    Now all of the selected clips will have the motion setting that you copied. This is also a good way for copying video and audio filters and any other settings in the motion tab.

  • Since upgrading to 10.7.2 to use iCloud, i keep getting a message with ubd wants to use the login keychain, anyone for help to how to get rid of this...

    since upgrading to 10.7.2 to use iCloud, i keep getting a window message with ubd wants to use the login keychain, i put the right password but it keeps coming back, anyone for help to how to get rid of this...

    This is what I did and it seems to have worked so far. While that little annoying box is up you need to open the Keychain access by:
    going to applications -> open utilities folder -> click to open Keychain Access
    Now here is the stupid part, you have to continue to press the cancel button on the "ubd wants to use login keychain" box for the kaychain window to open. Once you have keychain access open go to:
    the top of your monitor and select "Keychain Access" right next to the little apple logo -> click preferences in the options panel-> the preference box will open now -> click "Reset My Default Keychain" -> another box will pop up that says "Please enter your login password. This password will be used to create your new keychain" (of course this is assuming that you use a login password to access your mac) -> enter your login password and a box shows up that says "created a new empty 'Login' keychain"
    After that you should be good to go. This new keychain you created with your login password overides the old keychain. The old keychain is still available in the Keychain's folder but is not being used and therefor can be deleted. All you have to do now is press ok, and your good. If the "ubd wants to use login keychain" box is still there after you reset your keychains just hit cancel and it should be gone for good or you can enter your login password.
    Is this a fixall that will work forever? I have no idea but doing this has allowed me to access my network at work and all the servers I need to get to.
    Oh and one more thing. You may need to press cancel on the ubd box throughout this entire process, I just gon in the habit of clicking a button hitting cancel on the ubd box and the new window would pop up.
    I hope this helps you! Sorry if it's long, I was trying to be as detailed as possible to make it  easier. Let me know how it goes.

  • I have Modzilla Firefox, Modzilla Firefox 2 and modzilla firefox copy on my desktop. I don't know how they all got there but I need to get rid of them. How?

    i need to get rid of Modzilla Firefox 2 and modzilla firefox copy on my desktop. I only need one Modzilla Firefox, I now have 3, I don't know how they got there. grandchildren probably , but I don't know how to delete the other 2. Please help me.

    Hi cathyw11,
    probably you have 3 shortcuts on your desktop, if it is shortcuts they will have a small arrow on the firefox icon (see the [http://en.wikipedia.org/wiki/Screenshot screenshot]). Right click on each shortcut you want to delete and select delete(don't be afraid, you delete only the shortcut, not the program, the program you can find it in windows start > all programs).
    thank you

  • I have 2 apple ID and I need to get rid of one to use icloud on my iphone and ipad. any suggestion?

    I have 2 apple ID and I need to get rid of one to use icloud on my iphone and my ipad. Any suggestion?

    Hi Pierre,
    There's no way to merge them yet, so all you can do now is make 1 of them the master ID for iCloud. You have to continue to use the other for previous iTunes, Mac App Store updates. Have you read:
    Apple IDs and iCloud
    Al

  • I need to get rid of the ads on coupons with all these women it is disguisting

    the ads by coupon drop down I need to get rid of them. They are driving me crazy

    You can check for suspicious installed extensions in Firefox.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Do a malware check with some malware scanning programs on the Windows computer.<br>
    Please scan with all programs because each program detects different malware.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • HT1420 need to get rid of old expired apple accounts before I can purchase new stuff

    i need to get rid of old expired apple accounts from previous email addresses.  how to do that?

    Why would you keep creating new accounts?
    Just change the e-mail address associated with the account.
    Having more than one account will generally cause problems.
    All purchases are always tied to the account from which they were purchased.

  • Need to get rid of flicker in between image displays--the PC in which LabVIEW 8.2 is installed is routing images via LaVIEW code & 'extended desktop' to typical visual projector and between each image display is a flicker--that we need to remove

    Need to get rid of flicker in between image displays--the PC on which LabVIEW 8.2 is installed is routing images via LabVIEW code & 'extended desktop' to a typical visual projector and between each image display is a flicker--that we need to remove
    Attachments:
    Get JPEG Files in the folder.vi ‏13 KB
    Display image on the screen.vi ‏34 KB
    Create image file path.vi ‏12 KB

    In response to below------Thank you Lynn-----Yes, there is a main panel--I will attach----and if you have any further suggestions please let me know--Thanks again
    How are you running this program? Is there a top level vi which calls the ones you posted? The Display image on screen.vi will display two images in succession, but according to the note on the block diagram the second image is blank. It seems as though this would intentionally create a flicker.
    The sequence structure is unnecessary. Dataflow will determine the order of execution. The only exception is the time delay in the third frame. Since it has no data dependency, a single frame sequence may be useful to assure that the delay occurs before the picture is updated. A simple state machine might be a more versatile architecture for what you may be trying to do.
    It is not necessary to write the FR.PanelBounds property immediately after reading it, nor is it necessary to read it a second time in the second frame. Just wire from the first read.
    Lynn
    Attachments:
    Main Front Panel with Rendv Final Nov 6 with pause.vi ‏755 KB

  • I need to get rid of the load my iTunes library is putting on my laptop. Can I store music, vids, etc in iCloud and DELETE it from my pc?

    I need to get rid of the load my iTunes library is putting on my laptop. Can I store  music, vids, etc in iCloud and DELETE it from my pc? 

    Take a look at this: iTunes in the Cloud and iTunes Match Availability
    http://support.apple.com/kb/HT5085?viewlocale=en_US&locale=en_US

  • I updated my phone and it cleared everything on it and I don't have an icloud or itunes backup. Please help I need to get my pictures and information back

    I updated my phone and it cleared everything on it and I don't have an icloud or itunes backup. Please help I need to get my pictures and information back

    Sorry, but without a backup in iCloud or iTunes on your computer, your data is gone and can't be restored anymore.

Maybe you are looking for

  • Report for displaying Customer follow up list

    Hi all, We are looking for a SAP standard program which can display the details (for maintaining clear notes in the system to allow visibility on the customer account status), in order to plan the phone calls/follow up to be made to customers during

  • Photoshop Touch won't open

    I have an iPad 3. I just purchased Adobe Photoshop Touch. It won't launch. I rebooted my iPad. After doing that it still wouldn't start. So I deleted it and downloaded the app again. Still does not launch. I closed all open apps and tried it again an

  • Policy based nat - can't get it right...

    Hi out there I need to implement some policy based nat to hide a DMZ network on a site - to avoid routing problems. This should also be faily simple by defining a route-map and then looping the traffic around a loopback-interface which is defined as

  • Unable to download apps ipad

    my ipad 2 is not able to download apps from the app store.it always shows the message that "unable to download app" etc... this problem was from iOS 6 and now iOS 7 but the same problem.plz help me......eager to download apps

  • Default home page links do not work

    Before i updated to 34.0.5, I had images on a new tab page and on the default home page, i could click on the quick links. Nothing on the default home page works! I have no images on a new tab page! What happened?