Please Help! File Access Component Problem 
Author Message
 Please Help! File Access Component Problem

Please Help Me!!
I have written the following code in an ASP to create a folder in the FTP
directory which is to be named the input value of the "username" field of a
web form.  I have moved the code around serveral different ways and can't
get it to work.  Any suggestions would be helpfull.  I am only running MS
personnal web server with Access 97, is it possible this component is not
supported?  I am taking random guesses at this point!

Code:

' Create an instance of the FileSystemObject
Set MyFileObject=CreateObject("Scripting.FileSystemObject")
' Create a folder w/ username
 struser="C:\Webshare\FTPROOT\"&Request.Form("username")
 MyFileObject.CreateFolder struser

Error:
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'MyFileObject.CreateFolder'

Any help would be much appreciated!!
Drew Stagenhorst



Fri, 22 Dec 2000 03:00:00 GMT  
 Please Help! File Access Component Problem
Quote:

>Please Help Me!!
>I have written the following code in an ASP to create a folder in the FTP
>directory which is to be named the input value of the "username" field of a
>web form.  I have moved the code around serveral different ways and can't
>get it to work.  Any suggestions would be helpfull.  I am only running MS
>personnal web server with Access 97, is it possible this component is not
>supported?  I am taking random guesses at this point!

>Code:

>' Create an instance of the FileSystemObject
>Set MyFileObject=CreateObject("Scripting.FileSystemObject")
>' Create a folder w/ username
> struser="C:\Webshare\FTPROOT\"&Request.Form("username")
> MyFileObject.CreateFolder struser

>Error:
>Microsoft VBScript runtime error '800a01b6'
>Object doesn't support this property or method: 'MyFileObject.CreateFolder'

>Any help would be much appreciated!!
>Drew Stagenhorst




Fri, 22 Dec 2000 03:00:00 GMT  
 Please Help! File Access Component Problem

Quote:

>' Create an instance of the FileSystemObject
>Set MyFileObject=CreateObject("Scripting.FileSystemObject")
>' Create a folder w/ username
> struser="C:\Webshare\FTPROOT\"&Request.Form("username")
> MyFileObject.CreateFolder struser

>Error:
>Microsoft VBScript runtime error '800a01b6'
>Object doesn't support this property or method: 'MyFileObject.CreateFolder'

Looks pretty kosher, although I highly recommend *always* using
Server.CreateObject from ASP, not the scripting CreateObject.
--
Scott Nichol
e-mail: Remove nospam. from reply address.


Fri, 22 Dec 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Please Help! File Access Component Problem

2. Please Help! File Access Component Problem

3. PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP,

4. HELP PLEASE - FILE ACCESS PROBLEM !

5. *Please Help - Please?* Experiencing problems w/Access 2000

6. Components/ASP problem . Please help,very important

7. PLEASE HELP PLEASE HELP PLEASE HELP

8. Help Please!! Need help accessing next file

9. Can anyone HELP me PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE

10. URGENT: ASP Components from Visual Basic -- Help Required Please

11. Please help - Using DLL in ASP to create/use out of process components

12. Please help, ActiveX component can't be created

 

 
Powered by phpBB® Forum Software