Click here to Skip to main content
15,887,881 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionFTP Files Downloader Pin
silentspeaker7-Nov-12 1:34
silentspeaker7-Nov-12 1:34 
AnswerRe: FTP Files Downloader Pin
Deflinek7-Nov-12 23:05
Deflinek7-Nov-12 23:05 
AnswerRe: FTP Files Downloader Pin
gopal pradhan8-Nov-12 23:10
gopal pradhan8-Nov-12 23:10 
QuestionPosting a file as a property of a bigger object ASP.NET MVC3 [Solved (Kind Of)] Pin
Sentenryu6-Nov-12 6:54
Sentenryu6-Nov-12 6:54 
Answer"Resolution" Pin
Sentenryu7-Nov-12 3:12
Sentenryu7-Nov-12 3:12 
Questionsign in Popup like codeproject.com Pin
RA|-|UL PATEL6-Nov-12 1:27
RA|-|UL PATEL6-Nov-12 1:27 
AnswerRe: sign in Popup like codeproject.com Pin
Matt U.6-Nov-12 2:14
Matt U.6-Nov-12 2:14 
QuestionNeed help to upload 500 MB file on FTP Pin
silentspeaker6-Nov-12 0:39
silentspeaker6-Nov-12 0:39 
I am having problem in Uploading 500 MB File on web server
can anyone help me

VB
Private Function UploadToFTP(ByVal fileToUpload As HttpPostedFile) As Boolean

Try
Dim uploadUrl As String = "ftp://........................."
Dim uploadFileName As String = fileToUpload.FileName

Dim streamObj As Stream = fileToUpload.InputStream
Dim buffer As [Byte]() = New [Byte](fileToUpload.ContentLength - 1) {}
streamObj.Read(buffer, 0, buffer.Length)
streamObj.Close()
streamObj = Nothing

Dim ftpUrl As String = String.Format("{0}/{1}", uploadUrl, uploadFileName)
Dim requestObj As FtpWebRequest = TryCast(FtpWebRequest.Create(ftpUrl), FtpWebRequest)
requestObj.Method = WebRequestMethods.Ftp.UploadFile
requestObj.Credentials = New NetworkCredential("UserID", "Password")
Dim requestStream As Stream = requestObj.GetRequestStream()
requestStream.Write(buffer, 0, buffer.Length)
requestStream.Flush()
requestStream.Close()
requestObj = Nothing

Return True
Catch ex As Exception
Return False
End Try
End Function

AnswerRe: Need help to upload 500 MB file on FTP Pin
Richard Deeming6-Nov-12 1:32
mveRichard Deeming6-Nov-12 1:32 
GeneralRe: Need help to upload 500 MB file on FTP Pin
silentspeaker6-Nov-12 3:31
silentspeaker6-Nov-12 3:31 
GeneralRe: Need help to upload 500 MB file on FTP Pin
Richard Deeming6-Nov-12 4:05
mveRichard Deeming6-Nov-12 4:05 
GeneralRe: Need help to upload 500 MB file on FTP Pin
silentspeaker6-Nov-12 4:38
silentspeaker6-Nov-12 4:38 
GeneralRe: Need help to upload 500 MB file on FTP Pin
Richard Deeming6-Nov-12 4:59
mveRichard Deeming6-Nov-12 4:59 
GeneralRe: Need help to upload 500 MB file on FTP Pin
silentspeaker6-Nov-12 5:05
silentspeaker6-Nov-12 5:05 
GeneralRe: Need help to upload 500 MB file on FTP Pin
Richard Deeming6-Nov-12 5:16
mveRichard Deeming6-Nov-12 5:16 
AnswerRe: Need help to upload 500 MB file on FTP Pin
jkirkerx7-Nov-12 13:45
professionaljkirkerx7-Nov-12 13:45 
AnswerRe: Need help to upload 500 MB file on FTP Pin
xut24477-Nov-12 14:37
xut24477-Nov-12 14:37 
QuestionHow to Get Local Area IP Address? Pin
Nandan Basak5-Nov-12 22:15
Nandan Basak5-Nov-12 22:15 
AnswerRe: How to Get Local Area IP Address? Pin
Bernhard Hiller6-Nov-12 21:11
Bernhard Hiller6-Nov-12 21:11 
GeneralRe: How to Get Local Area IP Address? Pin
Nandan Basak4-Dec-12 19:08
Nandan Basak4-Dec-12 19:08 
AnswerRe: How to Get Local Area IP Address? Pin
rameshkashanna7-Nov-12 2:05
rameshkashanna7-Nov-12 2:05 
GeneralRe: How to Get Local Area IP Address? Pin
Nandan Basak4-Feb-13 2:05
Nandan Basak4-Feb-13 2:05 
QuestionAn error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Pin
RKSPradeep4-Nov-12 20:11
RKSPradeep4-Nov-12 20:11 
JokeRe: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Pin
n.podbielski4-Nov-12 20:52
n.podbielski4-Nov-12 20:52 
AnswerRe: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Pin
ZurdoDev5-Nov-12 5:37
professionalZurdoDev5-Nov-12 5:37 

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.