|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Copy files between servers
Hi!
I have an ASP application.In this application,I tried to copy files between servers using fso.This didn't worked,as the account used by the application hasn't got enough rights to copy files between servers.Is there another way to copy the files(I thought using an scheduled application to do this , an application independent from the asp page)? |
|
#2
|
|||
|
|||
|
Your only solution is to give proper permissions to your code, regardless of scheduling or not. You can make a stand-alone script that runs as a different user, and schedule using the user with permissions, but you'll need admin access to the web server to do this and if your code uses any asp built-in objects like session, request, etc., you won't be able to use those object from a stand-alone script.
Or you could force your asp page to prompt for authentication as a user with sufficient permissions to do the copy.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
||||
|
||||
|
Could I do something like this:when the user saves a file to the disk,automatically a task is being performed(copy the files)?
|
|
#4
|
||||
|
||||
|
Quote:
Event Scripting with WMI More Event Scripting with WMI
__________________
Click the image if at any point you don't like my decision.Scripting problems? Windows questions? Ask the Windows Guru! |
![]() |
| Viewing: ASP Free Forums > System Administration > Windows Scripting > Copy files between servers |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|