Groups | Blog | Home
all groups > asp.net > november 2003 >

asp.net : server to server upload


TJS
11/14/2003 11:44:01 PM
does asp.net have server to server file transfer (upload) capability ?


John Timney (Microsoft MVP)
11/16/2003 6:31:34 PM
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>
----------------------------------------------

[quoted text, click to view]

TJS
11/17/2003 12:38:37 PM
do you know of any articles which may explain this in a bit more detail ?


[quoted text, click to view]

John Timney (Microsoft MVP)
11/17/2003 9:24:30 PM
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>
----------------------------------------------

[quoted text, click to view]

TJS
11/19/2003 8:19:48 PM
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 ?




[quoted text, click to view]

John Timney (Microsoft MVP)
11/20/2003 10:30:06 PM
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>
----------------------------------------------

[quoted text, click to view]

TJS
11/21/2003 12:07:33 AM
no matter...
it's on a web host , they offer it , and it works :)


[quoted text, click to view]

John Timney (Microsoft MVP)
11/21/2003 2:24:37 PM
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>
----------------------------------------------

[quoted text, click to view]

AddThis Social Bookmark Button