| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: FTP Control |
| User926 Posts: 1 Member Since: 02/06/01 |
posted February 6, 2001 4:52 PM I'm evaluating FTP control. I installed FTP Tool on my server, and tried to upload a file from my server to a FTP server. This is what I'm using: dim FtpConn Set FtpConn = Server.CreateObject("Dart.Ftp") FtpConn.Put "ftp://user:password@ftpserver/filename", "Path\filename(on my server)" When I run it, it is done, the error number is 0, but there is no file to be uploaded to the FTP server. Please give me some advise how to get it work! Thanks in advance! |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted February 6, 2001 5:07 PM If there was no error, it probably put the file in the wrong place. Try using the Trace method to create a debug log. If that doesn't help, try the VB sample and see if it gives a better error message. If that doesn't help send the URL to support@dart.com so that we can try it here. Thanks, Tony Priest Dart Tech Support |
| N/A | posted February 7, 2001 1:00 PM Thank you very much for your advise. I tried Trace, I got what in my Debug.txt file is: CWD / 220 celebronet Microsoft FTP Service (Version 5.0). USER anonymous I don't know if I logged in successfully? I tried to run your VB sample, but I got compile error. I'm using ASP, I don't think VB sample will help me. My server is WindowsNT. Do you think I installed FTP Control completely? Why it doesn't work? Thanks, |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted February 7, 2001 1:47 PM Are you trying to store the file in "/" or do you really want it to go in "~/"? The following works fine for me: <% Dim Ftp1 Set Ftp1 = Server.CreateObject("Dart.Ftp") Ftp1.Put "ftp://user:pass@server/~/file","c:\test\file" %> |
| N/A | posted February 7, 2001 3:12 PM It works now. THANKS! The only difference I did is that I used Ftp1.Timeout = 0 What is wrong using that? Thanks, |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted February 7, 2001 4:06 PM Timeout = 0 means that the control is asynchronous, which is not possible in ASP. Please read the Online Help section on the Timeout property for more details. Thanks, Tony |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|