473,624 Members | 2,122 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

server to server upload

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

Nov 18 '05 #1
7 1212
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_auth or_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_autho r_plug>
----------------------------------------------

"TJS" <no****@here.co m> wrote in message
news:#v******** ******@tk2msftn gp13.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*****@despam med.com> wrote in message
news:ee******** ******@TK2MSFTN GP11.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_auth or_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_autho r_plug>
----------------------------------------------

"TJS" <no****@here.co m> wrote in message
news:#v******** ******@tk2msftn gp13.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_auth or_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_autho r_plug>
----------------------------------------------

"TJS" <no****@here.co m> wrote in message
news:Oz******** ******@tk2msftn gp13.phx.gbl...
do you know of any articles which may explain this in a bit more detail ?
"John Timney (Microsoft MVP)" <ti*****@despam med.com> wrote in message
news:ee******** ******@TK2MSFTN GP11.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_auth or_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_autho r_plug>
----------------------------------------------

"TJS" <no****@here.co m> wrote in message
news:#v******** ******@tk2msftn gp13.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*****@despam med.com> wrote in message
news:ek******** ******@TK2MSFTN GP12.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_auth or_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_autho r_plug>
----------------------------------------------

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


"John Timney (Microsoft MVP)" <ti*****@despam med.com> wrote in message
news:ee******** ******@TK2MSFTN GP11.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_auth or_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_autho r_plug>
----------------------------------------------

"TJS" <no****@here.co m> wrote in message
news:#v******** ******@tk2msftn gp13.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_auth or_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_autho r_plug>
----------------------------------------------

"TJS" <no****@here.co m> wrote in message
news:uX******** ******@TK2MSFTN GP10.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*****@despam med.com> wrote in message
news:ek******** ******@TK2MSFTN GP12.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_auth or_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_autho r_plug>
----------------------------------------------

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


"John Timney (Microsoft MVP)" <ti*****@despam med.com> wrote in message
news:ee******** ******@TK2MSFTN GP11.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_auth or_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_autho r_plug>
> ----------------------------------------------
>
> "TJS" <no****@here.co m> wrote in message
> news:#v******** ******@tk2msftn gp13.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*****@despam med.com> wrote in message
news:u8******** ******@TK2MSFTN GP10.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_auth or_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_autho r_plug>
----------------------------------------------

"TJS" <no****@here.co m> wrote in message
news:uX******** ******@TK2MSFTN GP10.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*****@despam med.com> wrote in message
news:ek******** ******@TK2MSFTN GP12.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_auth or_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_autho r_plug>
----------------------------------------------

"TJS" <no****@here.co m> wrote in message
news:Oz******** ******@tk2msftn gp13.phx.gbl...
> do you know of any articles which may explain this in a bit more detail
?
>
>
> "John Timney (Microsoft MVP)" <ti*****@despam med.com> wrote in message > news:ee******** ******@TK2MSFTN GP11.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_auth or_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_autho r_plug>
> > ----------------------------------------------
> >
> > "TJS" <no****@here.co m> wrote in message
> > news:#v******** ******@tk2msftn gp13.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_auth or_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_autho r_plug>
----------------------------------------------

"TJS" <no****@here.co m> wrote in message
news:uM******** ******@tk2msftn gp13.phx.gbl...
no matter...
it's on a web host , they offer it , and it works :)
"John Timney (Microsoft MVP)" <ti*****@despam med.com> wrote in message
news:u8******** ******@TK2MSFTN GP10.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_auth or_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_autho r_plug>
----------------------------------------------

"TJS" <no****@here.co m> wrote in message
news:uX******** ******@TK2MSFTN GP10.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*****@despam med.com> wrote in message
news:ek******** ******@TK2MSFTN GP12.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_auth or_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_autho r_plug>
> ----------------------------------------------
>
> "TJS" <no****@here.co m> wrote in message
> news:Oz******** ******@tk2msftn gp13.phx.gbl...
> > do you know of any articles which may explain this in a bit more

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

message > > news:ee******** ******@TK2MSFTN GP11.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_auth or_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_autho r_plug>
> > > ----------------------------------------------
> > >
> > > "TJS" <no****@here.co m> wrote in message
> > > news:#v******** ******@tk2msftn gp13.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
2188
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
3015
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 welcome page has a browse button (for locating your local file), a textfield where the path is displayed, and a upload button. When clicking upload a VB ASP script is run, and the outcome is displayed on a new page. 1. On my local machine I got the...
4
14816
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 as I need, but how should I upload it back? Server provides standard HTML GUI for Browsers where client can fill appropriate input field of the form with a full name of the local file. The form uses POST method to upload file and has attribute
14
3876
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 maxRequestLength parameter of the <httpRuntime> section and that works as expected. What I want is to enforce a max file size but haven't been able to trap the error thrown when the file is too large and that's where I could use some help.
6
3998
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 through our firewall. We have another server (Server1) within the SBS domain that is exposed through port 80 of the firewall on which we host some web services and images. What is the best architecture for getting the file from the remotely...
4
6199
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 pass the data to the web service. I already modified both web.config files and changed maxRequestLength to 60000(kb). When I debug the upload process, it seems the Web application can get the 50M file and read the data without problem, but when the...
15
2178
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
2053
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 correctly on the client b/c i have followed the local variables using venkman. so, something is happening on the server.
4
6212
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 Struts: import java.io.File; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Enumeration; import java.util.Iterator;
5
2380
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) and uncompress them there. I’ve done this with less files (~10K) before – using ssh, putty and unzip command. I seem not to be able to use the same method as ZIP
0
8173
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8679
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8621
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7159
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5563
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4079
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2606
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.