473,386 Members | 1,743 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,386 software developers and data experts.

server to server upload

TJS
does asp.net have server to server file transfer (upload) capability ?

Nov 18 '05 #1
7 1199
The net classes can do form posts (even from within an asp.net page).
Should you have a file on the server then you could post it to another
server. This however is an ideal use for windows services as they wont hog
your asp.net worker process while trying to do an upload. If you do it in
ASP, you have to work out how its going to happen as part of a an intial
page request,or schedule the execution of the asp.net page.

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
----------------------------------------------

"TJS" <no****@here.com> wrote in message
news:#v**************@tk2msftngp13.phx.gbl...
does asp.net have server to server file transfer (upload) capability ?

Nov 18 '05 #2
TJS
do you know of any articles which may explain this in a bit more detail ?
"John Timney (Microsoft MVP)" <ti*****@despammed.com> wrote in message
news:ee**************@TK2MSFTNGP11.phx.gbl...
The net classes can do form posts (even from within an asp.net page).
Should you have a file on the server then you could post it to another
server. This however is an ideal use for windows services as they wont hog your asp.net worker process while trying to do an upload. If you do it in
ASP, you have to work out how its going to happen as part of a an intial
page request,or schedule the execution of the asp.net page.

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
----------------------------------------------

"TJS" <no****@here.com> wrote in message
news:#v**************@tk2msftngp13.phx.gbl...
does asp.net have server to server file transfer (upload) capability ?


Nov 18 '05 #3
The Net framework SDK quickstart tutorials have examples of writing windows
services, and have http post examples too. I expect the help docs in
vs.net cover the same material.

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
----------------------------------------------

"TJS" <no****@here.com> wrote in message
news:Oz**************@tk2msftngp13.phx.gbl...
do you know of any articles which may explain this in a bit more detail ?
"John Timney (Microsoft MVP)" <ti*****@despammed.com> wrote in message
news:ee**************@TK2MSFTNGP11.phx.gbl...
The net classes can do form posts (even from within an asp.net page).
Should you have a file on the server then you could post it to another
server. This however is an ideal use for windows services as they wont

hog
your asp.net worker process while trying to do an upload. If you do it in ASP, you have to work out how its going to happen as part of a an intial
page request,or schedule the execution of the asp.net page.

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
----------------------------------------------

"TJS" <no****@here.com> wrote in message
news:#v**************@tk2msftngp13.phx.gbl...
does asp.net have server to server file transfer (upload) capability ?



Nov 18 '05 #4
TJS
I found a solution in cold fusion <cfftp>...
works with about 20 lines of code !

you would think something as big as dotnet would have this too ?


"John Timney (Microsoft MVP)" <ti*****@despammed.com> wrote in message
news:ek**************@TK2MSFTNGP12.phx.gbl...
The Net framework SDK quickstart tutorials have examples of writing windows services, and have http post examples too. I expect the help docs in
vs.net cover the same material.

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
----------------------------------------------

"TJS" <no****@here.com> wrote in message
news:Oz**************@tk2msftngp13.phx.gbl...
do you know of any articles which may explain this in a bit more detail ?


"John Timney (Microsoft MVP)" <ti*****@despammed.com> wrote in message
news:ee**************@TK2MSFTNGP11.phx.gbl...
The net classes can do form posts (even from within an asp.net page).
Should you have a file on the server then you could post it to another
server. This however is an ideal use for windows services as they wont
hog
your asp.net worker process while trying to do an upload. If you do
it in ASP, you have to work out how its going to happen as part of a an

intial page request,or schedule the execution of the asp.net page.

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
----------------------------------------------

"TJS" <no****@here.com> wrote in message
news:#v**************@tk2msftngp13.phx.gbl...
> does asp.net have server to server file transfer (upload) capability ? >
>
>



Nov 18 '05 #5
Well it does - in about 20 lines, but as I suggested - doing posts from asp
(or cold fusion from that matter I expect), has the potential to hog your
worker process and block IIS, which is why I recommended doing it from
outside IIS.

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
----------------------------------------------

"TJS" <no****@here.com> wrote in message
news:uX**************@TK2MSFTNGP10.phx.gbl...
I found a solution in cold fusion <cfftp>...
works with about 20 lines of code !

you would think something as big as dotnet would have this too ?


"John Timney (Microsoft MVP)" <ti*****@despammed.com> wrote in message
news:ek**************@TK2MSFTNGP12.phx.gbl...
The Net framework SDK quickstart tutorials have examples of writing windows
services, and have http post examples too. I expect the help docs in
vs.net cover the same material.

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
----------------------------------------------

"TJS" <no****@here.com> wrote in message
news:Oz**************@tk2msftngp13.phx.gbl...
do you know of any articles which may explain this in a bit more detail ?


"John Timney (Microsoft MVP)" <ti*****@despammed.com> wrote in message
news:ee**************@TK2MSFTNGP11.phx.gbl...
> The net classes can do form posts (even from within an asp.net
page). > Should you have a file on the server then you could post it to another > server. This however is an ideal use for windows services as they
wont hog
> your asp.net worker process while trying to do an upload. If you do it
in
> ASP, you have to work out how its going to happen as part of a an

intial > page request,or schedule the execution of the asp.net page.
>
> --
> Regards
>
> John Timney (Microsoft ASP.NET MVP)
> ----------------------------------------------
> <shameless_author_plug>
> Professional .NET for Java Developers with C#
> ISBN:1-861007-91-4
> Professional Windows Forms
> ISBN: 1861005547
> Professional JSP 2nd Edition
> ISBN: 1861004958
> Professional JSP
> ISBN: 1861003625
> Beginning JSP Web Development
> ISBN: 1861002092
> </shameless_author_plug>
> ----------------------------------------------
>
> "TJS" <no****@here.com> wrote in message
> news:#v**************@tk2msftngp13.phx.gbl...
> > does asp.net have server to server file transfer (upload)
capability ? > >
> >
> >
>
>



Nov 18 '05 #6
TJS
no matter...
it's on a web host , they offer it , and it works :)
"John Timney (Microsoft MVP)" <ti*****@despammed.com> wrote in message
news:u8**************@TK2MSFTNGP10.phx.gbl...
Well it does - in about 20 lines, but as I suggested - doing posts from asp (or cold fusion from that matter I expect), has the potential to hog your
worker process and block IIS, which is why I recommended doing it from
outside IIS.

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
----------------------------------------------

"TJS" <no****@here.com> wrote in message
news:uX**************@TK2MSFTNGP10.phx.gbl...
I found a solution in cold fusion <cfftp>...
works with about 20 lines of code !

you would think something as big as dotnet would have this too ?


"John Timney (Microsoft MVP)" <ti*****@despammed.com> wrote in message
news:ek**************@TK2MSFTNGP12.phx.gbl...
The Net framework SDK quickstart tutorials have examples of writing

windows
services, and have http post examples too. I expect the help docs in
vs.net cover the same material.

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
----------------------------------------------

"TJS" <no****@here.com> wrote in message
news:Oz**************@tk2msftngp13.phx.gbl...
> do you know of any articles which may explain this in a bit more detail
?
>
>
> "John Timney (Microsoft MVP)" <ti*****@despammed.com> wrote in message > news:ee**************@TK2MSFTNGP11.phx.gbl...
> > The net classes can do form posts (even from within an asp.net page). > > Should you have a file on the server then you could post it to another > > server. This however is an ideal use for windows services as they

wont
> hog
> > your asp.net worker process while trying to do an upload. If you

do it
in
> > ASP, you have to work out how its going to happen as part of a an

intial
> > page request,or schedule the execution of the asp.net page.
> >
> > --
> > Regards
> >
> > John Timney (Microsoft ASP.NET MVP)
> > ----------------------------------------------
> > <shameless_author_plug>
> > Professional .NET for Java Developers with C#
> > ISBN:1-861007-91-4
> > Professional Windows Forms
> > ISBN: 1861005547
> > Professional JSP 2nd Edition
> > ISBN: 1861004958
> > Professional JSP
> > ISBN: 1861003625
> > Beginning JSP Web Development
> > ISBN: 1861002092
> > </shameless_author_plug>
> > ----------------------------------------------
> >
> > "TJS" <no****@here.com> wrote in message
> > news:#v**************@tk2msftngp13.phx.gbl...
> > > does asp.net have server to server file transfer (upload)

capability
?
> > >
> > >
> > >
> >
> >
>
>



Nov 18 '05 #7
glad you have a solution

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
----------------------------------------------

"TJS" <no****@here.com> wrote in message
news:uM**************@tk2msftngp13.phx.gbl...
no matter...
it's on a web host , they offer it , and it works :)
"John Timney (Microsoft MVP)" <ti*****@despammed.com> wrote in message
news:u8**************@TK2MSFTNGP10.phx.gbl...
Well it does - in about 20 lines, but as I suggested - doing posts from asp
(or cold fusion from that matter I expect), has the potential to hog your
worker process and block IIS, which is why I recommended doing it from
outside IIS.

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
----------------------------------------------

"TJS" <no****@here.com> wrote in message
news:uX**************@TK2MSFTNGP10.phx.gbl...
I found a solution in cold fusion <cfftp>...
works with about 20 lines of code !

you would think something as big as dotnet would have this too ?


"John Timney (Microsoft MVP)" <ti*****@despammed.com> wrote in message
news:ek**************@TK2MSFTNGP12.phx.gbl...
> The Net framework SDK quickstart tutorials have examples of writing
windows
> services, and have http post examples too. I expect the help docs in > vs.net cover the same material.
>
> --
> Regards
>
> John Timney (Microsoft ASP.NET MVP)
> ----------------------------------------------
> <shameless_author_plug>
> Professional .NET for Java Developers with C#
> ISBN:1-861007-91-4
> Professional Windows Forms
> ISBN: 1861005547
> Professional JSP 2nd Edition
> ISBN: 1861004958
> Professional JSP
> ISBN: 1861003625
> Beginning JSP Web Development
> ISBN: 1861002092
> </shameless_author_plug>
> ----------------------------------------------
>
> "TJS" <no****@here.com> wrote in message
> news:Oz**************@tk2msftngp13.phx.gbl...
> > do you know of any articles which may explain this in a bit more

detail
?
> >
> >
> > "John Timney (Microsoft MVP)" <ti*****@despammed.com> wrote in

message > > news:ee**************@TK2MSFTNGP11.phx.gbl...
> > > The net classes can do form posts (even from within an asp.net

page).
> > > Should you have a file on the server then you could post it to

another
> > > server. This however is an ideal use for windows services as they wont
> > hog
> > > your asp.net worker process while trying to do an upload. If you do
it
> in
> > > ASP, you have to work out how its going to happen as part of a

an intial
> > > page request,or schedule the execution of the asp.net page.
> > >
> > > --
> > > Regards
> > >
> > > John Timney (Microsoft ASP.NET MVP)
> > > ----------------------------------------------
> > > <shameless_author_plug>
> > > Professional .NET for Java Developers with C#
> > > ISBN:1-861007-91-4
> > > Professional Windows Forms
> > > ISBN: 1861005547
> > > Professional JSP 2nd Edition
> > > ISBN: 1861004958
> > > Professional JSP
> > > ISBN: 1861003625
> > > Beginning JSP Web Development
> > > ISBN: 1861002092
> > > </shameless_author_plug>
> > > ----------------------------------------------
> > >
> > > "TJS" <no****@here.com> wrote in message
> > > news:#v**************@tk2msftngp13.phx.gbl...
> > > > does asp.net have server to server file transfer (upload)

capability
?
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 18 '05 #8

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

Similar topics

4
by: M P | last post by:
Can you help me find an asp code that will upload a file from my PC to web server? Mark
1
by: PeterB | last post by:
Hi! I'm using Pure ASP File Upload (http://www.asp101.com/articles/jacob/scriptupload.asp) to upload a file from a client to a server. I am testing both on a local IIS and a remote server. The...
4
by: Evgeny Zoldin | last post by:
Hi ALL. I would like to download file from some web-server that requires Basic-Authetication, change somthing in the file and upload it back to the server. I can download the file and proceed...
14
by: Al Smith | last post by:
I need help in implementing proper error handling. I am trying to upload a file based on the sample code below. The code works well except if the file selected is too big. I do know about the...
6
by: Pat Carden | last post by:
Hi, We need to allow webusers to upload a file on our website (on Server3, all servers run Server 2003, remotely hosted) and eventually save it on our SBS Server (Server2) which is not exposed...
4
by: jf li | last post by:
I have a Asp.net web application and a Asp.net Web service application. The Web application is using HtmlInputFile to get a 50M size of file selected by end user, read the data of this file and...
15
by: CSharpguy | last post by:
I need to upload a file to an FTP server, can someone point me to some code that connects to an FTP server and uploads a file?
5
by: pbd22 | last post by:
hi. i have a hidden iframe for uploading files. when i check the httpfilecollection on the server, it is always zero - the files never make it to the server. i know all the javascript is working...
4
by: AshishMishra16 | last post by:
HI friends, I am using the Flex to upload files to server. I m getting all the details about the file, but I m not able to upload it to Server. Here is the code i m using for both flex & for...
5
by: senadslipac | last post by:
How to Q: Uncompressing ~400K files on Apache Server Hello All, I have ~400K html files on my local XP machine and I’d like to compress the files, upload them onto my host (apache - pair.com)...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...

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.