473,378 Members | 1,319 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Upload into ftp from asp.net

i am using a html file control for my asp.net site but as we know we cant
manage

with this control for files with large sizes

so can i use ftp instead in asp.net if yes how??

pls Reply as soon as possible
Dec 14 '05 #1
5 1248
one simple approach is to use the process class to invoke a dos prompt
command to do the ftp load

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------

"Sundar.k" <Su*****@discussions.microsoft.com> wrote in message
news:0A**********************************@microsof t.com...
i am using a html file control for my asp.net site but as we know we cant
manage

with this control for files with large sizes

so can i use ftp instead in asp.net if yes how??

pls Reply as soon as possible

Dec 14 '05 #2
Hello,

for file upload with large file size, try this configuration value in the
<system.web> area of the we.config:

<httpRuntime maxRequestLength="102400" />

i hope that it helps

"Sundar.k" wrote:
i am using a html file control for my asp.net site but as we know we cant
manage

with this control for files with large sizes

so can i use ftp instead in asp.net if yes how??

pls Reply as soon as possible

Dec 14 '05 #3
I think the question was about receiving a file via FTP, not sending one.
I'm not sure why you would try to receive via FTP within ASP.NET - why
not use an FTP server?
Alvin Bruney - ASP.NET MVP wrote:
one simple approach is to use the process class to invoke a dos prompt
command to do the ftp load

Dec 15 '05 #4

i also have a vssinterop working to maintain the uploaded documents version

is there a way through which i can know when a ftp starts and ends

because if i start a command prompt then its another proces and i wont come
to

know of its end .
"Alvin Bruney - ASP.NET MVP" wrote:
one simple approach is to use the process class to invoke a dos prompt
command to do the ftp load

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------

"Sundar.k" <Su*****@discussions.microsoft.com> wrote in message
news:0A**********************************@microsof t.com...
i am using a html file control for my asp.net site but as we know we cant
manage

with this control for files with large sizes

so can i use ftp instead in asp.net if yes how??

pls Reply as soon as possible


Dec 16 '05 #5
you can query the status of the executing process thru the process class

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------

"Sundar.k" <Su*****@discussions.microsoft.com> wrote in message
news:09**********************************@microsof t.com...

i also have a vssinterop working to maintain the uploaded documents version
is there a way through which i can know when a ftp starts and ends

because if i start a command prompt then its another proces and i wont come to

know of its end .
"Alvin Bruney - ASP.NET MVP" wrote:
one simple approach is to use the process class to invoke a dos prompt
command to do the ftp load

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------

"Sundar.k" <Su*****@discussions.microsoft.com> wrote in message
news:0A**********************************@microsof t.com...
i am using a html file control for my asp.net site but as we know we cant manage

with this control for files with large sizes

so can i use ftp instead in asp.net if yes how??

pls Reply as soon as possible


Dec 16 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dave | last post by:
Hello there, I am at my wit's end ! I have used the following script succesfully to upload an image to my web space. But what I really want to be able to do is to update an existing record in a...
2
by: Sean Dotson | last post by:
I have a form that passes variables to an asp file and then uploads a file. For some reason the request.form is not getting the info from the form. It's returning blanks. Any insight would be...
0
by: SEMIH DEMIR | last post by:
Sitelerden birinde verilen yabancı kaynakli bir scriptti duzenledim yanlız birseyin içinden bir turlu cıkamadım işin aslı ilk defa persistin upload componentini kullanacam yanlız suanki haliyle...
21
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most...
1
by: chennaibala | last post by:
can any one send me mutiple image upload program and save the file name with extension in mysql table.we must cheak uploaded file type like bmp or any image file while uploading. i develop...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.