error 1:

Hello, I've been having great success with SmartFTP .dll, it's been solid for many months and I've been very satisfied. All of a sudden, my ASP scripts which make calls to the SmartFTP .dll are failing with the following error: Initializing SmartFTP Library
kkLogFile = Connecting...
Connect() failed. Error = 1

I haven't seen this one before. I know it's not a permissions issue with the hosts, because I can connect using the credentials with other FTP software, and this problem is across multiple hosts, not just one.

Your assistance is greatly appreciated.

thanks very much,

Randy Pallotta

Hello, I purchased a license in April 2007. This has been working for several months. I'm pretty sure our license was for longer than six months, is it possible that it wasn't?

thanks

RAndy

i cracked open the license file, and it states that it doesn't expire until May of 2008. So I don't think that's the problem... Do you have any other suggestions?

thanks very much for your help, it's greatly appreciated...

Hello ..

Please add the license key id to your profile in the forum.
Did you buy a license for the FTP Library or the FTP Client?

Thank you
Regards,
SmartFTP

Hello, I've added in the license id to my profile. The license was purchased by my boss, Steve Smith, and is for the Smart FTP Library.

thanks

RAndy

Hello ..

Thank you.

What version of the FTP Library are you using?
Are the sample scripts (Samples\Scripts) working?
Do you call the LoadLicenseKeyData/LoadLicenseKeyFile function?

Regards,
Mat

Hello,

Version: 1.0
and yes, I make the call in all of my files like such: objGlobal.LoadLicenseKeyFile("c:/EDI/SmartFTP FTP Library License Key.txt")


FYI, my code is written in classic ASP.

As far as sample code goes, I get the same error when I try to "Connect" or "list".

thanks



Hello ..

Thank you.

What version of the FTP Library are you using?
Are the sample scripts (Samples\Scripts) working?
Do you call the LoadLicenseKeyData/LoadLicenseKeyFile function?

Regards,
Mat

Hi Mat,

I did install the latest version, and the same error persists.

thanks for your help,

Randy

Hello ..

Please try the LoadLicenseKeyFile.vbs in the Samples\Scripts folder. Make sure that you change the path to your license key in the vbs script.

Regards,
Mat

Hi Mat,

thanks for your help, as always. That script led me to find the problem, which was a Windows permission that was mysteriously set on the license file...

You guys are the best, we are very happy with your product and your service.

Randy