Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Change directory in Mike's Attachment MOD
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

EvilRick
Starting Member

37 Posts

Posted - 15 October 2003 :  15:06:53  Show Profile  Visit EvilRick's Homepage
The directory I have for uploading to is in a different directory from the forum.

memberPath = (Server.MapPath("/directory/uploads"))


I don't want it to create a directory for each member, so I eliminated the
If not ScriptObject.FolderExists(memberPath) then
ScriptObject.createFolder(memberPath)
end if


Is this correct? And is the path syntax correct for memberPath = ?

TIA

EDIT - I almost forgot, I also removed
& SUBFOLDER & "\"
at the end of "Set MyFile" so it wouldn't look for a subfolder after the PATH_INFO. Again, is that correct?

Edited by - EvilRick on 15 October 2003 15:11:16

EvilRick
Starting Member

37 Posts

Posted - 16 October 2003 :  23:40:33  Show Profile  Visit EvilRick's Homepage
^BUMP^
Go to Top of Page

guessme
Banned User

393 Posts

Posted - 17 October 2003 :  02:00:56  Show Profile  Visit guessme's Homepage
Try it and see.

Go to Top of Page

EvilRick
Starting Member

37 Posts

Posted - 17 October 2003 :  13:50:10  Show Profile  Visit EvilRick's Homepage
I did, but I get a "Permission denied". I'm not sure if it's because I have the path incorrect, or if I changed something else incorrectly.

The folder I'm uploading to has anonymouse read/write privelages, so I don't think that's what's stopping it from working.
Go to Top of Page

EvilRick
Starting Member

37 Posts

Posted - 19 October 2003 :  16:25:55  Show Profile  Visit EvilRick's Homepage
^BUMP^
Go to Top of Page

Dave.
Senior Member

USA
1037 Posts

Posted - 19 October 2003 :  18:15:32  Show Profile
quote:
Originally posted by EvilRick

I did, but I get a "Permission denied". I'm not sure if it's because I have the path incorrect, or if I changed something else incorrectly.

The folder I'm uploading to has anonymouse read/write privelages, so I don't think that's what's stopping it from working.



Check that the IUSER_<Computer Name> Has Read/Write Access.
Go to Top of Page

EvilRick
Starting Member

37 Posts

Posted - 19 October 2003 :  21:48:39  Show Profile  Visit EvilRick's Homepage
According to my host, the only way I can make a directory read/write is with FrontPage. I have gone in and changed the folder to "Anonymous read/write" or whatever it is, but still can't get the script to work, like I said, I'm not sure if I have the path(s) correct.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07