Hi ALL,
Iam trying to upload a File from LocalSystem to TeamSite Server according to thread :
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=52656In this the location to store the file is Hardcoded, that means the location to store the file which i took from my local system is hard coded.
to avod this in promptfileUpload.ipl i have added another text are with a button like :
<font face="Arial">File to Store:</font> <input type="text" name="user"> <input type="button" value="Browse..." onClick="javascript:storeFile()">
<br><br>
function storeFile()
{
var server = window.location.hostname;
var port = window.location.port;
if(port != '') {
server = server + ":" + port;
}
var url = "http://"+server + "/iw-bin/Path_of_the_file.ipl";
var childWindow = window.open(url,"childWindow","width=500,height=400,resizable=yes,toolbar=no,scrollbars=yes");
return true;
}
And in Path_of_the_file.ipl i have some logic to get the Location of the file to be stored.
My question is how can i get selectd folder from Path_of_the_file.ipl IPLS to above code i.e inside user text box.
Thanka and Regards,
Sanjeev.