03-13-2013 01:54 PM
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
03-13-2013 02:16 PM
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.
03-13-2013 02:57 PM
The EXE worked fine on my first PC. The other comp didn't show any error at all.
Son
03-13-2013 03:08 PM
@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?