Hi,
I'm building a system where a presenter uploads a PPT to my server and
then I show it to all the participants. The problem is that most of the
media in the PPT is usually linked, so I'll need to upload all that
too. Assuming I can parse the PPT and figure the exact name and
location of each of the media files I need from his hard-disk, is there
any way I can upload all these files automatically, without having to
make the user choose each of these files manually? If that's not
possible, can I atleast show the user a page with a list of input boxes
of type file, pre-populated with the file-path and name of the media
files I need, so that the user can just click 'Submit' without having
to browse and select each of them?
Please say yes. It would be a major usability crisis if my users had to
keep hitting the browse button so many times for each PPT! Especially
when I know exactly what files I need and where they are! I know that
this has a lot to do with browser security, but there's got to be SOME
way out?
Thanks, 3 4613 ra****@gmail.co m wrote:
Hi,
I'm building a system where a presenter uploads a PPT to my server and
then I show it to all the participants. The problem is that most of the
media in the PPT is usually linked, so I'll need to upload all that
too. Assuming I can parse the PPT and figure the exact name and
location of each of the media files I need from his hard-disk, is there
any way I can upload all these files automatically, without having to
make the user choose each of these files manually? If that's not
possible, can I atleast show the user a page with a list of input boxes
of type file, pre-populated with the file-path and name of the media
files I need, so that the user can just click 'Submit' without having
to browse and select each of them?
Please say yes. It would be a major usability crisis if my users had to
keep hitting the browse button so many times for each PPT! Especially
when I know exactly what files I need and where they are! I know that
this has a lot to do with browser security, but there's got to be SOME
way out?
Thanks,
Unfortunately, the file input field does not allow you populate it
using default values. This is due to security considerations. Also,
it isn't possible to "grab" files from a users hard drive through an
ASP script processing on the server. Think of the major security
problems that would cause! I could write a script to search the hard
drives of every browser of my site for quickbooks files, etc and upload
them to my server. Fortunately, this isn't possible.
My solution to this problem would be to only allow zip files to be
uploaded (use a script to check the 3 letter file extension of the
uploaded file). Then use a commercially available unzip component to
extract the files into a folder on your server. All this can be done
through an ASP page. Here is a link to an article on unzipping files
in ASP: http://classicasp.aspfaq.com/general...-from-asp.html
Best of Luck!
Mike Biang
Cramer Development mi********@gmai l.com
Thanks a lot, Mike. I guess I'd be better off with a signed Java applet
that does all the uploading for me though; my users wont be too happy
with a zip-up-and-upload approach. mi********@gmai l.com wrote:
Unfortunately, the file input field does not allow you populate it
using default values. This is due to security considerations. Also,
it isn't possible to "grab" files from a users hard drive through an
ASP script processing on the server. Think of the major security
problems that would cause! I could write a script to search the hard
drives of every browser of my site for quickbooks files, etc and upload
them to my server. Fortunately, this isn't possible.
My solution to this problem would be to only allow zip files to be
uploaded (use a script to check the 3 letter file extension of the
uploaded file). Then use a commercially available unzip component to
extract the files into a folder on your server. All this can be done
through an ASP page. Here is a link to an article on unzipping files
in ASP: http://classicasp.aspfaq.com/general...-from-asp.html
Best of Luck!
Mike Biang
Cramer Development mi********@gmai l.com
Why not use a web dav folder and drag and drop the files in one go?
<ra****@gmail.c omwrote in message
news:11******** **************@ h48g2000cwc.goo glegroups.com.. .
Hi,
I'm building a system where a presenter uploads a PPT to my server and
then I show it to all the participants. The problem is that most of the
media in the PPT is usually linked, so I'll need to upload all that
too. Assuming I can parse the PPT and figure the exact name and
location of each of the media files I need from his hard-disk, is there
any way I can upload all these files automatically, without having to
make the user choose each of these files manually? If that's not
possible, can I atleast show the user a page with a list of input boxes
of type file, pre-populated with the file-path and name of the media
files I need, so that the user can just click 'Submit' without having
to browse and select each of them?
Please say yes. It would be a major usability crisis if my users had to
keep hitting the browse button so many times for each PPT! Especially
when I know exactly what files I need and where they are! I know that
this has a lot to do with browser security, but there's got to be SOME
way out?
Thanks, This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: dmiller23462 |
last post by:
Here is the code, it's not complete of course....I've been inserting
lines as I go to pinpoint the issue.....I understand that the error
message I'm getting (#185 Missing Default Property) is referring to
"textfile" but I can't find any information as to what the default
property SHOULD be....
By the way, I'm working on an online submission form for our intranet
that emails several parties AND THEN appends to a text file for later...
|
by: Jim Witte |
last post by:
Hi,
How do I set a file input element? If it's a text input, I can set the
value property. But this doesn't work with file inputs.
And no, I can't change it - I'm writing a script to automate a process
on an existing system.
Jim Witte
jswitte@bloomington.in.us
|
by: Dixie |
last post by:
Can I set the Format property in a date/time field in code?
Can I set the Input Mask in a date/time field in code?
Can I set the Format of a Yes/No field to Checkbox in code?
I am working on a remote update of tables and fields and can't find enough
information on these things.
Also, how do you index a field in code?
|
by: laredotornado |
last post by:
Hi,
I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed
using Apache's apxs and the php library was installed to
/usr/local/php. However, when I set my "error_reporting" setting to be
"E_ALL", notices are still not getting reported. The perms on my file
are 664, with owner root and group root. The php.ini file is located
at /usr/local/lib/php/php.ini. Any ideas why the setting does not seem
to be having an effect? ...
|
by: hanseymoon |
last post by:
How do you create a text input box, which shows a default value of 1+
and blocks the user from deleting it? Thanks so much! :))
| |
by: swarnap |
last post by:
I have a control on me screen of type <FILE>. I want to set some value to that object from the database. I tried the following code using html.
<html >
<head>
<script type="text/javascript">
function fun()
{
document.getElementById('j').value="hi"
alert(document.getElementById('j').value);
|
by: Doogie |
last post by:
How do I make a value the default value for a combo box in ASP 3.0?
What I have below does NOT work, yet I've seen it in HTML file
examples before (and works if I put it in a HTML file by itself, but
not if I use it in a ASP 3.0 app.
<select name="cboCompany" style="text-align:right; font-size:8pt">
<option value="08">08</option>
<option value="09" selected="true">09</option>
<option value="33">33</option>
|
by: jose1lm |
last post by:
What is supposed to happen:
A user enters data into one of the FORM input selections. When the user submits the form, the onclick
event is supposed to go to a function that will set another FORM value (SearchSel) to some number that
will be used on the next page. The javascript function 'setSelx' doesn't work in FireFox but works with the
other browsers.
Can someone help to fix this code or point me in the right direction?
Server:...
|
by: Andrus |
last post by:
..NET 2 Winforms application.
How to create new setting and set it default value in userSettings section
of app.config file or overwrite existing setting value ?
I found code below in this list which modifies Application setting section
but how to add new item to userSettings ?
Andrus.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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: 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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
| |