Simple FTP client for LabVIEW

LabVIEW comes with its own nice pack of FTP functions, but some time ago I needed a very low level control over the communication with a particularly stubborn equipment that returned strange codes and list formats. You know, that's the problem with the FTP protocol: it was designed for human interaction and sometimes the automatization can be really hard if the server is not respecting supposed standards.

So I developed some very simple VIs to see what were going down there, and now they're in this blog in case anybody needs a simple and direct way of FTP communication. The top-level functions offered are LIST, GET, PUT, DELE and RMD, the basics to manipulate files, and both active and passive modes are allowed. I think their main utility is to see how things go in the TCP chatting between client and server.

Download (LLB for LabVIEW 2016)

To demonstrate how they work, I have developed a simple FTP client that connects to a FTP server of your choosing and allows to navigate folders, download and upload files, and delete files and folders (provided you have the right permissions). Transfer is only in ASCII mode (so it will fail for binary files like images).

This FTP client is included in the FTP library. It's really basic, so if you need more capabilities add them by yourself or hire me 😉.

Comentarios

Entradas populares de este blog

SNMP library for LabVIEW

Base64 Encoding

Retrieve CPU temperature