Delete File from FTP Server using Internet Toolkit Primary Software: LabVIEW Development Systems>>Professional Development SystemPrimary Software Version: 8.0 Primary Software Fixed Version: N/A Secondary Software: LabVIEW Toolkits>>Internet Developers Toolkit
Problem: I am using LabVIEW 8.0 with Internet Toolkit version 6.0. How can I delete a file from an FTP server using the Internet Toolkit VIs? Solution: LabVIEW Internet Toolkit contains a VI called FTP [DELE].VI that can be used to delete a file from an FTP server. To programmatically delete a file from an FTP server, wire the filepath and FTP session refnum to the FTP [DELE].VI. The error cluster returned by this VI reports any connection errors. However if there are any errors related to the file itself, like "file not found", the reply string output of FTP [DELE].VI returns this message, not the error cluster. If you are using Internet Toolkit version 5.0, FTP [DELE].VI will be found in the low level FTP palette. If you are using Internet Toolkit version 6.0, the FTP palette does not contain the FTP [DELE] .VI by default. It can be added to the palette from C:\Program Files\National Instruments\LabVIEW 8.0\vi.lib\addons\internet\ftp\ftp1.llb by editing palette views.
Related Links: Attachments:
Report Date: 07/12/2005 Last Updated: 11/09/2005 Document ID: 3NBDKC4P |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
