How to copy or move file from windows to linux directory using java program

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ojhamuke
    New Member
    • Mar 2010
    • 1

    How to copy or move file from windows to linux directory using java program

    Hi,
    I want to create a java program which will copy or move files from windows machine to linux machine directory.
    I tried by socket connection. Connection is successful but I want to paste windows file to linux particular directory.

    If possible, plase provide sample code.

    Thanks & Regards,
    Mukesh Ojha
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #2
    Could you post the code that you're using for your socket connection? Is file transfer enabled in this connection, and this type of connection?

    Comment

    Working...