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.

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
(7,035 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
(7,019 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


Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

Message 3 of 4
(7,009 Views)

ok fine

MRK
Certified LabVIEW Architect
0 Kudos
Message 4 of 4
(5,033 Views)