FTP Put VIs in the Internet Toolkit Create Empty FilesPrimary Software: LabVIEW Toolkits>>Internet Developers ToolkitPrimary Software Version: 5.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: When I use the FTP Put File VI to upload a file to an FTP server, why does the file appear on the FTP server as an empty file with 0 bytes size? The VI does not report an error. Solution: You must send the passive command before you can upload files to an FTP server that does not allow anonymous logins but requires you specify a username and password. The passive command requests the FTP server to listen on a data port that is not the default data port and to wait for a connection instead of initiating one when it receives a transfer command.Wire a FALSE constant to the active input of an FTP Put VI to send a passive command to an FTP server, as shown in the following image:Related Links: LabVIEW Support: Internet Toolkit Troubleshooting Wizard and FAQ KnowledgeBase 2X0H94QJ: Does LabVIEW Support Secure Shell File Transfer Protocol Communication? Products & Services: LabVIEW Internet Toolkit Products & Services: LabVIEW Database Connectivity Toolkit Products & Services: LabWindows/CVI Enterprise Connectivity Toolkit
Attachments:
Report Date: 12/04/2003 Last Updated: 05/08/2008 Document ID: 343F9H3N |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
