Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Java
  4. Java application to transfer files and folders

Java application to transfer files and folders

Scheduled Pinned Locked Moved Java
javaquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    saigowthami
    wrote on last edited by
    #1

    Hello, I am trying to code an application, like sync operation between two machines to transfer the files and folders through internet. Is it possible to use ftp or any other in java and write the application? Regards Gowthami

    P S 2 Replies Last reply
    0
    • S saigowthami

      Hello, I am trying to code an application, like sync operation between two machines to transfer the files and folders through internet. Is it possible to use ftp or any other in java and write the application? Regards Gowthami

      P Offline
      P Offline
      Prasad Khandekar
      wrote on last edited by
      #2

      It's definitely possible. You can use FTP server on one machine and use a java program to synchronize a local folder with remote folder on FTP server. The FTP Server must be accessible from internet. Other way is to write your own socket server implementation and use it for synchronization. Unlike the first implementation, this will allow you to initiate synchronization from either machine. With first it will be always from the machine on which java program is running. Regards,

      Prasad P. Khandekar Knowledge exists, man only discovers it.

      S 1 Reply Last reply
      0
      • S saigowthami

        Hello, I am trying to code an application, like sync operation between two machines to transfer the files and folders through internet. Is it possible to use ftp or any other in java and write the application? Regards Gowthami

        S Offline
        S Offline
        sriniprabhu
        wrote on last edited by
        #3

        Hi Gowthami, I am writing the java application for encryption/compression which will be integerated in spring batch application to transfer large files.once it is done i will upload the source code here.

        S 1 Reply Last reply
        0
        • S sriniprabhu

          Hi Gowthami, I am writing the java application for encryption/compression which will be integerated in spring batch application to transfer large files.once it is done i will upload the source code here.

          S Offline
          S Offline
          saigowthami
          wrote on last edited by
          #4

          thanks

          1 Reply Last reply
          0
          • P Prasad Khandekar

            It's definitely possible. You can use FTP server on one machine and use a java program to synchronize a local folder with remote folder on FTP server. The FTP Server must be accessible from internet. Other way is to write your own socket server implementation and use it for synchronization. Unlike the first implementation, this will allow you to initiate synchronization from either machine. With first it will be always from the machine on which java program is running. Regards,

            Prasad P. Khandekar Knowledge exists, man only discovers it.

            S Offline
            S Offline
            saigowthami
            wrote on last edited by
            #5

            ya i used the socket programming only with two applications, client and server and transferred successfully... Thank you for the reply!!!

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups