Click here to Skip to main content
16,011,374 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionlive web conferencing Pin
meghamaharshi9-Dec-08 2:11
meghamaharshi9-Dec-08 2:11 
AnswerRe: live web conferencing Pin
Abhijit Jana9-Dec-08 3:55
professionalAbhijit Jana9-Dec-08 3:55 
GeneralRe: live web conferencing Pin
meghamaharshi9-Dec-08 17:49
meghamaharshi9-Dec-08 17:49 
QuestionTextbox in Gridview.....On Tab out Data to be saved in Database...? Pin
codingrocks9-Dec-08 1:56
codingrocks9-Dec-08 1:56 
AnswerRe: Textbox in Gridview.....On Tab out Data to be saved in Database...? Pin
Brij9-Dec-08 2:04
mentorBrij9-Dec-08 2:04 
GeneralRe: Textbox in Gridview.....On Tab out Data to be saved in Database...? Pin
codingrocks9-Dec-08 2:11
codingrocks9-Dec-08 2:11 
GeneralRe: Textbox in Gridview.....On Tab out Data to be saved in Database...? Pin
Brij9-Dec-08 2:32
mentorBrij9-Dec-08 2:32 
QuestionProblem in downloading a file from FTP folder. Pin
kiran_kumar5389-Dec-08 1:12
kiran_kumar5389-Dec-08 1:12 
hello all.
here, iam trying to download a file from an ftp folder into a clients machine.
the problem is,
i have written my code in say download.aspx.
now the file is getting downloaded to the client machine but the generated html source of the download .aspx is getting appended to the file. in this case we are getting 1117 bytes.

i have used the following code
string filename = "Chadwick2007.pdf";//"cab2.txt";//
Response.AddHeader("Content-Disposition", "attachment; filename=" + filename);
Response.ContentType = "application/octet-stream";
FtpWebRequest request = (FtpWebRequest)WebRequest.Create("ftp://127.0.0.1/ftpfolder/" + filename);
request.Method = WebRequestMethods.Ftp.DownloadFile;
request.UseBinary = true;
FtpWebResponse response = (FtpWebResponse)request.GetResponse();
Stream responseStream = response.GetResponseStream();
StreamReader sr = new StreamReader(responseStream);
int i;
while ((i = responseStream.ReadByte()) != -1)
{
    Response.OutputStream.WriteByte(Convert.ToByte(i));
}

i can provide any additional information if required.
thank you.
QuestionClient Side system handling Pin
John.G8-Dec-08 23:58
John.G8-Dec-08 23:58 
AnswerRe: Client Side system handling Pin
N a v a n e e t h9-Dec-08 0:02
N a v a n e e t h9-Dec-08 0:02 
AnswerRe: Client Side system handling Pin
Brij9-Dec-08 0:10
mentorBrij9-Dec-08 0:10 
AnswerRe: Client Side system handling Pin
Abhijit Jana9-Dec-08 0:10
professionalAbhijit Jana9-Dec-08 0:10 
AnswerRe: Client Side system handling Pin
Christian Graus9-Dec-08 10:00
protectorChristian Graus9-Dec-08 10:00 
GeneralRe: Client Side system handling Pin
John.G20-Dec-08 2:18
John.G20-Dec-08 2:18 
QuestionSend mail, How do I change the FROM address to a friendly name Pin
amit sahu208-Dec-08 23:47
amit sahu208-Dec-08 23:47 
AnswerRe: Send mail, How do I change the FROM address to a friendly name Pin
N a v a n e e t h8-Dec-08 23:58
N a v a n e e t h8-Dec-08 23:58 
GeneralRe: Send mail, How do I change the FROM address to a friendly name Pin
amit sahu209-Dec-08 0:16
amit sahu209-Dec-08 0:16 
AnswerRe: Send mail, How do I change the FROM address to a friendly name Pin
Abhijit Jana9-Dec-08 0:13
professionalAbhijit Jana9-Dec-08 0:13 
AnswerRe: Send mail, How do I change the FROM address to a friendly name Pin
Brij9-Dec-08 0:14
mentorBrij9-Dec-08 0:14 
QuestionDateTime formats in GridView based on Cultural settings Pin
Shivan Nandan8-Dec-08 23:15
Shivan Nandan8-Dec-08 23:15 
AnswerRe: DateTime formats in GridView based on Cultural settings Pin
Christian Graus8-Dec-08 23:22
protectorChristian Graus8-Dec-08 23:22 
AnswerRe: DateTime formats in GridView based on Cultural settings Pin
N a v a n e e t h8-Dec-08 23:32
N a v a n e e t h8-Dec-08 23:32 
GeneralRe: DateTime formats in GridView based on Cultural settings Pin
Shivan Nandan12-Dec-08 18:12
Shivan Nandan12-Dec-08 18:12 
QuestionCheck-box and web-page problems Pin
Tryongliph8-Dec-08 23:10
Tryongliph8-Dec-08 23:10 
AnswerRe: Check-box and web-page problems Pin
Christian Graus8-Dec-08 23:20
protectorChristian Graus8-Dec-08 23:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.