Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: FTP via ASP


Message #1 by "Deepak Parthasarathy" <deepakp@n...> on Wed, 28 Mar 2001 10:53:22 +0530
Hi all,

    I have a requirement of FTPing a file to a different server

from within an ASP script that runs on my server.

My server is https & the other server is also https.



Any help on this??



Thanks in advance....

Deepak





Deepak Parthasarathy M

NCMR Technologies Pvt. Ltd.,

Koramangala,

Bangalore-95.

Phone:+xx-xxx-xxxxxxx

           +xx-xxx-xxxxxxx



EMail : deepakp@n...

            deepaksarathy@h... 





Message #2 by "Ken Schaefer" <ken@a...> on Wed, 28 Mar 2001 23:10:38 +1000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

: I have a requirement of FTPing a file to a different server

: from within an ASP script that runs on my server.

: My server is https & the other server is also https.

: 

: Any help on this??

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



You want to FTP using HTTPS?



Doesn't the absurdity of that question boggle your mind? It does mine...



:-)



Cheers

Ken



Message #3 by "Eric Van Camp" <eric@a...> on Wed, 28 Mar 2001 15:18:47 +0200
ssl can be implemented on ftp...

sorry to say but ftp and http are two different protocols...so please

rephrase your question!

eric



-----Original Message-----

From: Ken Schaefer [mailto:ken@a...]

Sent: Wednesday, March 28, 2001 3:11 PM

To: ASP Web HowTo

Subject: [asp_web_howto] Re: FTP via ASP





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

: I have a requirement of FTPing a file to a different server

: from within an ASP script that runs on my server.

: My server is https & the other server is also https.

:

: Any help on this??

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



You want to FTP using HTTPS?



Doesn't the absurdity of that question boggle your mind? It does mine...



:-)



Cheers

Ken



Message #4 by "Morgan, Rob" <Rob.Morgan@o...> on Wed, 28 Mar 2001 08:18:04 -0500
I heard something about a new FTP protocol that uses SSL.  Anyone know about

this?



-----Original Message-----

From: Ken Schaefer [mailto:ken@a...]

Sent: Wednesday, March 28, 2001 8:11 AM

To: ASP Web HowTo

Subject: [asp_web_howto] Re: FTP via ASP





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

: I have a requirement of FTPing a file to a different server

: from within an ASP script that runs on my server.

: My server is https & the other server is also https.

: 

: Any help on this??

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



You want to FTP using HTTPS?



Doesn't the absurdity of that question boggle your mind? It does mine...



:-)



Cheers

Ken



Message #5 by "Eric Van Camp" <eric@a...> on Wed, 28 Mar 2001 15:54:38 +0200
Secured Socket Layer performs 2 tasks..it has the possibility to

authenticate the client and to encrpyt the transport layer,

it is placed between the application layer ( ftp, smtp,

http,ldap,nntp,etc...) and the tcp/ip layer...

the connection goes to a specific port which is identified in the http

header and this port is 443, it is the tcp layer who identifies the port, in

this case 443, because there is a ssl layer between the tcp/ip layer and the

application layer(http in your case)...

ceeya







-----Original Message-----

From: Morgan, Rob [mailto:Rob.Morgan@o...]

Sent: Wednesday, March 28, 2001 3:18 PM

To: ASP Web HowTo

Subject: [asp_web_howto] Re: FTP via ASP





I heard something about a new FTP protocol that uses SSL.  Anyone know about

this?



-----Original Message-----

From: Ken Schaefer [mailto:ken@a...]

Sent: Wednesday, March 28, 2001 8:11 AM

To: ASP Web HowTo

Subject: [asp_web_howto] Re: FTP via ASP





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

: I have a requirement of FTPing a file to a different server

: from within an ASP script that runs on my server.

: My server is https & the other server is also https.

:

: Any help on this??

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



You want to FTP using HTTPS?



Doesn't the absurdity of that question boggle your mind? It does mine...



:-)



Cheers

Ken

Message #6 by "Wanschek, John J" <jjwansch@i...> on Wed, 28 Mar 2001 08:22:00 -0600
The only way I have been able to do this in an intranet environment is to

dynamically create a bat file with all the current FTP commands then execute

it and clean up after your self. 



JJW



> -----Original Message-----

> From:	Deepak Parthasarathy [SMTP:deepakp@n...]

> Sent:	Wednesday, March 28, 2001 6:05 PM

> To:	ASP Web HowTo

> Subject:	[asp_web_howto] FTP via ASP

> 

> Hi all,

>     I have a requirement of FTPing a file to a different server

> from within an ASP script that runs on my server.

> My server is https & the other server is also https.

> 

> Any help on this??

> 

> Thanks in advance....

> Deepak

> 

> 

> Deepak Parthasarathy M

> NCMR Technologies Pvt. Ltd.,

> Koramangala,

> Bangalore-95.

> Phone:+xx-xxx-xxxxxxx

>            +xx-xxx-xxxxxxx

> 

> EMail : deepakp@n...

>             deepaksarathy@h... 

> 

> 
Message #7 by "Deepak Parthasarathy" <deepakp@n...> on Fri, 30 Mar 2001 20:00:39 +0530
Ken,

    First things first!! I'm not crazy!!! (Not yet alleast!!)



Let me explain my need more clearly...



I have 2 servers A & B. Server A is my server

& Server B is developed & maintained by a different company.

A user uploads a file onto server A. At this instant

server B also needs to be updated with this file

that came onto Server A (my server). (No, Server B people

are not interested in receiving a mail attachment of the file).



So the idea of the FTP, since I won't know when the

file will be uploaded onto Server A.



We have developed a VB DLL which does the work for us.

We have used the Internet Control to do the job.

Have also found a commercial component to do this job...



Wanted to know if there's anyother way of doing this, say using

the ADSI extensions of IIS or some such thing....



Hope I'v made myself clear now!!!



Deepak



-----Original Message-----

From: Ken Schaefer <ken@a...>

To: ASP Web HowTo <asp_web_howto@p...>

Date: Wednesday, March 28, 2001 6:42 PM

Subject: [asp_web_howto] Re: FTP via ASP





>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>: I have a requirement of FTPing a file to a different server

>: from within an ASP script that runs on my server.

>: My server is https & the other server is also https.

>:

>: Any help on this??

>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>

>You want to FTP using HTTPS?

>

>Doesn't the absurdity of that question boggle your mind? It does mine...

>

>:-)

>

>Cheers

>Ken

>

>

Message #8 by "Tim Morford" <tmorford@n...> on Fri, 30 Mar 2001 11:02:15 -0500
Here is a good article from 15 seconds.com on command line execution from

asp

http://www.15seconds.com/issue/990107.htm



I hope this helps



maybe the fso fso.BuildPath(\\machine\) and then a fso.copyfile(filename) im

not sure if this will work but check it out here is some other stuff I found



if your both running windows 2000 you can use DFS

Distributed File System (DFS)

Build a single, hierarchical view of multiple file servers and file server

shares on a network. Dfs makes files easier for users to locate, and

increases availability by maintaining multiple file copies across

distributed servers.



the bottom of this page might help some

http://msdn.microsoft.com/workshop/server/iis/Autoadm.asp#exe



I hope this helps



tim

-----Original Message-----

From: Deepak Parthasarathy [mailto:deepakp@n...]

Sent: Friday, March 30, 2001 9:31 AM

To: ASP Web HowTo

Subject: [asp_web_howto] Re: FTP via ASP





Ken,

    First things first!! I'm not crazy!!! (Not yet alleast!!)



Let me explain my need more clearly...



I have 2 servers A & B. Server A is my server

& Server B is developed & maintained by a different company.

A user uploads a file onto server A. At this instant

server B also needs to be updated with this file

that came onto Server A (my server). (No, Server B people

are not interested in receiving a mail attachment of the file).



So the idea of the FTP, since I won't know when the

file will be uploaded onto Server A.



We have developed a VB DLL which does the work for us.

We have used the Internet Control to do the job.

Have also found a commercial component to do this job...



Wanted to know if there's anyother way of doing this, say using

the ADSI extensions of IIS or some such thing....



Hope I'v made myself clear now!!!



Deepak


  Return to Index