I want to transfer a complete folder from windows to unix thru ftp. any suggestions.
Thanks
Get an ftp client? Zip it, send it, then unzip it?
See http://php.net/manual/en/ref.ftp.php for documentation and examples of using PHP's FTP functions. If you're not familiar with reading directories and files you should also see http://php.net/manual/en/ref.filesystem.php.
If you need to recurse through subdirectories, I would recommend that you write a function to build an array of the files within a directory, and have that function call itself. Don't forget that you'll need to create the directories on the other end too.
-Keegan