Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 16, 2012, 05:26:24 PM

Pages: [1]   Go Down
  Print  
Author Topic: create folder  (Read 705 times)
etl44
Newbie
*
Offline Offline

Posts: 3


WWW
« on: December 03, 2002, 04:01:00 PM »

Hi,

I'm trying to make a new folder on the server with this script.

Name ="/usr/home/test/public_html/test"
set fs=Server.CreateObject("scripting.FileSystemObject")
MyFolder=(Name)
if NOT fs.folderexists(MyFolder) then
    fs.createfolder(MyFolder)
end if

I can see this folder when i look with ftp, but
-I can't put any data in it (i get a mesage no such folder)
-I can make manual a new folder with the same name

What do i do wrong?

Thanx
Logged
stephan
Guest
« Reply #1 on: December 03, 2002, 06:42:00 PM »

Have a look at the folder you created

Check that the permissions are the same as the folders you manually create.
Logged
etl44
Newbie
*
Offline Offline

Posts: 3


WWW
« Reply #2 on: December 03, 2002, 09:24:00 PM »

The manual created folder has even lower rights than the one i created with the script.

But the server doesn't recognize the folder.
Logged
stephan
Guest
« Reply #3 on: December 03, 2002, 11:39:00 PM »

This - /usr/home/test/public_html/test

is the wrong path.

You need to check the path. Your path must have your username in it.

Try replacing "test" with your username.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: