Click here to Skip to main content
15,890,717 members
Home / Discussions / C#
   

C#

 
AnswerRe: Combobox and listbox control Pin
musefan30-Jun-09 3:19
musefan30-Jun-09 3:19 
GeneralRe: Combobox and listbox control Pin
Hum Dum1-Jul-09 0:04
Hum Dum1-Jul-09 0:04 
GeneralRe: Combobox and listbox control Pin
musefan1-Jul-09 1:18
musefan1-Jul-09 1:18 
QuestionCalling a C function from C# and getting values from it. Pin
shivapriyak30-Jun-09 2:42
shivapriyak30-Jun-09 2:42 
AnswerRe: Calling a C function from C# and getting values from it. [modified] Pin
DaveyM6930-Jun-09 3:26
professionalDaveyM6930-Jun-09 3:26 
GeneralRe: Calling a C function from C# and getting values from it. Pin
shivapriyak30-Jun-09 3:34
shivapriyak30-Jun-09 3:34 
GeneralRe: Calling a C function from C# and getting values from it. Pin
DaveyM6930-Jun-09 3:39
professionalDaveyM6930-Jun-09 3:39 
GeneralRe: Calling a C function from C# and getting values from it. Pin
Luc Pattyn30-Jun-09 4:03
sitebuilderLuc Pattyn30-Jun-09 4:03 
AnswerRe: Calling a C function from C# and getting values from it. Pin
Luc Pattyn30-Jun-09 4:09
sitebuilderLuc Pattyn30-Jun-09 4:09 
GeneralRe: Calling a C function from C# and getting values from it. Pin
shivapriyak30-Jun-09 20:03
shivapriyak30-Jun-09 20:03 
GeneralRe: Calling a C function from C# and getting values from it. Pin
Luc Pattyn30-Jun-09 22:57
sitebuilderLuc Pattyn30-Jun-09 22:57 
QuestionSQLite in C# Pin
stancrm30-Jun-09 2:35
stancrm30-Jun-09 2:35 
AnswerRe: SQLite in C# Pin
Pete O'Hanlon30-Jun-09 2:39
mvePete O'Hanlon30-Jun-09 2:39 
AnswerRe: SQLite in C# Pin
SeMartens30-Jun-09 2:41
SeMartens30-Jun-09 2:41 
QuestionHow to Upload large size file to server Pin
wasimsharp30-Jun-09 2:21
wasimsharp30-Jun-09 2:21 
Hi friend i am creating WindowDesktop application that will upload a large size of file to the server.
now when i upload file of small size its uploaded with no problem but when i upload large size of 62Mb or so it throw exception. can any body tell me that how can i upload large file and can i also pause uploading and resume Uploading feature
<pre

filestream="" stream="new" filestream("c:\\xyz.zip",="" filemode.open);


="" byte[]="" buffer="new" byte[stream.length];
="" int="" i="0;
" while="" ((i="stream.Read(buffer,0," buffer.length))&gt;0)
="" {

="" ftpwebrequest="" request="(FtpWebRequest)FtpWebRequest.Create("ftp://ftp.abc.com/"" +="" path.getfilename("c:\\xyz.zip"));
="" try
="" {
="" request.method="WebRequestMethods.Ftp.UploadFile;
" request.credentials="new" networkcredential("demo123",="" "demo123");
="" request.usepassive="true;
" request.usebinary="true;
" request.keepalive="false;
"
="" request.timeout="int.MaxValue;

" reqstream="request.GetRequestStream();
" reqstream.write(buffer,="" 0,="" buffer.length);
="" reqstream.beginwrite(buffer,="" buffer.length,="" callback,="" "aa");
="" reqstream.close();
="" }
="" catch="" (exception="" ex)
="" stream.close();="">


i use both Write and BeginWrite method



WANTED wasim khan(Killed 50 Innocent Buggs, Distroyed 200 Exception, make 5 Project Hostage) any Compnay Hire him will pay 30,000. Best place where u can get him is Sorcim Technologies Murre Road RWP

AnswerRe: How to Upload large size file to server Pin
Vimalsoft(Pty) Ltd30-Jun-09 2:28
professionalVimalsoft(Pty) Ltd30-Jun-09 2:28 
GeneralRe: How to Upload large size file to server Pin
wasimsharp30-Jun-09 2:33
wasimsharp30-Jun-09 2:33 
GeneralRe: How to Upload large size file to server Pin
Vimalsoft(Pty) Ltd30-Jun-09 2:37
professionalVimalsoft(Pty) Ltd30-Jun-09 2:37 
GeneralRe: How to Upload large size file to server Pin
musefan30-Jun-09 2:40
musefan30-Jun-09 2:40 
GeneralRe: How to Upload large size file to server Pin
Vimalsoft(Pty) Ltd30-Jun-09 2:42
professionalVimalsoft(Pty) Ltd30-Jun-09 2:42 
GeneralRe: How to Upload large size file to server Pin
musefan30-Jun-09 2:43
musefan30-Jun-09 2:43 
GeneralRe: How to Upload large size file to server Pin
Vimalsoft(Pty) Ltd30-Jun-09 2:47
professionalVimalsoft(Pty) Ltd30-Jun-09 2:47 
GeneralRe: How to Upload large size file to server Pin
musefan30-Jun-09 2:58
musefan30-Jun-09 2:58 
AnswerRe: How to Upload large size file to server Pin
musefan30-Jun-09 2:33
musefan30-Jun-09 2:33 
GeneralRe: How to Upload large size file to server Pin
wasimsharp30-Jun-09 2:42
wasimsharp30-Jun-09 2:42 

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.