I m trying to upload a file thru one of the website. My problem is that the recording goes well and in certain cases try script also works but on datapooling or customizing value for the file path the script is run with success but the file is not uploaded.

webpagesubmitbin is the default function that appears.
I have tried by replacing the above function with webfileupload function. but it doesnot work.
Therefore is there any alternate function to upload the file?