I want to transfer files between 2 servers.
But Not able to find any decent tutorials.

Please suggest some.
If there's any api...then much better.

Thank You

Do you want a tutorial or some code?
Here is a function I used to send a file to a destination:

import	java.util.*;
import	java.io.*;
import	java.net.URLConnection;
import	java.net.MalformedURLException;
import	java.net.URL;

public class CSendToDest
	public	static	boolean	SendToDest(
         String strUser,		//
         String strPassword,	//
         String strServer,		//
         String strLocalName,	//c:\\temp\\fred.txt
         String strRemoteName,	// /MPC_FILES/AUDIT_RESULTS/fred.txt
         Object strError)
		boolean blnRetVal = true;

			String strUrl = "ftp://"+strUser+":"+strPassword+"@"+strServer+strRemoteName;
			URL url = new URL(strUrl);
			URLConnection con = url.openConnection();
			BufferedOutputStream out = new BufferedOutputStream(con.getOutputStream());

			FileInputStream in = new FileInputStream(strLocalName);

			int i = 0;
			byte[] bytesIn = new byte[1024];
			while ((i = in.read(bytesIn)) >= 0)
				out.write(bytesIn, 0, i);
		catch (Exception exc)
			blnRetVal = false;
			strError = exc.getMessage();

		return blnRetVal;