server to server upload

  • Thread starter Thread starter TJS
  • Start date Start date
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>
 
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>
----------------------------------------------
 
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 ?
 
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>
----------------------------------------------
 
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>
----------------------------------------------
 
Back
Top