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: Object Required
User518

Posts: 5
Member Since: 09/21/01
posted September 21, 2001 3:07 PM

I am trying to create a Ftp object, here is the code, and the object is not being created. I am not getting any error message until I try to use the ftp.Login function, and I get the error message "Object Required". I have just installed the ftp tool on the production machine today. I have it set up and running on a local (test) machine, and ported the code to the production machine. Any ideas as to why it cannot create the ftp object?
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted September 21, 2001 3:21 PM


Hi,
Is the DartFtp.dll registered on the machine? Is it referenced in your project? Do the samples work?
If yes, what does your instantiation code look like?
-ken

K M Drake
Dart Tech Support
User518

Posts: 5
Member Since: 09/21/01
posted September 21, 2001 3:34 PM

Here is the instantiation code, and the login line where I get the object required message.

Set Ftp = Server.CreateObject("Dart.Ftp.1")
' reduce Timeout to 10 seconds from 30 second default
'Ftp.Timeout = 10000
' make the login request
Ftp.Login destination, ftp_user, ftp_password,,port
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted September 21, 2001 4:28 PM


Hi,
Are the Dart dlls registered on this machine?
Do the samples work?

Is this an ASP script?
If this is a VB project, you should not use CreateObject. Please see:
http://support.dart.com/KBDetail.dwp5
-ken

K M Drake
Dart Tech Support
User518

Posts: 5
Member Since: 09/21/01
posted September 21, 2001 4:34 PM

The dlls are registered. I went in after the install and manually registerd them just to make sure. This is a asp script. I didn't load the samples on the production server, since the code worked in the test environment.
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted September 21, 2001 4:40 PM


Hi,
Also,if this is an Asp script, please make sure you have added your license to the production machine. For instructions, please see: 
http://support.dart.com/KBDetail.dwp6
You will get that error if you have a trial license that has expired.
-ken

K M Drake
Dart Tech Support
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted September 21, 2001 4:46 PM


Hi,
Ok, it sounds like you have an expired trial.
Make sure to add your license to the production machine, as described in the help file and in the following article:
http://support.dart.com/KBDetail.dwp6
-ken

K M Drake
Dart Tech Support
User518

Posts: 5
Member Since: 09/21/01
posted September 21, 2001 5:10 PM

This is a rebuilt server, and I re-registered the product to get a new key from your website. Under the registration it has 'FTP Tools' listed , will it say anything else if it has expired or the license is not valid.
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted September 24, 2001 10:07 AM


Hi,
If the Registration utility lists Ftp Tool, then it should be registered. If you create a report with Dartnostics, you should see under Registry Info:
FTP Tool = 1530-1...
You should then add the license to the server, by following the instructions for distributing under IIS. When you do this, the Object Required error should go away.
-ken

K M Drake
Dart Tech Support
User518

Posts: 5
Member Since: 09/21/01
posted September 24, 2001 10:26 AM

We shouldn't have a trial licence. We registered a serial number that we purchased online. Under PowerTCP FTP Tools is listed among our registered tools, with the serial #, registration #, and key.
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted September 24, 2001 10:46 AM


Hi,
I realize that, which is why I have outlined the procedure for adding the license to your server. This is necessary with ASP scripts. 
Please follow the instructions I have posted in this thread.
Thanks,
-ken

K M Drake
Dart Tech Support
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX