NI Home > Community > NI Discussion Forums

LabVIEW

Showing results for 
Search instead for 
Do you mean 
Reply
Member
Flamboyant
Posts: 172
0 Kudos

Create a folder on FTP Server

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

Member
BjarkeDM
Posts: 18

Re: Create a folder on FTP Server

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
Active Participant
PhillipBrooks
Posts: 1,190

Re: Create a folder on FTP Server

[ Edited ]

 


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