LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FTP doesn't work in executable environment

Hello all,

 

I have a subvi that FTP from host to remote and vice versa, and it works fine in the development environment.  I made it as an executable and deployed it to another computer and only FTP from remote to host worked, but FTP from host to remote didn't work.  Can someone show me how to fix this problem?  Thank you very much.

 

Son

0 Kudos
Message 1 of 4
(2,645 Views)

If the FTP get command works, that indicates that the basic parts of the connection work. You should look at the feedback you're getting from the VIs to see what's going on (errors, replies, etc.). That should help you understand what's not working.

 

Also, check the executable on the first PC (to make sure the problem isn't in the EXE, but in the other PC) and make sure you're using the same user in both cases to avoid permission issues.


___________________
Try to take over the world!
0 Kudos
Message 2 of 4
(2,637 Views)

The EXE worked fine on my first PC.  The other comp didn't show any error at all.

 

Son

0 Kudos
Message 3 of 4
(2,630 Views)

@rgbspectrumtimeout wrote:

The other comp didn't show any error at all.


That doesn't seem right. FTP is a protocol which is supposed to give you feedback on whether the operation succeeded or not. Are you saying that it says the operation succeeded? Are you sure you're actually looking at the feedback from the VI and not relying on automatic error handling (which doesn't work in executables)? Are you using the same user? Can you try the same operation using another FTP client? Can you try the same operation using the low level FTP functions and see exactly which response you get from the server?


___________________
Try to take over the world!
0 Kudos
Message 4 of 4
(2,627 Views)