Actually i'm trying to transfer a file from a pc to another via LAN using ftp command in dos. I tried to called ftp command from LabWindow CVI as follow:
system("ftp -n pcname < GetFile.txt");
where the content of GetFile.txt is as follow:
user ftp password put filename.txt bye
However, the file transfer is not successful.... I have tried out by typing each command line from the text file in the DOS command window and the file transfer is successful. Can anyone tell me if i have missed out anything??