|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
How to create files and folders on the same virtual directory
I have a website hosted on an ISP server, my code creates folder and places files in it using the FileSyestemObject. The problem is that I have to write the absolute folder/file path in the createFolder method, and I don't know the absolute path on the server, when i use relative path, the folder is placed on the system32 directory as the root folder (That is where the ASP dll is located). So how can I create folders and files on the virtual directory without knowing the physical path?? Can i use FTP??
If yes how can I do it?? |
|
#2
|
|||
|
|||
|
server.mappath("page or filename")
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > How to create files and folders on the same virtual directory |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|