|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Dear All,
i want to create an auto-backup ASP page to backup the contents of any folder, but the problem is i cannot find any script that helps to copy a folder from one location to another, only i can find is the file copyin methods. please help me if nebody has the solution or guidance. thnx in advance regards Sumeet
__________________
the coolest one |
|
#2
|
|||
|
|||
|
|
|
#3
|
|||
|
|||
|
Dear EiSa
it did worked, but my actual problem is that i want to copy the same virtual directory which is also the running application to any other computer on my network, like: dim fs,fo set fs=Server.CreateObject("Scripting.FileSystemObject") set fo=fs.GetFolder ("http://domain-server/application") fo.Copy "\\computer-1\c\",true set fo=nothing set fs=nothing when i run the script like this the error shows up which says that path not found, i also mapped the drive c of computer-1 but still no use. sorry for not clearifing earlier, plz help me regards Sumeet |
|
#4
|
|||
|
|||
|
Server.MapPath
Hi,
You could try to use the Server.MapPath to get the physical path of your application. PHP Code:
__________________
- Rogier Doekes |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > Folder Managment |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|