Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Upload/Download - ASP ??
User1018

Posts: 4
Member Since: 11/19/00
posted December 7, 2000 12:38 AM

I would like to know if there is any answer to the question posted by Scott on 5-18-00. Basically, Scott (and I) wanted to allow an ASP client to "UPLOAD" a file to a Server(FTPTool). I have posted an opposite question on 11-19-00, i.e., to allow an ASP client to "DOWNLOAD" a file from the Server, but the answer is "NO".
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 7, 2000 9:32 AM

The following works for me:

<%
Dim Ftp1
Set Ftp1 = Server.CreateObject("Dart.Ftp")
Ftp1.Login "host", "user", "pass"
Ftp1.Store "Filename", "C:\Filename"
Ftp1.Logout
%>

User1018

Posts: 4
Member Since: 11/19/00
posted December 7, 2000 10:08 AM

Yes, it works. However, this is not what I want. In your snippet, "C:\Filename" is the server side file path/name, meaning, the file source is at the server but the client. So, is there any ways to perform simple ftp operation by the ASP client like typing the following few lines in the DOS prompt. [1] FTP 123.234.345.567 [2] Login: ABC [3] Passowrd: 123 [4] Put Filename

Thanks a lot.

Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 7, 2000 10:12 AM


The only way you could do that would be if you ran the FTP control on the client.
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX