Jump to content

beyonder422

Members
  • Posts

    2
  • Joined

  • Last visited

beyonder422's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. come on guys, 257 views in 2 days, and not 1 response?anyone?
  2. I am hosting an asp app "within a company network" that I want to allow people to upload files to from their machines to the web server.I have opened every possible door I can think of. everyone, full control on entire inetpub directory, to include directory (vMapLocal) I am trying to copy to (within inetpub), shared said folder (vMapLocal), everyone full control on share(vMapLocal). IIS "allow anonymous access", "integrated windows authentication" on entire inetpub directory.I am impersonating a certain domainuser by mapping to a drive with certain credentials, and copying to the server using that mapped drive. I also made that domainuser an admin on host server.None of the users i am using are locked out-----------------------------------vFile = request.Form("txtFile") 'input from web page in this form- "C:\temp\file.txt"vCLIENT_ADDR= Request.ServerVariables("REMOTE_ADDR") 'client ip vMapLocal = "\\servername\sharedfoldername" 'host shared folder everyone/fullvNID = "domainname\domainuser"vPwd = "password" vDrive = "Z:" set wsn=Server.CreateObject("WScript.Network")wsn.MapNetworkDrive vDrive, vMapLocal, false, vNID, vPwd vFile = replace(vFile,":","$")vFile = "\\" & vCLIENT_ADDR & "\" & vFilevFile_Destination = vMapLocal & "\" Set fso = Server.CreateObject("Scripting.FileSystemObject") 'Copy File To App Location *********************fso.CopyFile vFile, vFile_Destinationwsn.RemoveNetworkDrive vDrive,false,false set wsn = nothing set fso=nothing -----------------------------------I can create the map.I've deleted and copied files from client boxes to the host intermitantly, but no consistancy at all. And here of late, it has shut down completely.Everytime as of late, "permission denied"
×
×
  • Create New...