From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

InetFTPLogin() always report "can not connect FTP server"

I have setting up the FTP server in the Windows 7 system, it not use any password and  account. I can use the browser to view the result. But if use InetFTPLogin("ftp://127.0.0.1", " ", "") to login the server, it always return -9, means cannot connect the FTP server. what is wrong?

 

 

David

0 Kudos
Message 1 of 2
(3,411 Views)

Hi David,

 

I'm not sure about it but maybe you should try it :

InetFTPLogin("127.0.0.1" , " ", " ");

(without "ftp://")

 

J.

0 Kudos
Message 2 of 2
(3,393 Views)