473,748 Members | 2,274 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Uploading Files in .Net

Dear all,

We have purchased a product called SA-FileUp which we have used in our
organisation for a number of years, I'm quite an an avid supporter of it,
recently I've been trying to ensure some of our older applications which
used native .Net uploading moved across to our .Net implementation of
SA-FileUp.

Because there is development time involved in this I have now been asked by
my manager to "test" both native and SA techniques to see how bad the issue
is if we didn't use the SA-FileUp component.

I appreciate that there is a percentage of "sales" talk behind the reasons
for using their product on their website, however, there is a lot of mention
of the native approach not being great because it uses the servers memory to
store the files in temporarily prior to the final save to disc, as opposed
to their products saving to a temporary file prior to the final save. I
personally believe the product to be a significant tool for us to use and as
such need to prove it!

My understanding of the two processes is limited, but I think it goes
something like this...

If we use SA-FileUp, the component streams the file and saves it as a
temporary file on the server before finishing the transaction and saving it
as a normal file.

Where-as the native .net approach loads the file into memory on the server
instead prior to saving as a file.

I've been quized on the native approach along the lines of "surely after the
file is saved the memory is released?", which would make sense, but I would
argue that if the application is putting a heavy demand on the server,
either in the number of uploads at anyone point, or the size of the files in
question, or both, this could have a significant effect on the memory
consumption on the server.

Would anyone here, perhaps someone else who has used it or just has some
theories be able to provide be with any technical information regarding the
two approaches?
Any links would also be advantageous, and in addition, any suggestions for
conducting a test of both methods - I suggested to my manager that this
might be hard to simulate as we'd want to test it in anger with many files,
many uploads, no other network traffic to the server etc etc.

Any information for any testing you may have performed yourselves would be
really appreciated.

As I said initially, I am a fan of the product and would hope that they
remain in use in this organisation, I am sadly now faced with having to
prove its worth due to financial reasons :(

Regards

Rob
Mar 13 '07 #1
4 1392
contact SA and have them justify their product. They should be able to give you ample reasons to keep using their services :)
"Rob Meade" <ku************ ***@edaem.borwr ote in message news:uN******** ******@TK2MSFTN GP03.phx.gbl...
Dear all,

We have purchased a product called SA-FileUp which we have used in our organisation for a number of years, I'm quite an an avid
supporter of it, recently I've been trying to ensure some of our older applications which used native .Net uploading moved across
to our .Net implementation of SA-FileUp.

Because there is development time involved in this I have now been asked by my manager to "test" both native and SA techniques to
see how bad the issue is if we didn't use the SA-FileUp component.

I appreciate that there is a percentage of "sales" talk behind the reasons for using their product on their website, however,
there is a lot of mention of the native approach not being great because it uses the servers memory to store the files in
temporarily prior to the final save to disc, as opposed to their products saving to a temporary file prior to the final save. I
personally believe the product to be a significant tool for us to use and as such need to prove it!

My understanding of the two processes is limited, but I think it goes something like this...

If we use SA-FileUp, the component streams the file and saves it as a temporary file on the server before finishing the
transaction and saving it as a normal file.

Where-as the native .net approach loads the file into memory on the server instead prior to saving as a file.

I've been quized on the native approach along the lines of "surely after the file is saved the memory is released?", which would
make sense, but I would argue that if the application is putting a heavy demand on the server, either in the number of uploads at
anyone point, or the size of the files in question, or both, this could have a significant effect on the memory consumption on the
server.

Would anyone here, perhaps someone else who has used it or just has some theories be able to provide be with any technical
information regarding the two approaches?
Any links would also be advantageous, and in addition, any suggestions for conducting a test of both methods - I suggested to my
manager that this might be hard to simulate as we'd want to test it in anger with many files, many uploads, no other network
traffic to the server etc etc.

Any information for any testing you may have performed yourselves would be really appreciated.

As I said initially, I am a fan of the product and would hope that they remain in use in this organisation, I am sadly now faced
with having to prove its worth due to financial reasons :(

Regards

Rob

Mar 13 '07 #2
"Jon Paal [MSMD]" wrote ...
contact SA and have them justify their product. They should be able to
give you ample reasons to keep using their services :)
Hi Jon,

Oh I have, in fact its almost the same text I posted here, and they've come
back with some informative information, however, as its "their" product I
assumed that I should perhaps take the information with a pinch of salt, ie,
if they say ".Net is Satan spawn when it comes to uploads", maybe that isn't
necessarily true.

I was kinda hoping to get some replies here from people maybe using native
uploading in .Net and telling me that it was fine, and to explain their
usuage of it, or, people that had to invest in the same or similar products
because of limitation in .Net etc.

Their information suggested that in .Net 1.0 / 1.1 there were bigger
problems than in .Net 2.0 - they mentioned that native uploading in .Net 2.0
comes closer to one of their versions, albeit it doesn't have built in
progession support etc etc.

Regards

Rob
Mar 15 '07 #3
Only SA can offer the information about technical issues since they know what's "under the hood' in their product. I doubt if
anyone has tried to create a performace benchline comparison.

I have been using .net upload with no problems but I can't give you any performance stats.

Since you have an SA license and .net is built in , sounds like you can use either one as desired. I would go with the idea that
using a non third-party approach is better, unless there is later to be found a specific problem that can only be resolved by that
third-party product.

"Rob Meade" <ku************ ***@edaem.borwr ote in message news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
"Jon Paal [MSMD]" wrote ...
>contact SA and have them justify their product. They should be able to give you ample reasons to keep using their services :)

Hi Jon,

Oh I have, in fact its almost the same text I posted here, and they've come back with some informative information, however, as
its "their" product I assumed that I should perhaps take the information with a pinch of salt, ie, if they say ".Net is Satan
spawn when it comes to uploads", maybe that isn't necessarily true.

I was kinda hoping to get some replies here from people maybe using native uploading in .Net and telling me that it was fine, and
to explain their usuage of it, or, people that had to invest in the same or similar products because of limitation in .Net etc.

Their information suggested that in .Net 1.0 / 1.1 there were bigger problems than in .Net 2.0 - they mentioned that native
uploading in .Net 2.0 comes closer to one of their versions, albeit it doesn't have built in progession support etc etc.

Regards

Rob

Mar 16 '07 #4
"Jon Paal [MSMD]" wrote ...
Only SA can offer the information about technical issues since they know
what's "under the hood' in their product. I doubt if anyone has tried to
create a performace benchline comparison.
Hi Jon, thank you for your reply.

Regarding the info, I guess just info from peoples own experiences would
have been sufficient, ie, did they find that using native uploading was ok
with a low traffic website, or that they have 10million uploads a day and
there's no problem.
I have been using .net upload with no problems but I can't give you any
performance stats.
How frequently is the upload functionality used though? ie, is it just a
small piece of a larger application, therefore not used particularly
frequently?

We have two systems that use uploading in anger here, a document management
service and also a similar application for clinical documents, both of these
are having large quantities of documents uploaded each day, more for the
clinical ones as they are patient letters being written by hospital staff,
each secretary might produce 40-50 documents a day, there's probably around
50 secretaries doing this, and here lies my concern using native uploading
if theres the chance of the servers memory getting laced..
Since you have an SA license and .net is built in , sounds like you can
use either one as desired. I would go with the idea that using a non
third-party approach is better, unless there is later to be found a
specific problem that can only be resolved by that third-party product.
I think there problems were primarily in .net 1.0 and 1.1 with regards to
the memory, but obviously there are some other "features" from the third
party component which could be useful (progression indicator and the like)..

Thanks for your reply and thoughts..

Regards

Rob
Mar 20 '07 #5

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

Similar topics

2
4980
by: rbt | last post by:
Has anyone used pure python to upload files to a webdav server over SSL? I have no control over the server. I can access it with all of the various webdav GUIs such as Konqueror, Cadaver, etc. by using a URL like this: webdavs://dav.hostname.com/user_name/uploads My goal is to upload files automatically with a python script. The server requires authentication over SSL which I can do with urllib2 like this:
5
1844
by: Dave Navarro | last post by:
I am using some free Upload code by Jacob Gilley: ''*************************************** '' File: Upload.asp '' Author: Jacob "Beezle" Gilley '' Email: avis7@airmail.net '' Date: 12/07/2000 '' Comments: The code for the Upload, CByteString, '' CWideString subroutines was originally '' written by Philippe Collignon...or so
4
1503
by: ayanwen | last post by:
I have problem in uploading files using ASP, can you give me some sample code about uploading using ASP? -- ayanwen ------------------------------------------------------------------------ Posted via http://www.codecomments.com ------------------------------------------------------------------------
3
3279
by: Brian Pittman | last post by:
Hi, I was wondering how to go about creating a wrapper function for uploading files to the server? I have made an attempt on my own without success. I don't get any exceptions from the function but It doens't upload the file either. Any help is appreciated. Brian '*********************
3
2065
by: Dean Richardson | last post by:
Hi, I'm having trouble uploading files via a PHP script. Whenever I upload a file greater than 10K, the file gets corrupted. However, text files upload OK. When I check the FTP Server log I find this:
0
1050
by: Milsnips | last post by:
Hi there, this is my situation: i have a webpage with a photo gallery, when i am uploading files sometimes it takes a while, and when i open another browser window to view the photo gallery page, it hangs and doesnt load until the file upload is complete. Any solution around this so it doesnt hang the photo gallery page while a user is uploading images?
0
1221
by: mivey4 | last post by:
I have been experimenting with sending and receiving files using the webClient class provided in .NET. (C#) I don't seem to have any problems downloading files from my test web server using the class but sending (uploading) files to the server doesn't seem to be working and I don't receive any errors to suggest there is a problem. WebClient wc = new WebClient(); byte results; string uri =...
2
2343
by: =?ISO-8859-1?Q?=22=C1lvaro_G=2E_Vicario=22?= | last post by:
jodleren escribió: I haven't found the PHP manual page where such feature is documented but a few tests have shown that this behaviour changes depending on the charset parameter of the "Content-Type" HTTP header; even if I don't set an actual HTTP header and I just use a <metatag: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> With a packet sniffer I've determined that it's not the browser who
1
951
by: Gabriel Pineda | last post by:
hi, i'm having a problem that is driving me nut! i have an asp.net application runnning in a server. the application allows to uploading files. from my computer i can upload files without any problem, but i test it from another computer and it throw me an exception: "The given path's format is not supported s". how can it be possible? course both computers against the same server.
0
2769
by: LoriFranklin | last post by:
I'm a bit of a newbie here. I've learned a lot from reading the posts you all have here. I need some help uploading files using an asp form. I am using some code that I found from Jacob at asp101.com. http://www.asp101.com/articles/jacob/scriptupload.asp My three files are: Syllabus.htm <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
0
8991
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
8831
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,...
0
9552
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
9376
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...
0
8245
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...
0
4607
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...
0
4877
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2787
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
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...

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.