LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Passive Mode FTP using LabWindows

I'm trying to make a simple FTP client to retrieve some files from a server. I want to take into account the case where the client is protected by a firewall. This means, to my knowledge, using the passive mode for the FTP.
Is there any way do this with CVI?
0 Kudos
Message 1 of 5
(4,154 Views)
CVI FDS 7.1 comes with an Internet Library that allows you to set the passive mode on an FTP connection. You can download an eval version by following this link:

http://digital.ni.com/demo.nsf/websearch/531EA137A674B28786256BC100663B5C?OpenDocument&node=11104_US

Luis
NI
0 Kudos
Message 2 of 5
(4,154 Views)
Hi,
Indeed, you can developped a FTP client with the LabWindows/CVI 7.1 FTP function set.
If an FTP-client application is run from behind a firewall, use the passive, or client�initiated, mode of establishing an FTP data connection. After opening an FTP connection, call the low�level "InetFTPSetPassiveMode" function to set the data connection mode to passive mode.
Best regards,

Benjamin
National Instruments France
0 Kudos
Message 3 of 5
(4,154 Views)

I have CVI 6.0 how i can develop FTP Client for reading file from FPT Server.

---Vishnu

0 Kudos
Message 4 of 5
(3,695 Views)
Hi Vishnu,

Please check out this discussion forum:

http://forums.ni.com/ni/board/message?board.id=180&message.id=8550&requireLogin=False

You could also check out this DataSocket Tutorial:

http://zone.ni.com/devzone/cda/tut/p/id/3224#toc5

It describes the use of DataSockets in LabVIEW but the principles can be easily transferred to CVI.
Manooch H.
National Instruments
0 Kudos
Message 5 of 5
(3,645 Views)