Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: FSO


Message #1 by "Rakesh" <barjatiyarakesh@h...> on Fri, 24 May 2002 07:20:53 -0700
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2027C.7E4B2790
Content-Type: text/plain;
	charset="iso-8859-1"

Rakesh,
 
    If the parent directory has write permissions set, you can create and
write to child directories without any problems.  If you need two
directories off of the root enabled for write and you don't want to enable
write on the root, then you will have to get them to enable both directories
with write permissions for the IUSR_machinename NT user account.
 
HTH,
- Chuck

-----Original Message-----
From: Rakesh [mailto:barjatiyarakesh@h...]
Sent: Friday, May 24, 2002 11:26 AM
To: ASPX_Professional
Subject: [aspx_professional] RE: FSO


Hello  Chuck
 
          Thanks for mail me
    
      my program makes subfolder at run time so please tell me one thing if
web hosting company will set write permission for the parent folder. is
there any requirment to set write permission for subfolder or it will take
parent property.
 
now tell me one thing more that my directory stracture has five folder and i
want to set write permission for two folder.but root folder will not have
that permission so it will create truble for me or not.
 
Thanks 
 
Rakesh

----- Original Message ----- 
From: Feduke  <mailto:FedukeCR@m...> Cntr Charles R 
To: ASPX_Professional <mailto:aspx_professional@p...>  
Sent: Thursday, May 23, 2002 7:30 AM
Subject: [aspx_professional] RE: FSO


Rakesh,
 
    This may be something you might have to contact the web hosting company
for, _unless_ you have IIS Administrator Panel access to the IIS process.
If you do, you can select the properties for your web and enable "write"
access for that directory from within the control panel.  You cannot do this
over FTP.
 
- Chuck

-----Original Message-----
From: Rakesh [mailto:barjatiyarakesh@h...]
Sent: Friday, May 24, 2002 10:56 AM
To: ASPX_Professional
Subject: [aspx_professional] RE: FSO


that folder about which i m talking is on the server and i have to set all
your suggested mode from FTP  but i have tried for two three time but i
can't do that from ftp. please tell me how i can i do that from ftp. or tell
me that i have to contact to web hosting  company for that
 
Please suggest me as sonn as
 
Thanks 
Rakesh
----- Original Message ----- 

From: Feduke Cntr Charles R <mailto:FedukeCR@m...>  
To: ASPX_Professional <mailto:aspx_professional@p...>  
Sent: Thursday, May 23, 2002 6:59 AM
Subject: [aspx_professional] RE: FSO

Rakest,
 
    Are you using ASP.NET?  It doesn't look like you are.  Right click on
the folder you are trying to move the images to in Windows Explorer, click
on Properties.  If its an NTFS drive you can set permissions; ensure the
IUSR_machinename has write access to that folder under the tab labelled
"Security".
 
HTH,
- Chuck

-----Original Message-----
From: Rakesh [mailto:barjatiyarakesh@h...]
Sent: Friday, May 24, 2002 10:21 AM
To: ASPX_Professional
Subject: [aspx_professional] FSO


Hello 
        I get the error in the red line.is this becouse of permission of the
folder.please tell me.
 
Rakesh
 
function MoveImages(NewBunchPath,bunchID,ImagePath)
 dim fileobj,myfolder,return_str,CityName,EventName,Path,pic,ImageID
 set fileobj=Server.CreateObject("Scripting.FileSystemObject")
   set
myfolder1=fileobj.GetFolder(request.servervariables("APPL_PHYSICAL_PATH")&"\
upload\")
  for each pic in myfolder1.Files
   'response.write pic&"<br>"
   RetriveFileName(pic)
   'pic.move(NewBunchPath&"\"&RetriveFileName(pic))
   ImageID=RetriveFilenNameOnly (RetriveFileName(pic))
   'Response.write ImageID&"<br>"
   if(instr(ImageID,ImageAbri)<1) then
 
ss=InsertIntoOMPimage_mast(bunchID,ImageID,ImagePath&RetriveFileName(pic))
   'else
   ' Response.write ImageID
   end if
  next 
MoveImages=""
end function

--- 

--- 

--- 

--- 

--- 



  Return to Index