LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get a List from FTP server

I can't get the LIST command working on FTP server
This is what I do :
TCP Open Connection on port 21
TCP Write USER anonymous
TCP Read while not status
TCP Write PASS toto@titi.fr
TCP Read while not status -> 230 Anonymous user logged in.
TCP Write Type I
TCP Read while not status
TCP Write PORT 192,168,31,10,203,1
TCP Read while not status
TCP Listen on 51969 -> with a 5 sec timeout
TCP Write LIST
TCP Read while not status -> here I often get can't open data
connection

on TCP Listen connection
TCP Read while not status -> I read here the file list

This works once. Then it will fail for a while and succed once again
and so on...
What do I miss ?

Regards
Nicolas
0 Kudos
Message 1 of 1
(2,491 Views)