LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FTP Timeout and FTP protocol question

I'm sure I could fix it.  It's a native LabVIEW vi though.  I would think they would fix it for everyone, or tell me something I'm missing about using it correctly.

0 Kudos
Message 11 of 14
(870 Views)

What is the last line in your reply? 

220 *** alternate storage.            ***

so yes there is at line with 3 numbers following a space.

 

Can you show us a probe of what you are seening?

0 Kudos
Message 12 of 14
(866 Views)

That is from a probe.  I didn't say there wasn't any line that was ### space, I said if it's not the first line the pattern won't match it because it's anchored to the start of the offset with a ^

I have snippets showing everything a few posts up.

0 Kudos
Message 13 of 14
(842 Views)

If it is the TCP Read xTP Reply.vi.png that you are talking about, the you don't understand the code. 

The TCP function will read every single line, one line at a time. 

The will loop will only stop if there is an error or if the line read matches the expression. 

Now your last line will match, and will stop the while loop. 

So unless you get another error, the FTP Open should work and your reply code out of the vi should be 220.

You need to find out where that error is coming from, place some more indicators around your code, and show us the values in the indicators.

If the code is locked in one vi, take a picture of the code were and when it is locked.   

0 Kudos
Message 14 of 14
(833 Views)