取消
显示结果 
搜索替代 
您的意思是: 

Quote command FTP

Is is possible by to execute a remote program (on a remote host)  by using the FTP vi's and executing the command "Quote"  to send an arbitrary FTP command?
If Yes... How...吃惊表情
 
Thanks Huub 
0 项奖励
1 条消息(共 4 条)
3,826 次查看
Within Labview you could use the Tcp Connection VIs.
Simply send username, passwort and your "quote something" command. As long as you don't have to read from the connection, this shouldn't be too much of a problem.

The question which should concern you more is: Does the server support the command? If no, you could still write a small TCP Server and a small TCP Client (in LabView or your language of choice).

The example finder offers you "TCP Communicator (Active)" and "TCP Communicator (Passive)". I haven't further investigated this, but maybe you could use those as a starting point for a program without having to use FTP.

0 项奖励
2 条消息(共 4 条)
3,816 次查看

Hello Thomas,

I have to call a program on an AS400 and we don't want to change the AS400 program.

In the old system this call is done by FTP with the command: QUOTE RCMD SBMJOB CMD(CALL PGM.... 

RCMD is a FTP AS400 specific command (Remote CoMmanD)

I did some tests with the Low Level "FTP Command VI" and it looks like this will work.

Thanks for your help, Huub

 

0 项奖励
3 条消息(共 4 条)
3,796 次查看
Hi knipph

If that machine is a production machine, I understand your concerns.

Glad I could help

Thomas
0 项奖励
4 条消息(共 4 条)
3,789 次查看