Who wants Duke Dollars?

I have a program with a problem no one has helped me solve yet. And it's stupidly simple. me ?? stupid? maybe. I want to make a directory on a server if it doesn't exist, using sun.net.ftp. Who can help me?

I want to create a directory on a server, we have a 60-80 little outlettes of our company and we're getting sick of emails. So I want everyone with this program to be able to log on to our server and store their files their until we can process them instead of bogging us down with emails and attachments. As far as particular package I don't really care what I use as long as I can do it over the internet, but I'm pretty sure the io.File class doesn't have what I'm looking for, I've spent some time in there.
-thanks conor

Similar Messages

  • Who has the most duke dollars?

    Is there a place in the JDC where you find find a list of who had the most duke dollars? I think they had this a long time ago, but I'm not sure what happend to it.
    Thanks,
    Strider

    http://developer.java.sun.com/developer/community/dd.jshtml#winners
    (Do I get any duke dollars for this?)

  • What is Duke Dollars

    i am a new user to java forum,i want to know about the Duke Dollars

    The FAQ there is a little out of date.
    They don't give away prizes anymore like it says (I have heard from of at least one person who got something)
    Since that time Duke dollars have become a bit of a joke.
    Too many people were "cheating" with dukes - just creating throwaway names, and awarding themselves duke dollars.
    You used to be able to see how many duke dollars a person had - which was a small indication of the "expertise" of the person. That was removed in one of the forum "upgrades"
    So now you can't even use them for that. You can still issue them if you want to. It probably won't affect the answers though.

  • Assigning duke dollars

    How do I award Duke dollars to the best respondent to my question?

    After you post a question, there will be a hyperlink like "assign duke dollar" in the page of your post. Follow it to assign the duke dollar to your question. To reward the duke dollar to the response, you have to log in first, open your post, then you can see a icon in front of every repsponse, you can click the one you want to reward.

  • SDN Forum points vs Sun Forum Duke Dollars

    I believe that a points system is a great way to encourage participation by the community in problem solving.
    With the points system in SDN, however, there is room for abuse, for example, by having people you know award points to you on threads.
    I personally like the points reward system (Duke Dollars) on Sun's Developer Forums. In this scheme, you work with credits. Every user is given a certain amount of points (Duke Dollars) when they join. When you post a question, you can assign a number of Duke Dollars up front from your available credit as a reward to entice responses. You can also accumulate more Dollars by answering threads which have Dollars assigned.
    Every month, Sun gives a gift to the user who has accumulated the most points.
    I'm not sure that this solves the problem of users not assigning points for valid help, but, because users are working with limited credit, it does force them to be careful when assigning points, and prevents abuse as that mentioned above.
    I would like to hear what other people think about this scheme. Perhaps there are aspects I have not considered.
    Regards,
    Martin

    Would a moderator make it more positive? 
    Actually Craig went into each of the forums and published a "rules of engagement".  Maybe that kind of a "sticky note" post would be the place to remind people about the inappropriateness of redundant questions (across various forums) and the confusion and poor sporting behavior associated with "copied" answers.  I can ping Craig with that suggestion to add text if you think it makes sense to "remind" people in each of the respective forums.
    Or..to be a little more provocative, we could suggest that community members who have a good track record of participation, collaboration, and exemplary attitude be given the moderator rights in forums where the activity volume might be too overwhelming for an SAP moderator alone to manage and given the rights to move content to a more appropriate thread.
    This is what I meant about "self-policing".  Also, perhaps the moderators (internal as well as SAP) could identify themselves in a sticky post and invite participants in those designated threads to track "abuses" or issues, thus identifying them and hopefully resolving them publically.
    Strange, it reminds me that in old, Puritanical, America, of the 17th century community culprits were subjected to a public dunking or stocks when they broke the law.  The purpose being that public condemnation sent a clear message to other "would be" misbehavers.... and thus deterred further bad conduct.
    While a rather radical and unpleasant method it was an open way of dealing with abuses to the system.
    Perhaps others can offer less extreme and more effective suggestions here
    Marilyn

  • Give duke dollars

    If you say you are going to give duke dollars, then give duke dollars. :o)

    Ah, that is meant by this -
    sorry, I have sometimes problems to understand the meaning of some saying - I am not a native english speaker. You are right - but, I guess, some newbies don't know how to award a good answer - I read this in a post, where a guy wants to award a reply, not knowing how to do that.
    greetings Marsian
    P.S.: I am not a Martian boy :) - this name is a fantasy name used in MUDs, derived from the Roman god of wars "Mars" and converted to a name in the same way as "Christ" is converted to "Christian".

  • 10 Duke Dollars if you help me set up tutorial

    After several posts to this forum w/o any success, I am now offering 10 Duke Dollars to get this problem fixed:
    I am trying to work through the j2ee tutorial on a Windows XP platform, specifically the servlets section which requires me to build the bookstore1 example (chapter 11). I am having problems with using asant to compile and package the project. I have been at a complete standstill for about a week now because I cant get the example to run - Im tearing my hair out, so plese help me!!!
    The command I am using is asant create-bookstore-war. This throws about 80 compilation errors because classes referenced within the source files are not found . I therefore know that the compiler cant find the classes (suggesting CLASSPATH problems), but I dont know what settings Im supposed to be using.
    Some info for you:
    I tried adding JAVA_HOME and J2EE_HOME to the environemt variables, pointing to the java sdk (inside the app server) and J2EE application server installation location respectively. This didnt work. Initially I had JAVA_HOME pointing to a seperate installation of the SE SDK I had, but since discovering the SDK inside the appserver, I uninstalled J2EE, J2SE SDK, and re-installed J2EE, using the enclosed sdk as JAVA_HOME. None of this solved my problem.
    I think I know now that the environment variables are not anything to do with the tutorial - this is just for the locations of the J2EE and J2SE SDK command path files - is this correct? In which case, using J2EE_HOME and JAVA_HOME is just for shorthand declarations in the environemtn/system variables?
    (As you can probably guess by now I have spent a lot of time trying out different things!!!).
    I also tried setting the j2ee.home and j2ee.tutorial.home attributes in the build.propoperties file located in <INSTALL>/j2eetutorial14/examples/common. This didnt work. I also tried setting the admin username property in this file, and the corresponding password in the password file (cant remember offhand what its called). Again, no luck.
    In another post, somebody asked for the following oputput from my system:
    D:\J2EE\j2eetutorial14\examples\web\bookstore1>asant listprops
    Buildfile: build.xml
    listprops:
         [echo] Path information
         [echo] j2ee.home = C:\Sun\AppServer
         [echo] env.Path = C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C
    :\BORLAND\BCC55\BIN;C:\Sun\AppServer\jdk\bin;C:\Sun\AppServer\bin;
         [echo] env.PATH = ${env.PATH}
         [echo] Classpath information
         [echo] classpath = .;D:\Packages;
         [echo] Admin information
         [echo] admin.password = ${admin.password}
         [echo] admin.host = localhost
         [echo] admin.user = admin
         [echo] admin.port = 4848
         [echo] https.port = 8181
         [echo] Domain information
         [echo] domain.resources = "domain.resources"
         [echo] domain.resources.port = 8080
         [echo] Database information
         [echo] db.root = C:\Sun\AppServer/pointbase
         [echo] db.driver = com.pointbase.jdbc.jdbcUniversalDriver
         [echo] db.host = localhost
         [echo] db.port = 9092
         [echo] db.sid = sun-appserv-samples
         [echo] db.url = jdbc:pointbase:server://localhost:9092/sun-appserv-samples
         [echo] db.user = pbpublic
         [echo] db.pwd = pbpublic
         [echo] url.prop = DatabaseName
         [echo] ds.class = com.pointbase.jdbc.jdbcDataSource
         [echo] db.jvmargs = -ms16m -mx32m
    BUILD SUCCESSFUL
    Total time: 1 second
    D:\J2EE\j2eetutorial14\examples\web\bookstore1>There must be somebody out there who has set this tutorial set up on Windows XP - please can you give me a dump of your system and environment variables, and any other settings I need (build.properties etc.).
    Many thanks

    Heres the last couple of errors on running asant creat-bookstore-war. All errors are cannot resolve symbol, so im sure its a classpath problem.
    I only have PATH properties set in the environment variables, and the set CLASSPATH only points to my own J2SE packages.
        [javac] D:\J2EE\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCart
    Servlet.java:147: cannot resolve symbol
        [javac] symbol  : class ShoppingCartItem
        [javac] location: class servlets.ShowCartServlet
        [javac]                 ShoppingCartItem item = (ShoppingCartItem) i.next();
        [javac]                                          ^
        [javac] D:\J2EE\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCart
    Servlet.java:148: cannot resolve symbol
        [javac] symbol  : class BookDetails
        [javac] location: class servlets.ShowCartServlet
        [javac]                 bd = (BookDetails) item.getItem();
        [javac]                       ^
        [javac] 68 errors
    BUILD FAILED
    file:D:/J2EE/j2eetutorial14/examples/web/bookstore1/build.xml:56: Compile failed
    ; see the compiler error output for details.
    Total time: 8 seconds
    D:\J2EE\j2eetutorial14\examples\web\bookstore1> and heres the build.properties file:
    j2ee.home=C:\\Sun\\AppServer
    j2ee.tutorial.home=D:\\J2EE\\j2eetutorial14
    sunone.home=${j2ee.home}
    admin.password.file=${j2ee.tutorial.home}/examples/common/admin-password.txt
    admin.host=localhost
    admin.user=colr
    admin.port=4848
    https.port=8181
    domain.resources="domain.resources"
    domain.resources.port=8080
    db.root=${j2ee.home}/pointbase
    db.driver=com.pointbase.jdbc.jdbcUniversalDriver
    db.host=localhost
    db.port=9092
    db.sid=sun-appserv-samples
    db.url=jdbc:pointbase:server://${db.host}:${db.port}/${db.sid}
    db.user=pbpublic
    db.pwd=pbpublic
    url.prop=DatabaseName
    ds.class=com.pointbase.jdbc.jdbcDataSource
    db.jvmargs=-ms16m -mx32m Thanks.

  • InetAddress Timeout (Duke Dollars Available)

    Hi people, am making a program that needs to change IP Addresses to domain names, in most cases this code works fine
    InetAddress temp = InetAddress.getByName(ipAddress);
                    try {
                        domainName= temp.getHostName();
                    catch(UnknownHostException ex)
                    { System.out.println("Could not find "+domainName);
                }However, many of the ip addresses will not find a domain name. it will take 5 seconds to discover this where as it will take no time at all to discover a correct domain name if one can be found. is there any way that i can timeout this action if it takes over 20 milliseconds to find a name.
    Thank you for your help.
    code to correct this will lead to ten duke dollars.

    for a java help forum, why does nobody want to be at
    all helpful, i am really stuck and would be really
    greatful of some helpUm, hardly any time has passed yet. Don't start copping an attitude just yet...
    But as alluded to, the duke dollars are utterly worthless. If I wanted 10 more dukes to add to my pile, I could (but wouldn't) just create another login ID, post a fake "question", answer myself with this ID, and award them to "myself".
    Do you actually have a question, other than "will someone do my work/thinking for me"?

  • How to get My Duke Dollars

    i want to know the process to get my duke Dollars.
    With Regards.
    From,
    Anupam Kumar

    You have to signup for a paypal.com account, the
    click on the 'Transfer to PayPal' link in the 'My
    Duke Dollars' section.If only.

  • Looking for software that allows you to make "who wants to be a millionaire".  Must be able to put in your own questions and HAS to be for the Mac.  Help!

    I am a teacher who would love to create the game "who wants to be a millionaire" with my own questions.  I would use this for test reviews.  I can't not find something for the mac.  It is out there for the PC, but my class room is mac based.  I can't use anything that will allow me to run the mac in windows, either.  Anyone know of a software that will allow me to input my own questions?  Thank you very much for your time and consideration.

    You may possibly find something here:
    http://www.oneonlinegames.com/who-wants-to-be-a-millionaire-games
    but in any case beware of copyright.

  • How do you add Duke Dollars to a post???

    How do you get the little Duke Dollars thingy to show up next to your post? There are no buttons to do so on the page where I'm ttyping this, nor on the preview page. Nor does it say anything about it in the Duke Dollars FAQ.

    Oh never mind! I saw the option to add Dukes appear after the message was posted.
    IMHO you should be able to add Dukes either on the form or the preview page.

  • This is for people who wants to mirror all they apple devices when they travel.

    this is for people who wants to mirror all they apple devices when they travel and don't want to unplug everything from the apple tv and take it with them, you can get the amazon fire tv stick and download an app called airplay upnp or the reflector app and mirror all of your apple devices to it, it is great for traveling easy to setup and move around, for example if your traveling and want to use it in the conference room and then want to take with you back to the hotel for the night and plug it in and keep on doing that routine.
    it will be great to use hopeful until apple comes out apple with their own apple tv stick 

    The Verizon DVR is admittedly not the sharpest box on the market. I admit to giving up on the multi-room DVR product, it just never worked satisfactorily for me.
    Hopefully features/functions issues  will improve in the near term with the Cisco/Scientific Atlanta box that obviously isn't going to make Q1. I admit I have ceased  holding my breath. Something does have to happen fairly soon because 160gb drives are literally going out of production.
    You do however make two statements that incorrect. Current TiVO's only need 1 cable card, since the standard cable card today in Verizon's stock  is the M-Card. You also have the option with TiVO of paying either an annual fee, or a one time fee, both of which are lower in the long term than the month to month fee. Alternatively you can by the Moxi DVR, and it includes lifetime service in the purchase price.
    While in theory a truck roll costs $79, in practice if it is for a Cable Card install, it is free (I think  FCC regulations preclude the charge).
    Apparently there is nothing in Verizon's order processing system that tells reps that there is no charge for Cable Card installations, so they often quote the $79 fee because that is the standard charge for technician to come out. As far as I can tell (and there have been lots of posts about cable card installs), no one has in fact been charged the $79 fee..

  • Who wants to be a billionaire ?

    Im busy desinging a game...Who Wants To Be A Billionaire...but
    could someone explain why the following won't draw the Round Rectangles that i ask to be drawn...
    // Main Application Class
    import java.awt.*;
    import BuildCanvas.*;
    public class User
    public static void main (String [] args)
    MakeWindow userInterface = new MakeWindow ();
    userInterface.setSize (800, 600);
    userInterface.setLocation (100, 100);
    // The MakeWindow Class
    import java.awt.*;
    import java.lang.*;
    class MakeWindow extends Frame
    Button finalButton, fiftyButton, phoneButton, askButton, retireButton;
    MenuItem quitItem, newGameItem, helpItem, aboutItem, greenItem, blueItem;
    public MakeWindow ()
    super ("Who Wants To Be A Billionaire");
    // Create the menu items.
    newGameItem = new MenuItem ("New Game");
    quitItem = new MenuItem ("Quit Billionaire");
    helpItem = new MenuItem ("Help");
    aboutItem = new MenuItem ("About");
    // Create the menus.
    Menu mainMenu = new Menu ("File");
    Menu helpMenu = new Menu ("Help");
    // Place the menu items in the menus.
    mainMenu.add (newGameItem);
    mainMenu.add (quitItem);
    helpMenu.add (helpItem);
    helpMenu.add (aboutItem);
    // Place the menus into the menu bar.
    MenuBar myMenus = new MenuBar ();
    myMenus.add (mainMenu);
    myMenus.add (helpMenu);
    setMenuBar (myMenus);
    setBackground (Color.blue);
    pack ();
    show ();
    // Call button method.
    makeButton (finalButton, 180, 550, "Final Answer");
    makeButton (fiftyButton, 270, 550, "50 / 50");
    makeButton (phoneButton, 360, 550, "Phone Friend");
    makeButton (askButton, 450, 550, "Audience");
    makeButton (retireButton, 540, 550, "Retire");
    remainingButtons ();
    } // MakeWindow constructor.
    private void remainingButtons ()
    // Creates windows for Money Ladder and Answer Boxes.
    Graphics g = getGraphics ();
    g.setColor (Color.black);
    g.fillRoundRect (200, 200, 300, 300, 7, 7);                    //**** This Code doesnt work
    g.fillRoundRect (100, 300, 50, 100, 7, 7);                    //**** This Code doesnt work
    g.fillRoundRect (100, 200, 50, 200, 7, 7);                    //**** This Code doesnt work
    // Creates, positions + sets size of buttons.
    private void makeButton (Button currentButton, int posx, int posy, String buttonText)
    currentButton = new Button (buttonText);
    add (currentButton);
    currentButton.setSize (80, 20);
    currentButton.setLocation (posx, posy);
    } // makeButton method.
    have i forgotten to call something ?
    please help me asap.
    thanks
    andrew.

    I took the liberty to make some change, (the black rectangles overlaps)
    import java.awt.*;
    import java.awt.event.*;
    class MakeWindow extends Frame
         Button   finalButton, fiftyButton, phoneButton, askButton, retireButton;
         MenuItem quitItem, newGameItem, helpItem, aboutItem, greenItem, blueItem;
    public MakeWindow ()
         super ("Who Wants To Be A Billionaire");
         setLayout(null);
         addWindowListener(new WindowAdapter()
        {     public void windowClosing(WindowEvent ev)
              {     dispose();
                   System.exit(0);
    // Create the menu items.
         newGameItem = new MenuItem ("New Game");
         quitItem    = new MenuItem ("Quit Billionaire");
         helpItem    = new MenuItem ("Help");
         aboutItem   = new MenuItem ("About");
    // Create the menus.
         Menu mainMenu = new Menu ("File");
         Menu helpMenu = new Menu ("Help");
    // Place the menu items in the menus.
         mainMenu.add (newGameItem);
         mainMenu.add (quitItem);
         helpMenu.add (helpItem);
         helpMenu.add (aboutItem);
    // Place the menus into the menu bar.
         MenuBar myMenus = new MenuBar ();
         myMenus.add (mainMenu);
         myMenus.add (helpMenu);
         setMenuBar (myMenus);
         setBackground (Color.blue);
    // Call button method.
         makeButton(finalButton,180,550,"Final Answer");
         makeButton(fiftyButton,270,550,"50 / 50");
         makeButton(phoneButton,360,550,"Phone Friend");
         makeButton(askButton,450, 550,"Audience");
         makeButton(retireButton,540,550,"Retire");
         setVisible(true);
    // Creates, positions + sets size of buttons.
    private void makeButton(Button currentButton, int posx, int posy, String buttonText)
         currentButton = new Button(buttonText);
         add(currentButton);
         currentButton.setSize (80, 20);
         currentButton.setLocation(posx, posy);
    public void paint(Graphics g)
         g.setColor (Color.black);
         g.fillRoundRect (200, 200, 300, 300, 7, 7); //**** This Code doesnt work
         g.fillRoundRect (100, 300, 50, 100, 7, 7); //**** This Code doesnt work
         g.fillRoundRect (100, 200, 50, 200, 7, 7); //**** This Code doesnt work
    public static void main (String [] args)
         MakeWindow userInterface = new MakeWindow ();
         userInterface.setSize (700, 600);
         userInterface.setLocation (10, 10);
    }

  • Using WAIT to repeatedly check a file !!Duke dollars!!

    I have created this method, it is supposed to read a text file when a button is pressed after i have allocated an amount of time to check the text file. the text file must be checked every 2mins or so to see if there have been any changes!
    i have some code here but 'wait(10000)' doesnt seem to have any effect!
    can anybody help
    theres 15 duke dollars in it for the best solution
    cheers everyone
    private void polling()
    try {
    wait(10000);
    } catch (Exception e){
    try {
    Stack male = new Stack();
              Stack female = new Stack();
              File esbian = new File("02May2002_Test_Facts.txt");
              FileReader ond = new FileReader(esbian);
              BufferedReader hecker = new BufferedReader(ond);
    int ef;
    String incident = "INCIDENT" ;
              while (true)
                   String lum = new String();
                   String umber = "";
                   String olyfeck = hecker.readLine();
                   if (olyfeck == null)
                        break;
                   StringTokenizer tarman = new StringTokenizer(olyfeck);
                   while (tarman.hasMoreTokens())
    umber = tarman.nextToken();
                        for( ef=0; ef < 1; ef++)
    umber = umber.replace('\u0028' , '\u0020');
    umber = umber.replace('\u0029' , '\u0020');
                        umber = umber.trim().toUpperCase();
    if (umber.equals("INCIDENT" ) || umber.equals("EVENT") ||umber.equals("ALARM") || umber.equals("FAULTRECORD") || umber.equals("INTERPRETEDFAULTRECORD"))
    lum = umber;
                             agentout.append("subscription succeeded: " + umber + "\r\n");
              hecker.close();
    catch(IOException efe)
         System.err.println("ERROR: " + efe) ;
    } // end of method polling

    I have created this method, it is supposed to read a text file when a button is pressed after i have allocated an amount of time to check the text file. the text file must be checked every 2mins or so to see if there have been any changes!
    i have some code here but 'wait(10000)' doesnt seem to have any effect!
    can anybody help
    theres 15 duke dollars in it for the best solution
    cheers everyone
    private void polling()
    try {
    wait(10000);
    } catch (Exception e){
    try {
    Stack male = new Stack();
              Stack female = new Stack();
              File esbian = new File("02May2002_Test_Facts.txt");
              FileReader ond = new FileReader(esbian);
              BufferedReader hecker = new BufferedReader(ond);
    int ef;
    String incident = "INCIDENT" ;
              while (true)
                   String lum = new String();
                   String umber = "";
                   String olyfeck = hecker.readLine();
                   if (olyfeck == null)
                        break;
                   StringTokenizer tarman = new StringTokenizer(olyfeck);
                   while (tarman.hasMoreTokens())
    umber = tarman.nextToken();
                        for( ef=0; ef < 1; ef++)
    umber = umber.replace('\u0028' , '\u0020');
    umber = umber.replace('\u0029' , '\u0020');
                        umber = umber.trim().toUpperCase();
    if (umber.equals("INCIDENT" ) || umber.equals("EVENT") ||umber.equals("ALARM") || umber.equals("FAULTRECORD") || umber.equals("INTERPRETEDFAULTRECORD"))
    lum = umber;
                             agentout.append("subscription succeeded: " + umber + "\r\n");
              hecker.close();
    catch(IOException efe)
         System.err.println("ERROR: " + efe) ;
    } // end of method polling

  • I am a sole proprietor business owner (work from home graphic designer) and I have a customer who wants to pay me via Apple pay. Can I accept her transaction? How do I get that rolling?

    I am a sole proprietor business owner (work from home graphic designer) and I have a customer who wants to pay me via Apple pay. Can I accept her transaction? How do I get that rolling?

    Apple Pay: Merchants FAQ - Apple Support

Maybe you are looking for