Questions tagged [httppostedfile]
51 questions
0
votes
1 answer
Error while installing Poster (Python Module)
I'm trying to install Chris Atlee's python Poster library so I can upload a file using a HTTP POST query from within my script.
On python 2.3, when I type # python setup.py install, I get the following error. The install continues, but I can't >>>…

Pranab
- 2,207
- 5
- 30
- 50
0
votes
2 answers
How to get past null characters in a file posted to an asp.net form?
I have an asp.net MVC application that takes in uploaded NMEA track files from small GPS loggers. In some cases, the loggers will inject null (0x0) values into the track file text. Is there a way to strip out these 0x0 characters from the…

Matthew Belk
- 1,904
- 2
- 20
- 28
0
votes
1 answer
Save file if error reading with Stream Reader
I am trying to parse a uploaded txt file. I need to save the file if there is an error parsing it. The problem is that the parser is using a Stream Reader and if an error occurs it just saves the empty file and not the file contents.
Dim file As…

user973671
- 1,620
- 6
- 27
- 39
0
votes
1 answer
C# download file from dropbox and convert it to HttpPostedFile
My web site has an option to upload files from local computers.
I want to now add an option to upload files straight from dropbox.
I am using the dropbox chooser api which returns the link for the file chosen by the client.
I then want to download…

Idan Bercovici
- 23
- 6
0
votes
1 answer
Inconsistency in file before and after upload to Oracle DB
I'm trying to get my website to allow users to upload various files (HttpPostedFile), which are then stored in an Oracle database as BLOBs. Here's what I've got so far:
public static bool insertFile(int pid, HttpPostedFile file, string…

Kay Ell
- 155
- 1
- 1
- 4
-1
votes
1 answer
How to add same image in different resolution to different database columns in c# ASP.NET
I have a project in which, there is a Images on page with 400*300 resolution. When I hover Image, I have and it opens as a full screen.
Now, when I upload an image, i save it to database column ITM_PATH. And there is another column ITM_LARGE.…

Dinav Ahire
- 581
- 1
- 10
- 30