How to send the directory listing and file thru socket?

I need to know where can i learn the directory listing and sending file thru socket. I m going to develop a simple FTP server/client application..Pls help, thnx!

Above where you're reading this, and to the right of your screen is a magical little box that, when you type in something like "ftp server tutorial" will take you to a page with some hyperlinks you can click. That little box is used for searching the forum. You can tell this because right above the box, it says "Search Forum". You even have the option of using your <enter> key or the "go" button to begin the searching, once you've typed in your criteria, of course. Pretty handy, huh? Well, I won't keep you any longer. Go ahead, give it a shot. It doesn't hurt, and you might actually get some valuable results for the minimum amount of effort you're apparently willing to exert.

Similar Messages

  • How to disable the Directory listing for the whole server or a particular a

    Please let me know how to disable the Directory listing for the whole server or a particular application.
    Thank You

    I want to disable the tab focusing( tab index) for a JTextField objectsLook through the API and find methods with the word "focus" in the method name.
    Also can u tell me about how to change the tab index orders for JTextFields."How to Use the Focus Sub System":
    http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html

  • How to send the alv list display to spool

    Hi all,
    I am executing a program in foreground. My requirement is sending alv list output to spool. When i execute the smae program in background mode the SAP is handling the spool output in hierarchial list display. How to get the same output in foreground also.
    Thanks and Regards,
    Vijay.

    Hi max,
    I think my question is not clear.
    when I execute my report in background mode, I can able to see the output in the spool.
    But when I execute the same report in foreground no spool output is getting generated.
    To handle this I am calling some function modules like RSPO_OPEN_SPOOLREQUEST , RSPO_WRITE_SPOOLREQUEST,  RSPO_WRITE_SPOOLREQUEST. But by using this i cannot able to get the desired output in alv list display format. what to do to get my desired output.
    Thanks and Regards,
    Vijay.

  • How to send the dynamically generated XML file to other site for further processing?

    I have a question regarding exchanging data between two systems
    using XSQL servlet. The situation is descrbed as the follows:
    Assume that we have a simple XSQL page named "emp.xsql"
    <?xml version="1.0"?>
    <?-- XSQL page file "emp.xsql" -->
    <xsql:query xmlns:xsql="urn:oracle-xsql" connection="demo" >
    SELECT * FROM EMP
    </xsql:query>
    and we can access it through the HTTP request likes
    http://web_server_name/xsql/emp.xsql.
    Usually we will the returned dynamic XML file and show it on the
    screen. Now the problem is that we don't want to show the
    generated XML file on the calling screen. Instead, we want to
    send the generated XML file to other website for further
    processing, say, using JSP or ASP likes
    http://other_web_server_name/XMLProcessing.jsp?.....
    How can it be implemented using XSQL servlet?
    Any hint and outline of the solution is appreciated.
    Thanks

    Ike,
    Do you have a sample. I am searched so much in this forum for samples. I looked on SAX Parser. I did not find any samples.
    Please help me.
    Thank you for your posting.
    Padma.

  • How to delete the existing list and prevent auto-completed web sites?

    Hi, As soon as I start to type "www" in the address bar, a list of previously visited web sites appears, as if auto-completed. They seem rather random, and not necessarily the most recent ones. I have tried resetting Safari, deleting the cache, looking these sites up in the various plist folders in the Library, using Safari in Private mode, etc. but it still happens. I find it a nuisance.
    How do I delete the existing sites, and how do I prevent more from appearing in the future?
    Thanks,
    Richard

    HI,
    Go to Safari/Preferences - AutoFill
    Click where it says: Edit
    You can Remove All or edit which url's you don't want.
    Carolyn

  • Numbers 09 - How to use the checkmark list and total all check marks as 1

    Hello, I am trying to use the checklist sheet but I am trying to make a formula that will add all the checkmarks in a row down and also add all the check marks across but the results in the sum function come back as 0.
    I have also tried to use the Function, Logical and information, IF but can't figure out how to do this. Does anybody know what formula I need to make up for this to work. Thanks.
    Message was edited by: ottoman007

    ottoman007 wrote:
    I have tried the COUNTIF I input my formula =COUNTIF(6C:6M,">t") to the right of the row that I want to count and I get a red triangle and it says it isn't a valid reference. ... I am boggled how to do this.
    Badunit wrote:
    One parameter is the range (your row or column of checkboxes) and the other is the condition you want to count, which is TRUE.
                         =COUNTIF(6C:6M,TRUE)
    Regards,
    Barry

  • How to specify the directory of a file created by FileOutputStream?

    I created a file name registry.reg. Can I specify the directory of the file so that it would be located in certain directory. For example I want to put registry in C:\Desktop
    FileOutputStream fileStream = new FileOutputStream ("registry.reg");

    Well, just provide the complete path as file name parameter. On Windows, remember to escape those backslashes:
    FileOutputStream fileStream = new FileOutputStream ("C:\\Desktop\\registry.reg");

  • Function module to read the directory list and also run in background

    Hi All,
    I need to read few files from a folder in the server and upload the data in the file using a BDC. This process has to happen in the background as I am going to schedule the program. I had used the function module "EPS_GET_DIRECTORY_LISTING" to list the file names, it is working properly but when I schedule the program this function module does not work, the jobs gets finished in 0 secs. I am suspecting that it is not running in back ground. Can any one suggest me the function module which runs in background to read the files or an alternate method.
    Ajeetha

    Thanks for the reply.
    Sorry, this function module is working properly, why I assumed it is not working is that the background job got completed in 0 secs which made me feel that the function module is not working. Also I am subsequently copying the file to another folder and deleting it from the source folder, actually thiese two functionalities are not working in background. which added to my conclusion that all the function modules are not working in background. I am using two methods to copy and delete files, they are
    CL_GUI_FRONTEND_SERVICES=>FILE_COPY,
    CL_GUI_FRONTEND_SERVICES=>FILE_DELETE.
    as these are not working in background, now I need to replace them with a method or function module which will run in background.
    As I have mentioned earlier, my main objective is to upload the data in the file using a bdc. If I am not able to delete the file in the source folder,  then duplicate upload will happen which I have to avoid. So, if someone could help me to find a way to delete the file will be of great help to me.
    Ajeetha

  • How to see the complete list of files linked to the file deleting?

    When in Dreamweaver, if you click to delete a file, a dialog box opens that tells you how many files ahve links to the files you are deleting. It gives a partial list, ending with <more...>; however, you cannot click the word more. How do you get a complete list?

    Hello ArunavA,
    How r u ?
    I dont think we can see the complete history of the changes recorded for InfoObject, only the last changed by can be identified.
    GOTO -> Overview List
    see at the last these details will be available
    Best Regards....
    Sankar Kumar

  • How to send the mail with multiple file attachments ?

    Sending mails with multiple files as attachments.

    You need to start from the app, assuming that it has an email function, that contains the files that you want to send as attachments. The Photos app allows you to send up to 5 photos on the same email, but if you want to send multiple file types then you need an app that supports all those file types. I use the GoodReader app which supports quite a few document/file types (e.g. PDF, Excel, Word, pictures), and from that I can select multiple files (including different types) and attach them to the same email.

  • How to  send the  output into separate file..(from spool)

    Hi  friends,
       i was create a  executable program  .. it was executing fine.. imagine.. my program is just  fetching  the data from MARA  table based on some conditions..  every thing is fine.. and i'm getting the output also..
           but i want to save this output in a separate file.. that means..  what can i do.. my program is  executing background... so, i want to save this out put in a file... so, can any one plz provide me the  coding steps...
            i dont know coding.. I'm learning ABAP... so, can you plz provide the exact coding..for storing these data into separate file from spool..
    help ful answers will be rewarded
    Thanks
    Babu

    hi
    if you want the o/p data in the seperate file in-addition to the spool
    call FM : 'GUI_DOWNLOAD'
    pass file name as
    w_localfile = 'C:\fite.txt'
    itab
    = the final o/p table                                                                               
    CALL FUNCTION 'GUI_DOWNLOAD'
          EXPORTING
            filename                = w_localfile
            filetype                = 'ASC'
            write_field_separator   = 'X'
          TABLES
            data_tab                = itab
          EXCEPTIONS
            file_write_error        = 1
            no_batch                = 2
            gui_refuse_filetransfer = 3
            invalid_type            = 4
            no_authority            = 5
            unknown_error           = 6
            header_not_allowed      = 7
            separator_not_allowed   = 8
            filesize_not_allowed    = 9
            header_too_long         = 10
            dp_error_create         = 11
            dp_error_send           = 12
            dp_error_write          = 13
            unknown_dp_error        = 14
            access_denied           = 15
            dp_out_of_memory        = 16
            disk_full               = 17
            dp_timeout              = 18
            file_not_found          = 19
            dataprovider_exception  = 20
            control_flush_error     = 21
            OTHERS                  = 22.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    thanks & regards
    vinsee

  • Urgent: Want to get the directory listing

    Hi,
    My iAS and iWS reside on separate unix machines.
    My pdf files being a static content reside on iWS.
    My application which is deployed on iAS, wants to
    know the names of the pdf files residing on iWS.
    Can anyone tell me, as to whether there is any way
    for an application deployed on iAS to get the directory
    listing of files residing on a separate machine.
    Is there any API which will be of help ?.
    I guess there must be some APIs associated with the
    web connector installed on the machine where iWS is installed.
    Regards,
    Amar.

    <i>Can anyone tell me, as to whether there is any way
    for an application deployed on iAS to get the directory
    listing of files residing on a separate machine.</i>
    No. More specifically, the appserver doesn't have any special awareness of external filesystems. (The webconnector does not have any API's that would expose the webserver's files. That would be a huge security violation.)
    You could always NFS mount the webserver so that the appserver could see it. This has some security concerns, but you are going to have security concerns anytime that you are exposing your webserver's files directly.

  • Get the directory where application files exist.....

    Hi ,
    How to get the directory where application files exist....????
    I have found a way....such as:
    Right - click on the application name ... on the pop-up menu... select "Add to <application_name>" and then on the window appeared... i get the dir on the title of this window....
    Is there any simpler method to obtain the dir...????
    NOTE: I use JDev 10.1.3. on windows XP platform...
    Many thanks ,
    Simon

    hi Simon
    If you not only want to see the path, but also want to copy-and-paste it, you can use the "Edit > Copy Path" (Ctrl+Shift-C) menu item.
    success
    Jan Vervecken

  • How can i open the directory/​folder and read all the files inside it in order and then close it?

    How can i open the directory/folder and read all the files inside it in order and then close it? any example would be nice.
    thanks

    In the File I/O>>Advanced File Functions Palette is a function named "List directory". This function will give you two arrays. One contains the names of all subdirectories the other the names of all files. If you want to sort them by name use the array sort function. If you want to sort them by another attribute use the File/Directory Info function to get more data. Use a cluster which contains the attribut to sort and the original index of the name. Then sort this array.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • How to get the value from a JavaScript and send the same to Java file?

    Hi.
    How to get the value from a JavaScript (this JS is called when an action invoked) and send the value from the JS to a Java file?
    Thanks and regards,
    Leslie V

    Yes, I am trying with web application.
    In the below code, a variable 'message' carries the needed info. I would like to send this 'message' variable with the 'request'.
    How to send this 'message' with and to the 'request'?
    Thanks for the help :-)
    The actual JS code is:
    function productdeselection()
    var i=0;
    var j=0;
    var deselectedproduct = new Array(5);
    var message = "Are you sure to delete Product ";
    mvi=document.forms[0].MVI;
    mei=document.forms[0].MEI;
    lpi=document.forms[0].LPI;
    if(null != mvi)
    ++i;
    if(null != mei )
    ++i;
    if(null != lpi)
    ++i;
    if(null != mvi && mvi.checked)
    deselectedproduct[++j]="MVI?";
    if(null != mei && mei.checked)
    deselectedproduct[++j]="GAP?";
    if(null != lpi && lpi.checked)
    deselectedproduct[++j]="LPI?";
    if( 0!=j)
    if(i!=j)
    for (x=0; x<deselectedproduct.length; x++)
    if(null != deselectedproduct[x])
    message =message+ "-" +deselectedproduct[x];
    alert(message);
    else
    //alert(" You cannot remove all products!");
    return false;
    return true;
    }

Maybe you are looking for