LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to specify domain name when using FTP library

I'm using the INET FTP library to try and connect to an FTP server.

How do I specify a domain name for both the server and/or username?

I'm using InetFTPLogin.

Menchar
0 Kudos
Message 1 of 4
(3,485 Views)

hehe, I hope I know that and help you out.

 

0 Kudos
Message 2 of 4
(3,477 Views)
Hi Menchar,
 
I'm not quite sure if I'm understanding you correctly. When using the InetFTPLogin command, you should be able to enter the domain name directly as the server name. For instance, you could enter "mysite.com" as my FTP server and add your username and password and you should be able to connect to your ftp server.
 
I'm not sure what version of CVI you are using, but there is an example program in both CVI 7.1 and 8.0 that shows the use of the InetFTP commands. It is under <CVI>\samples\internet\ftpcInt where <CVI> is the directory where CVI is installed.
 
If this example doesn't get you the information you need, just post back with further questions and I'll be glad to help you out.
 
Matt
National Instruments
0 Kudos
Message 3 of 4
(3,449 Views)
Matt -

Thanks for the reply.

We figured this out - Windows DNS was able to find the server based on the server name alone.

Menchar
0 Kudos
Message 4 of 4
(3,425 Views)