ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create a folder on FTP Server

Is it possible to create a folder on an FTP server through LabVIEW.

0 Kudos
Message 1 of 4
(8,231 Views)

Yes it is possible. 

 

Unfortunately the LV Internet toolkit FTP-package does not offer a VI exclusively for this purpose.

 

You need to use the NI_InternetTK_FTP_VIs.lvlib:FTP Command.vi combined with an open FTP-session.

This allows you to use the standard FTP-commands shown in the link below.

 

http://www.nsftools.com/tips/RawFTP.htm

 

You want to use:

MKD - make a remote directory

 

The snippet below requires the LV Internet Toolkit.

 

FTPMakeDirectory.png

 

 

Good luck!

 

Bjarke Dahl-Madsen - CLA,CLED
Message 2 of 4
(8,215 Views)

 


@Mendum wrote:

Yes it is possible. 

 

Unfortunately the LV Internet toolkit FTP-package does not offer a VI exclusively for this purpose.

 

 

 


 

I believe there is a VI to execute MKD, but it is not on the palettes. The function is named:

 

C:\Program Files\National Instruments\LabVIEW 8.6\vi.lib\addons\internet\ftp\ftp1.llb\FTP [MKD].vi

Message 3 of 4
(8,205 Views)

ok fine

MRK
Certified LabVIEW Architect
0 Kudos
Message 4 of 4
(6,229 Views)