12-06-2005 10:27 AM
12-07-2005 02:32 AM
Hello, i'm trying to send a file with InetFTPSendFile(), but it doesn't work (Error -11). The connnection with InetFTPLogin() is good and i use InetFTPSetPassiveMode (FTPMoneyline, 1).
Have you resolved your problem?
Thanks
12-07-2005 09:05 AM
Hi,
The question: Have you resolved your problem? Yes and No
I use an application called Windows FTP Server to simulate my FTP server test case. This is the easiest one to configure. I set this up on the PC (Windows 2000) in my cube.
I need to execute FTP uploads from a Windows 2000 server. I manually execute an FTP Send through a DOS command window successfully to make sure that the server in my cube is working.
When I use the CVI INET_FTPSendFile() after a successful connection, I get a time out error. According to the server logs the CVI port connection gets hosed.
My work around for now is to build a sequence of DOS command strings to execute the FTP transaction and launch them via system calls. I like this solution too because I get a lot of messages without additional effort to append to my log files.
I am also looking into using Windows SDK API FTP calls to solve this problem, but CVI would be much easier if anybody can get this stuff to work.
Is InetFTPSetPassiveMode () a CVI function? This one is not in my list.
Thanks,
robskii