Monday, March 26, 2012

server to server upload

does asp.net have server to server file transfer (upload) capability ?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" <nospam@.here.com> wrote in message
news:#v389w0qDHA.3616@.tk2msftngp13.phx.gbl...
> does asp.net have server to server file transfer (upload) capability ?
do you know of any articles which may explain this in a bit more detail ?

"John Timney (Microsoft MVP)" <timneyj@.despammed.com> wrote in message
news:eez77CHrDHA.2304@.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" <nospam@.here.com> wrote in message
> news:#v389w0qDHA.3616@.tk2msftngp13.phx.gbl...
> > does asp.net have server to server file transfer (upload) capability ?
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" <nospam@.here.com> wrote in message
news:Oz2ZRrUrDHA.2476@.tk2msftngp13.phx.gbl...
> do you know of any articles which may explain this in a bit more detail ?
>
> "John Timney (Microsoft MVP)" <timneyj@.despammed.com> wrote in message
> news:eez77CHrDHA.2304@.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" <nospam@.here.com> wrote in message
> > news:#v389w0qDHA.3616@.tk2msftngp13.phx.gbl...
> > > does asp.net have server to server file transfer (upload) capability ?
> > >
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)" <timneyj@.despammed.com> wrote in message
news:ekqLSIVrDHA.1928@.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" <nospam@.here.com> wrote in message
> news:Oz2ZRrUrDHA.2476@.tk2msftngp13.phx.gbl...
> > do you know of any articles which may explain this in a bit more detail
?
> > "John Timney (Microsoft MVP)" <timneyj@.despammed.com> wrote in message
> > news:eez77CHrDHA.2304@.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" <nospam@.here.com> wrote in message
> > > news:#v389w0qDHA.3616@.tk2msftngp13.phx.gbl...
> > > > does asp.net have server to server file transfer (upload) capability
?
> > > > > > > >
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" <nospam@.here.com> wrote in message
news:uXlUL2xrDHA.1764@.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)" <timneyj@.despammed.com> wrote in message
> news:ekqLSIVrDHA.1928@.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" <nospam@.here.com> wrote in message
> > news:Oz2ZRrUrDHA.2476@.tk2msftngp13.phx.gbl...
> > > do you know of any articles which may explain this in a bit more
detail
> ?
> > > > > "John Timney (Microsoft MVP)" <timneyj@.despammed.com> wrote in message
> > > news:eez77CHrDHA.2304@.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" <nospam@.here.com> wrote in message
> > > > news:#v389w0qDHA.3616@.tk2msftngp13.phx.gbl...
> > > > > does asp.net have server to server file transfer (upload)
capability
> ?
> > > > > > > > > > > > > > >
no matter...
it's on a web host , they offer it , and it works :)

"John Timney (Microsoft MVP)" <timneyj@.despammed.com> wrote in message
news:u8JQKb7rDHA.1764@.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" <nospam@.here.com> wrote in message
> news:uXlUL2xrDHA.1764@.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)" <timneyj@.despammed.com> wrote in message
> > news:ekqLSIVrDHA.1928@.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" <nospam@.here.com> wrote in message
> > > news:Oz2ZRrUrDHA.2476@.tk2msftngp13.phx.gbl...
> > > > do you know of any articles which may explain this in a bit more
> detail
> > ?
> > > > > > > > "John Timney (Microsoft MVP)" <timneyj@.despammed.com> wrote in
message
> > > > news:eez77CHrDHA.2304@.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" <nospam@.here.com> wrote in message
> > > > > news:#v389w0qDHA.3616@.tk2msftngp13.phx.gbl...
> > > > > > does asp.net have server to server file transfer (upload)
> capability
> > ?
> > > > > > > > > > > > > > > > > > > > > > > >
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" <nospam@.here.com> wrote in message
news:uM9RPaAsDHA.3436@.tk2msftngp13.phx.gbl...
> no matter...
> it's on a web host , they offer it , and it works :)
>
> "John Timney (Microsoft MVP)" <timneyj@.despammed.com> wrote in message
> news:u8JQKb7rDHA.1764@.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" <nospam@.here.com> wrote in message
> > news:uXlUL2xrDHA.1764@.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)" <timneyj@.despammed.com> wrote in message
> > > news:ekqLSIVrDHA.1928@.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" <nospam@.here.com> wrote in message
> > > > news:Oz2ZRrUrDHA.2476@.tk2msftngp13.phx.gbl...
> > > > > do you know of any articles which may explain this in a bit more
> > detail
> > > ?
> > > > > > > > > > > "John Timney (Microsoft MVP)" <timneyj@.despammed.com> wrote in
> message
> > > > > news:eez77CHrDHA.2304@.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" <nospam@.here.com> wrote in message
> > > > > > news:#v389w0qDHA.3616@.tk2msftngp13.phx.gbl...
> > > > > > > does asp.net have server to server file transfer (upload)
> > capability
> > > ?
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

0 comments:

Post a Comment