Archived Forum Post

Index of archived forum posts

Question:

chilkatftp2 doesn't work when called using shell on 64bit

Aug 02 '12 at 12:22

I have a program that uses chilkatftp2 to upload files to an ftp server. When i call the program in vb6 using Shell the program hangs up for 10 sec or so and then seems to fail to connect , the hangup seems to happen at anytime the chilkatftp2 object is being referenced. It works fine if you just run the EXE normally, and seems to work fine on XP 32bit when i use the Shell command, but on Win7 64bit it doesn't seem to work. Anyone have any ideas of whats going on?


Answer

To get more information, examine the contents of the ftp2.LastErrorText property after the method call that fails or behaves unexpectedly.