Error with FTPSimplicit (General questions)
by ogedei, Tuesday, June 12, 2007, 18:33 (6374 days ago)
I get the following error logging into a FTPSimplicit site
Please set login, and password/certificate first
oFTP.Blocking = True
oFTP.Hostname = URL
oFTP.Login = Bob
oFTP.Passive = 0
oFTP.Password = Bob'sPassword
oFTP.Port = 990
oFTP.Protocol = 4
oFTP.RemotePath =
oFTP.Timeout = 120
oFTP.Connect()
Re: Error with FTPSimplicit
by woddrazen, Tuesday, June 12, 2007, 18:53 (6374 days ago) @ ogedei
Hi Brian,
Which component are you using?
I have tried your code with wodFtpDLX ActiveX component and wodFtpDLX.NET component and it is worked like a charm.
I was able to connect to Serv-U server with FTP Simplicit protocol.
How can we duplicate your problem? Maybe you can give us access to your server? What is your sever type/vendor/name?
You can check this out if you go in command prompt any type:
telnet your.hostname 990
and send us first line returned.
Did you try with our samples in component samples folder? Do you have same problem?
I'm sorry but I have to ask all those questions in order to isolate your problem and try to resolve it.
Hope I helped.
Regards,
Drazen
Re: Error with FTPSimplicit
by ogedei, Wednesday, June 13, 2007, 16:02 (6373 days ago) @ woddrazen
wodFtpDLX
telnet returned nothing
I can not give you the info on the remote server as it is blocked by IP.
what is most relevant sample for me to look at there are so many samples in so many different languages I get lost.
Re: Error with FTPSimplicit
by wodDamir, Wednesday, June 13, 2007, 17:25 (6373 days ago) @ ogedei
Hi,
The code you provided worked for me great. This error usually occurs when Connect Method is called without setting the username/password.
What version of the component are you using?
Could you send us a sample which we could run on our side to see why this occurs?
Also, I noticed that you set port property before setting the protocol. That wrong, since Protocol Property will automatically set Port property to the default port for the specified protocol.
Regards,
Damba
Re: Error with FTPSimplicit
by ogedei, Wednesday, June 13, 2007, 17:29 (6373 days ago) @ wodDamir
I can not send you the code as it requires a database and the site I am trying to reach blocks IP addresses it does not know
I will reverse the port and protocol and only set the port if it is not FTPSimplicit and let you know if that works
Re: Error with FTPSimplicit
by wodDamir, Wednesday, June 13, 2007, 17:39 (6373 days ago) @ ogedei
Hi,
Could you also try one of our samples? Does it work?
Maybe you could write a basic sample with no other code then the one needed for you to connect to the server?
Also, can you please check what does your Version property return?
Regards,
Damba
Re: Error with FTPSimplicit
by ogedei, Wednesday, June 13, 2007, 17:49 (6373 days ago) @ wodDamir
Which sample? there are 2 many for me to filter through to find one with FTSImplicit. I do not care what language I can convert.
I can not give you any more code that what you have I can not share the FTP info and if I could you will not have the right ip address to connect anyway.
Give me the best sample and I will try it. I appreciate all the effort you are putting forth. thanks
Re: Error with FTPSimplicit
by wodDamir, Wednesday, June 13, 2007, 17:56 (6373 days ago) @ ogedei
Hi,
You can try our 1. Simple VB sample located in SamplesVBComponent the folder where you installed the component into.
Once you run it, just insert the appropriate information into the fields, and select FTPSimplicit Protocol.
Regards,
Damba