Dear sir thanks for reply,
i tried the standard program RSFTP007 with rfc destination as sapftpa its also getting hanged in the function module "r3_to_server" only message of time out comes. In ftp log file shows that the file has been created but when i goes to the given ftp folder it doesnt show the file. I m confused the problem is at ftp end or sap end.
Regards,
Avtar singh.