Hello all,
I am a desktop programmer getting my feet wet on the web. I am trying to
build a .net website that will keep a set of local files synchronized with
a master set on the web.
Using a cookie I can keep track of when the user last synced and build a
file list in my asp.net code that displays which files need downloading.
Next I want to put a button on the page that will download all of the files
sequentially and put them in the appropriate local directories. I do NOT
want a save dialog opening for each file, as there may be dozens of files
at a time. The first time a user connects there could be 500 files!
Can this be done using javascript alone, or do I need to create some sort
of ActiveX object?
Thanks for any advice and direction...
Marc Pelletier 1 2003
Marc Pelletier wrote: Hello all,
I am a desktop programmer getting my feet wet on the web. I am trying to build a .net website that will keep a set of local files synchronized with a master set on the web.
Using a cookie I can keep track of when the user last synced and build a file list in my asp.net code that displays which files need downloading.
Yes, you can but it will be very unreliable. How do you deal with
situations where the user deletes their cookie file? How do you
guarantee that because the user 'synced' at a particular time that
they actually downloaded and installed the files, or that the files
are still on their system? Next I want to put a button on the page that will download all of the files sequentially and put them in the appropriate local directories. I do NOT want a save dialog opening for each file, as there may be dozens of files at a time. The first time a user connects there could be 500 files!
You have no control over where the user puts the files, or whether
the file 'Save As' dialogue appears. You could use a self-extracting
archive that knows where to put the files, but that would likely be
platform-specific and so may suit an intranet but certainly not a
publicly accessible web site.
Can this be done using javascript alone,
No.
or do I need to create some sort of ActiveX object?
You need something, it need not be ActiveX. This situation is
usually handled by the user downloading an installer that checks
their system, connects to the server and downloads what it thinks
are the required files, then puts them where they need to be.
There are ftp clients that do this sort of stuff, but the security
implications are horrendous. Thanks for any advice and direction...
Marc Pelletier
--
Rob This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: dan roberts |
last post by:
Folks,
This is my first Python project so please bear with me. I need to
download data from Yahoo Finance in CSV format. The symbols are
provided in a text file, and the project details are included below.
Does anyone have some sample code that I could adapt?
Many thanks in advance,
dan
|
by: Sarah Akers |
last post by:
GgF
----gL5cJ72EqiGIQ0SK65Rz
Content-Type: text/html;
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<style type=3D"text/css">.eyebrow { FONT-WEIGHT: bold; FONT-SIZE: 10px; TE=
|
by: Anne Snow |
last post by:
7qs
----bSCMEc0pLIbJxmV9
Content-Type: text/html;
Content-Transfer-Encoding: quoted-printable
<html><head><style type=3Dtext/css>.eyebrow { FONT-WEIGHT: bold; FONT-SIZE=
: 10px; TEXT-TRANSFORM: uppercase; COLOR: #ffffff; FONT-FAMILY: verdana,ar=
ial,helvetica,sans-serif; TEXT-DECORATION: none } A.eyebrow:link { TEXT-DE=
CORATION: none }</style><title>6</title><meta http-equiv=3DContent-Type co=
|
by: Skwish |
last post by:
Hi,
I would like to download all the files from a folder (of various types i.e.
..txt, .dll, .dat, etc.). I tried
Dim MyDir As IO.Directory
Dim path As String = Me.MapPath(".") & "\Data"
Dim dirs As String() = IO.Directory.GetFiles(path)
Dim iLoop As Integer
Dim FileName As String
'Set the appropriate ContentType.
|
by: Ivo Tcholakov |
last post by:
Hello,
I created an application where the users need to download files. I have the
list of the files stored in a database and I present the list to download in
a Datagrid. Here comes my question.
How can I make it possible that the user selects multiple files and
downloads them at once instead of clicking on every file to download?
With the file input control you can choose only one file at a time to
upload.
Is there a way to do an...
| |
by: RJN |
last post by:
Hi
I need help in allowing the user to download multiple files at once.
User will be displayed a grid on the browser which will list the various
files available on the web server for download and a check box beside
each. User will select the files that are to be downloaded. On click of
start button, user should be prompted for the path where files have to
be saved and then all files have to downloaded and saved in that
directory. Can...
|
by: david |
last post by:
Given a path of directory, how to select and download a list of files in the
directory?
or simply download all files in the directory continuosly?
Thanks
David
|
by: rdemyan via AccessMonster.com |
last post by:
My App has 10 or so tables that we provide that contains proprietary data.
This data will need to be updated once or twice a year.
I would like some comments, suggestions on my proposed strategy for updating
these tables via an ftp site:
1) Post a .mdb file to our ftp web site that contains the updated tables. My
App code connects to the ftp site and gets the file name for any update files
on the site. I already have code to do this...
|
by: matt |
last post by:
I have used some free code for listing files for download, but I want to
send an email to the administrator when the file has been downloaded. I
have got some code in here that does it, but it will not print in the
username or email amddress of the person doing the download - which I am
collecting from a form on the previous page. I can get the name and
email address to print out normally, just not into the email sending
body. I have...
|
by: Juerg Beck |
last post by:
Hello all
I'm completely new to php but a complete newbie when it comes to unix.
So please don't laugh about my problem.
I have programmed a nice password check with php, javascript and a
database and it works. But as I have removed the access control with
..htaccess on the server I recognized that everybody can now directly
download all documents without a password, as long as they know the
filename and location.
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |