473,378 Members | 1,451 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

need java script to copy files from one system to server folder

hi everyone ,
i need a script which copy folder from one system and has to be replaced in server folder which is in another system. This java script has to be called in asp.net page. Each time when asp.net page refresh the script function is to be called and has to be replaced all files in server folder.
Sep 18 '07 #1
4 4785
Plater
7,872 Expert 4TB
javascript only runs on the client computer...
Are you saying you want the script to move files from the client computer to another computer? JAvascript generally doesn't have access to those kind of resources.
Sep 18 '07 #2
javascript only runs on the client computer...
Are you saying you want the script to move files from the client computer to another computer? JAvascript generally doesn't have access to those kind of resources.
Hi,thanks for the reply .. i want the solution in DOS script or in WS script.. is that possible ???????
Sep 18 '07 #3
Plater
7,872 Expert 4TB
Well I guess what you could do is if every computer was garunteed to have your script in the same location (i.e c:\webscript\myscript.bat ), then you could have your webpage do a redirect to a local file like that.
The user will got lots of bells/whistles about security issues, but it could in theory work.
Sep 18 '07 #4
davef
98
Hi,thanks for the reply .. are u sure it wont work with java script.. ???? is that possible in vb script ??? if yes can u give me the code
As mentioned above, JS client code doesn't have the necessary permissions to do system operations. You may wanna think about building an ActiveX component, which gets installed on the client to do just that. It's one of the alternatives. Another approach is to engage AJAX. Refer to this article:
http://www.codeproject.com/useritems/AJAXUpload.asp
Sep 18 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Green | last post by:
Hi, I had a question about how to copy files from server to server on the same LAN. Basically, i need to copy files from "develope server" to the "test server", then eventually to the "production...
4
by: maglev_now | last post by:
I'm using .net 1.1 trying to get a list of files in folder on the server. The user would select the file they want to download from a DropDownList. Can someone tell me how this should be done? I...
3
by: vinoda2005 | last post by:
Hi friends, Here is my problem........ if i click on folder in C drive,a prompt box should be displayed asking username and password.if the entered details r valid,the folder should open...
0
by: ravindravarman | last post by:
I need to assing some value from the java script variable in the .aspx page to a server side variable in the .aspx.cs page. Can any one help me with this? Thanks, Ravi
1
by: tienlx | last post by:
Hi all, I want to copy files to shared folder to another computer in Local area network. Although, Ba-hcm\Administrator have full access permission to that folder, but it always throws "Access...
0
by: sivaramsekar | last post by:
Hi, I have a requirement to copy files (images) from a different server to our web server which has IIS 6.0 and asp.net 3.5. When i try it in my local dev machine i am able to copy and save...
3
by: raghulvarma | last post by:
if I type the code as <input type="text" name="txtbox" > and make the script language as function empty() { if(document.Form1.txtbox.value=="") { alert("should not be...
7
by: Jason | last post by:
How would I create a simple vb script with a GUI interface to copy files from a fileserver to a PC. for example, I would have a form with Radio Buttons or Check Boxes box1 - copy prefs box2 -...
3
by: AngeB | last post by:
Hi, I'm looking for a script to copy transaction log backup files from a network drive I have mapped to a local folder. Part of the filenames are common dbname_tlog_datehour.trn (date is formated...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.