I am using ActiveXobject to copy JPG file from client machine to server machine.
Following is the code snippet
i need to add server credententials to copy jpg file from client to server
Is there any way to add authentication for server in above scenerio?
Following is the code snippet
Code:
var objFSO = new ActiveXObject("Scripting.FileSystemObject");
if (objFSO.FileExists(data.value)) {
var filestr = objFSO.GetFile("C:\\temp\\tmp.jpg");
var temp = "\\\\serverip\\Share\\tmp.jpg";
filestr.Copy(temp);
}
Is there any way to add authentication for server in above scenerio?
Comment