Results 1 to 6 of 6

Thread: file transfer

  1. #1
    dragokamal is offline Member
    Join Date
    Mar 2012
    Posts
    3
    Rep Power
    0

    Default file transfer

    how to transfer a file from one system to another system. Also have to transfer a file from one system to some sql server or some ftp server.The operating system is windows. how to do it?
    Last edited by dragokamal; 03-20-2012 at 12:06 PM.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,450
    Rep Power
    19

    Default Re: file transfer

    FTP?
    Apache has an FTPClient you can use.
    "sql server"?
    What do you mean by that?
    Please do not ask for code as refusal often offends.

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,450
    Rep Power
    19

    Default Re: file transfer

    Why the double post 20 minutes later?
    Please do not ask for code as refusal often offends.

  4. #4
    dragokamal is offline Member
    Join Date
    Mar 2012
    Posts
    3
    Rep Power
    0

    Default Re: file transfer

    i need to develop an application using java to transfer files from a system which runs on windows to a sql server or a ftp server how to do it? give me some idea?

  5. #5
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,450
    Rep Power
    19

    Default Re: file transfer

    They are two different things.
    SQL Server is a database which would require using JDBC.
    An FTP server requires using some form of FTP interface, for which I suggested Apaches FTPClient.

    You will therefore be writing two different file transfer classes.
    Possibly giving them a generic FileTransfer interface to implement, so the calling code doesn't care where it is actually going?
    Who knows...it's your requirements.
    Please do not ask for code as refusal often offends.

  6. #6
    dragokamal is offline Member
    Join Date
    Mar 2012
    Posts
    3
    Rep Power
    0

    Default Re: file transfer

    ok..i'll see about them and will come back again...thank you tolls :D
    But stay connected to the post...

Similar Threads

  1. File transfer in a network
    By shubhcool1 in forum Advanced Java
    Replies: 4
    Last Post: 08-29-2011, 06:19 PM
  2. Replies: 6
    Last Post: 02-08-2011, 07:08 AM
  3. file transfer
    By prashant in forum Networking
    Replies: 3
    Last Post: 12-10-2009, 06:46 AM
  4. Regarding File Transfer in TCP/IP
    By manabendra in forum Networking
    Replies: 2
    Last Post: 08-07-2009, 07:51 AM
  5. tcp file transfer
    By ddj in forum Networking
    Replies: 2
    Last Post: 03-20-2009, 02:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •