Try testing the connection using People Tools Test Utilities in "Root > People Tools > Utilities > Debug ->People Tools Test Utilities"
consider the syntax "FTP://FTPUser:FTPPassword@ComputerName/DirectoryPath/"
While implementing provide the URL string using the URL identifier, and provide the credentials in URL properties(don't forget to encrypt the password)
Thank you for the quick response. Well i am trying to test the FTP connection to attach documents, but i dont see any URL properties link under PplTools>Utilities>Admin>URL. So where do i add the password encryption Any help is appreciated.