473,395 Members | 1,956 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,395 software developers and data experts.

PostedFile.SaveAs - summary is missing

Hi,

I'm trying to upload files and to use the revision number field of the file.
By using PostedFile.SaveAs the files are uploaded.
The problem is that the summary tab and the revision number are deleted.
Is this behavior is "by design" or it is just a bug?

Thanks,
Hadar
Jan 17 '06 #1
1 1878
Hadar wrote:
Hi,

I'm trying to upload files and to use the revision number field of the file.
By using PostedFile.SaveAs the files are uploaded.
The problem is that the summary tab and the revision number are deleted.
Is this behavior is "by design" or it is just a bug?

Thanks,
Hadar


Hi Hadar,

If you're referring to the summary information included with files like
Word's .doc files, I'm afraid you're out of luck. The summary
information is stored in an alternate data stream, which is an odd
feature you may not be that familiar with. Suffice it to say, I do not
believe any browser will include any alternate data streams when
uploading a file.

Damien

-----
Quick summary of alternate data streams: Any particular path may in
fact represent more than one "file". There is one default data stream
(the one you or I would consider to be "the file"), and any number of
alternate data streams. These are accessed by placing a colon : after
the filename, and then the name of the stream you want to access, e.g.
foo.txt:stream2. I believe the summary information is stored in a
stream called ?SummaryInformation, where ? = U+2663, the club (or at
least, that's how it appears on my system)

Jan 17 '06 #2

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

Similar topics

0
by: Alex Pet | last post by:
Hi, I have a very strange situation here. I have an aspx page through which I upoload image file in a folder. I can upload file first time successfully. when second time I try to upload same...
0
by: jason | last post by:
some confusion here. The below code allows me to save a local file to my web server and somehow because the field type is file a local file browse button is rendered. I'm trying to figure out...
0
by: phl | last post by:
hello, I have an input control which saves a file user specifies. Like this : SaveCon.PostedFile.SaveAs(sDocPath) This cause a postback which presents a problem as I want this to happen in my...
2
by: vips | last post by:
I am using asp.net (VB) for uploading the files on my server I am using input type file (runat=server) my code is If ( FileProductImage.PostedFile.ContentLength > 0 ) Then strurl =...
2
by: Lars Netzel | last post by:
I want to overwrite an excel file I have opened but I do not want to get the question "Do you want to overwrite" .. .I just want to it overwrite silent.. How do i do this? wbk =...
0
by: Jgold7 | last post by:
Not sure which group this should go to, but here goes: I am working with a website that I am selecting files to be uploaded on one page (ex. UploadAttachment.aspx) and I need to retrieve those...
1
by: daokfella | last post by:
I have a web usercontrol on which is a Webcontrols.FileUpload control. I expose the PostedFile property as a readonly property of the usercontrol. That way, a page has access to it. However,...
10
by: Hendri Adriaens | last post by:
Hi, I'm trying to automate the creation of an excel file via COM. I copied my code below. I read many articles about how to release the COM objects that I create. The code below runs just fine...
3
by: girlswannahavefun | last post by:
Hi, This is my first post on these forums and I am very new to c# and .Net, so please be gentle:) I have an ASP application that is supposed to put data into a workbook and then save it and open...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
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...
0
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,...
0
tracyyun
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...
0
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,...

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.