Questions tagged [transmitfile]
36 questions
1
vote
2 answers
X310 USRP with python
I'm new to USRP so I don't quite understand the transmission and reception. I have a IQ data needs to be transmitted, I'm using the tx_waveform.py to perform the transmission or any other I should use? What would be the output of this? What are the…

Salad96
- 21
- 1
1
vote
1 answer
TransmitFile + SChannel
I'm using the TransmitFile API with I/O completion ports for an efficient multithreaded file server on Windows.
This all works fine, but I've now also implemented secure sockets using SChannel. Because TransmitFile streams the file directly to the…

Jamie M
- 13
- 2
1
vote
1 answer
ASP.NET TransmitFile causes site to block
Whenever I use TransmitFile to send a file, the sirte becomes blocked to the user until the file completes. IOW, the user cannot navigate the site.
If the user cancels the transfer, it still blocks until the site either times out OR finishes sending…

NFX
- 101
- 5
1
vote
1 answer
recv's not stoping after receiving a transmitFile() function
I'm writing a small Server/Client Filetransfer using Winsocket for class and it basicly works except that i can't receiv any more messages on the socket after I receiv the file and write it to my HDD.
The transmit code loosk like this:
long size…

TapfererToaster
- 13
- 3
1
vote
3 answers
Why is my call to TransmitFile performing poorly compared to other methods?
First, a bit of background --
I am writing a basic FTP server for a personal project. I'm currently working on retrieving files. My current implementation looks like this:
HANDLE hFile = CreateFile("file.tar.gz", GENERIC_READ, FILE_SHARE_READ, NULL,…

Null
- 285
- 1
- 4
- 8
1
vote
1 answer
Cannot call handler ashx more than once when using Response.TransmitFile
I've created a HttpHandler (.ashx) for clients download content (videos) from my website. First I was using the WriteFile method, that I realized it was requiring to much memory and then I decided to change it to TransmitFile method.
But one weird…

Luis Gustavo
- 11
- 1
1
vote
3 answers
Filename and mime problems - ASP.NET Download file (C#)
I'm facing a very strange problem in my ASP.NET Application.
When the user clicks the button that downloads a file, Internet Explorer / Chrome / Firefox shows the save dialog but the name of the file is the name of the ASPX Page (For example, if…

Jacob
- 1,886
- 2
- 25
- 40
0
votes
1 answer
Does anyone know the IR Pattern integer for Daikin air conditioner (I want to simulate on/off signal)
I was trying to build an android app to act like air conditioner remote control that can turn on and off my Daikin AC. Does anyone know where I can find the IR pattern code? I've done my research on internet for a whole day but I can't find any…

kensunjaya
- 1
- 1
0
votes
1 answer
Can not Transmit last packet with recv() Server/Client C file Transmiting over TCP
I have been trying to transfer files over TCP\IP on a windows client to Linux server.
This has been a major issue for the passed few days due to a lack of understanding why the last packet is not received on the server side, which brakes the writing…

TomP
- 67
- 1
- 6
0
votes
1 answer
JSON in PHP can't transmit Strings
Solved
Hello everyone I want to transmit an json from php to an js file and id works.
However if I want to transmit an String in the Json it doesn't work.
The Debuger says JSON Parse error: Unexpected identifier "Test" if you know an other way id…

Hagga Nagga
- 17
- 6
0
votes
1 answer
Why the TransmitFile is not downlaoding the file?
I am downloading a file from folder but this code of me doesn't download. It doesn't throw any error but doesn't download either.
Dim req As WebClient = New WebClient()
Dim response As HttpResponse = HttpContext.Current.Response
…

scaryghost
- 77
- 8
0
votes
0 answers
How can I pass a class object from Activity to a class to be able to call its methods?
I need to create an object of the BLE class in the Activity, in onCreate, I tried to implement it with Parcel (passing the object via Intent), but I have an application crash from it.
As it turned out, the reason was that in the BLE class when I…

Swype
- 1
- 4
0
votes
2 answers
Why my code throws thread aborted error?
I am using this code to download file but it throws error. Please help me in handling it.
Thread was being aborted.
protected void Download_Click(object sender, EventArgs e)
{
try
{
string filePath = Convert.ToString(Attachment);
…

Cuckoo
- 177
- 1
- 2
- 10
0
votes
1 answer
how to cancel enter key event for file download after file is being downloaded in asp.net using C#
I have a page that has search box and the search will be triggered when the user hits enter key (I am checking this search on IsPostBack by enter key. Then when search is completed, the user is able to hit download on the link of the file displayed…

Ahmad
- 33
- 1
- 5
0
votes
3 answers
Error in file after download
I have word document which is opening perfectly at server but when i download it using button click event of my website it gets currept.
i am using below code on button click to make document download.
please help to resolve this problem:
i am…

Dr. Rajesh Rolen
- 14,029
- 41
- 106
- 178