473,770 Members | 5,842 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Transferring file from server to client

andrewsteed
1 New Member
I have an Excel file on the server that I need to pass to the client. I tried dynamically generating the excel file through response.write' s, but I was unable to get a file/table type that would export from one page and import on the other.

Editing a master template Excel file is working fine, but now I don't know how to get it to the client. I can't write to the client machine (permissions issues, for one), and the client might not have access to the server location where the file is.

I tried using content-disposition to force an attachment, but the attachment contents are always corrupted (I get an excel file, but there's nothing in it except a white box with a red x through it, and that dissapears after about a second), even though the file on the server generates properly on each try.

I need to grab the file on the server, push it to the client, and prompt them to save it locally.

Does anyone have any ideas on this? Thanks!
Nov 29 '07 #1
0 893

Sign in to post your reply or Sign up for a free account.

Similar topics

2
3202
by: winshent | last post by:
Hi I am a novice with SQL server as i have experience with access. I need to do some front end development in access for a client who runs SQL 6.5 or so he tells me... (i have been told that data files under 6.5 are .dat and under 7.0 they are .mdf? is this correct?) I have taken a copy of the data file which is an mdf file with the intention of running it on my machine which has SQL 2000 Developer Ed installed on windows XP pro.
24
2286
by: Joseph Geretz | last post by:
Up to this point, our application has been using Windows File Sharing to transfer files to and from our application document repository. This approach does not lend itself toward a secure environment and so we are in the process of imposing a WebService gateway between our application client and the repository. (As a starting point, the WebService won't be a richly featured application server; business rules are still implemented in the...
1
2067
by: Asaf | last post by:
Hi, I am developing a windows forms client application that will send a large XML data to a web server using Web Services. I saw this article http://www.codeproject.com/soap/MTOMWebServices.asp for uploading files using MTOM. Is there any way to transfer large data from the client to the web server using WSE3 with chunks but instead of using files, using the memory?
0
992
by: tomaszh | last post by:
Hello, We are having a problem transfering large amounts of data ( > 3MB) over remoting. The problem only seems to occur when data is transfered from the client to server, as we have successfully transfered ~23MB of data from server to the client using the same method. We are using a DataTable with several columns where one of them is holding a byte array to transfer files. Remoting settings: using WellKnownObjects available via IIS,...
1
1848
by: Murali | last post by:
Hi Everyone, I am writing a program to transfer a file from one linux pc to another linux pc. I am using linux-2.4.x and pppd-2.4.2 version . I have few queries: How to establish a PPP Link between two systems where both are having modem facility(56kbps) ?
3
1685
by: JayD | last post by:
(Not sure whether it is a general aspnet problem or a specific security problem, hence posting it in 2 groups). This will solve for us a number of problems. I have developed a website on my local machine (part of a LAN) using Visual Web Developer, with ASP.NET 2.0. Backend is a SQL Server 2000 database. All queries and webforms work beautifully on my local machine (file system web project). However, when I copy this website to a...
0
1154
by: Aqib | last post by:
I am working with Client Server Desktop Application which used to run on intranet. I am facing problem of slow speed due to large data (up to 1 GB). I am using Synchronies communication method (as data is very important) and Service to transfer data (in the form of Xml) from server to client. Can you please tell me how to maximize the data transferring speed? I will be thankful to you for this favor (in advance)
4
1436
by: G | last post by:
Hello, I have a "two page form" - Page1.aspx and Page2.aspx. I have a function in my Page1.cs file called Button_Click. A simple version: ************************ if (Page.IsValid) {
1
2133
by: kyosti | last post by:
Hello, I'm writing in c++ on linux. I'm trying to send several JPG-files through sockets one after another and I fail( I'm doing it in this way: first client sends the server "FBEGIN" message, after that client sends JPG-file byte by byte. Server receives it byte by byte and writes to a file. After that I'm trying to send the second file the same way. But I fail. The code simplified. It is here: CLIENT: #include <netdb.h> #include...
0
10225
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
10053
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
10001
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
9867
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8880
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
7415
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
5312
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
5449
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3969
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.