Yes I have permission to upload the file. I manually logon to the FTP site and uploaded the file.
Yes in the putfile I passed localfile path and remote file path. In the remote path if i mention any directory (/tmp) it says the error message 40550 : inbound access is denied . If i doesn't mention any path it gives error message with the file name which i am uploading like 40550 : tmp.txt access is denied