02-18-2006 04:42 AM
02-19-2006 01:55 AM - edited 02-19-2006 01:55 AM
What you describe is not really using FTP at all. You simply open a Telnet session and then invoke an FTP like command on
@SajK wrote:Hi All,I am developing a FTP application used for Firmware upgrade of an embedded hardware.Embedded hardware acting as the server.To upgrade the firmware I am opening a Telnent session (Labview) and giving the command.Then I am opening a FTP session using 'Command prompt' giving "PUT (Fille name)" command.It is working fine from commad prompt.If I am giving the same FTP command using the LabVIEW FTP browser example (available with labVIEW),as soon I start FTP program the upgrade session getting closed.I am getting this message from Telnet window.There is now error out from FTP program but file is not transferred.This is the first time I am using the Internet tool kit. What could be the problem?Any examples or suggestions from u will be useful for me.RegardsSajK
Message Edited by rolfk on 02-19-2006 08:59 AM
02-20-2006 12:09 AM
Hi Rolf,
I am not fully clarified from your answer.
Here I am using the same Ethernet port for Telnet and FTP. I am sending different commands to the Hardware using Telnet.
For firmware upgrade only, I will be using Telnet and FTP. If Upgrade command from Telnet session is given, then only FTP server will be launched in the Hardware.Then LabVIEW FTP PUT file command is used to send binary file to hardware (I am not sure what remote path should be given. Because I am writing to the processor memory).In this case file transfer is not taking place.There is no error also.
02-20-2006 12:25 AM
This is a very strange setup and I guess you will have to get the exact protocol specifications as implemented by your target and start to use single stepping debugging in LabVIEW to see where the problem might arise. As it is now, you definitely do not know enough details about your system to make this work properly.
@SajK wrote:Hi Rolf,
I am not fully clarified from your answer.
Here I am using the same Ethernet port for Telnet and FTP. I am sending different commands to the Hardware using Telnet.
For firmware upgrade only, I will be using Telnet and FTP. If Upgrade command from Telnet session is given, then only FTP server will be launched in the Hardware.Then LabVIEW FTP PUT file command is used to send binary file to hardware (I am not sure what remote path should be given. Because I am writing to the processor memory).In this case file transfer is not taking place.There is no error also.