473,699 Members | 2,715 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help with design decision


I’m developing an application that will send a lot of data (up to one
gigabyte) from a user to a company file server. One of the requirements
of the solution is that the user doesn’t have to choose what file to
send, all he has to do is press a button to start the upload. One
solution is to create client- and server applications that use socket
communication, but could a better choice be to create a web service
that receives the data? In the future there could be added
functionality to the server that e.g. sends statistics to the client,
and it must be easier to add such a feature using a web service
solution, right?

The best solution would be for the user to connect to a web page, be
shown a button that says “start”, and when pressing it the correct
files from his hard drive automatically gets uploaded to the server.
But is that even possible to do, could it be done using some sort of
ActiveX control that gets access to his hard drive?

I need all the advice I can get in deciding what solution to use.

--
tubby
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Dec 3 '05 #1
1 947
You will not be able to script a <input type=file> control, so that
immediately limits your options. If you can get away with requiring IE,
you can write an ActiveX component that will do the transfer. If not,
you are looking at Java.

HTTP post uploads are generally slow, so you may want to consider FTP.
I don't know of any way to determine the percent complete of a POST
request, however, you could monitor the file size of an FTP upload and
the client could request the current file size via a web service and
calculate the percent complete. So web services may be of benefit at a
different level.

You make no mention of security. That will definately be a concern.

Good luck. Sounds like a fun project.

----
700cb Development, Inc.
http://www.700cb.net
..NET utilities, developer tools,
and enterprise solutions

tubby <tu**********@m ail.codecomment s.com> wrote in
news:tu******** **@mail.codecom ments.com:

I’m developing an application that will send a lot of data (up to one
gigabyte) from a user to a company file server. One of the
requirements of the solution is that the user doesn’t have to choose
what file to send, all he has to do is press a button to start the
upload. One solution is to create client- and server applications that
use socket communication, but could a better choice be to create a web
service that receives the data? In the future there could be added
functionality to the server that e.g. sends statistics to the client,
and it must be easier to add such a feature using a web service
solution, right?

The best solution would be for the user to connect to a web page, be
shown a button that says “start”, and when pressing it the correct
files from his hard drive automatically gets uploaded to the server.
But is that even possible to do, could it be done using some sort of
ActiveX control that gets access to his hard drive?

I need all the advice I can get in deciding what solution to use.

--
tubby
-----------------------------------------------------------------------
- Posted via http://www.codecomments.com
-----------------------------------------------------------------------
-


--
Dec 4 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

43
4843
by: grz02 | last post by:
Hi, Im an experienced database+software designer and developer, but, unfortunately, anything to do with web-programming and web-systems designs is still a pretty new area to me... (been working mostly with "legacy" environments the last 10 years) So I am writing this, hoping to get some useful advise and feedback... I have done some pretty trivial, small websites with html/PHP,
8
3031
by: MarsFossils | last post by:
I am giving a lunch and learn talk on how to "Create your own Web Page" tomorrow and would like to mention a funny anecdote with an inspiring moral about web page design. Does anybody have any stories they might share with me that I could use? Many thanks, Michael Mars Fossils, Pseudofossils and Problematica http://aix1.uottawa.ca/~weinberg/mars
22
1754
by: lechequier | last post by:
Let's say I define a list of pairs as follows: >>l = Can anyone explain why this does not work? >>h = {}.update(l) and instead I have to go: >>h = {} >>h.update(l) to initialize a dictionary with the given list of pairs?
35
2549
by: robert d via AccessMonster.com | last post by:
I was asked to provide a proposal. I provided a proposal on my application and the prospective client likes what I have but is wary of it having been developed in Access. I don't understand this concern since my front-end application will be linked to a SQL SERVER backend. But there seems to be this "conventional wisdom" among IT people that Access is a toy database. Okay, let's redefine that as "Jet" is a toy database (which I don't...
16
2805
by: Rex | last post by:
Hi All - I have a question that I think MIGHT be of interest to a number of us developers. I am somewhat new to VIsual Studio 2005 but not new to VB. I am looking for ideas about quick and efficient navigating within Visual Studio 2005. Let's say your project (or solution) has dozens of forms and hundreds or even thousands of routines. Two Questions: 1) BUILT-IN to Visual Studio 2005. What ideas do you have to quickly
13
1709
by: MLH | last post by:
Invalid qualifier error displays at compile time on this A97 example from Permissions Property HELP. What's wrong with the strContainerName assignment line? (6th line) Sub SetDocPermissions(docUnknown As Document) Dim strContainerName As String ' Set UserName property to valid existing group account. docUnknown.UserName = "Marketers" ' Get value of Container property. strContainerName = docUnknown.Container.Name
7
3155
by: laceemup | last post by:
If someone could please help me...I'm learning how to use C++ but no matter how long I attempt this problem I cannot seem to get anywhere...if you could help with some input, I would be much appreciated...its the following... * a perfect number has a sum of divisors equal to the number itself. The first perfect number is 6, because the sum of its divisors (1,2,3) is equal to 6 itself. * a deficient number has a sum of divisors less...
122
5490
by: C.L. | last post by:
I was looking for a function or method that would return the index to the first matching element in a list. Coming from a C++ STL background, I thought it might be called "find". My first stop was the Sequence Types page of the Library Reference (http://docs.python.org/lib/typesseq.html); it wasn't there. A search of the Library Reference's index seemed to confirm that the function did not exist. A little later I realized it might be called...
53
8391
by: souporpower | last post by:
Hello All I am trying to activate a link using Jquery. Here is my code; <html> <head> <script type="text/javascript" src="../../resources/js/ jquery-1.2.6.js"</script> <script language="javascript" type="text/javascript">
2
3411
by: alwaali | last post by:
Hi I need help please This is my project and i need a help to solve it with you A page of text is to be read and analyzed to determine number of occurrences and locations of different words. The results of the analysis are to be stored in a suitable data structure. The main task in this project is to design a suitable ADT (call it WAnalysis) to store the results and enable the following operations to be performed as fast as possible:...
0
8685
marktang
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...
0
9172
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9032
jinu1996
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...
1
8908
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7745
agi2029
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...
1
6532
isladogs
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...
0
5869
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();...
0
4374
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...
2
2344
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.