06-22-2006 11:21 AM
OK. I might be covering old ground here but have you seen this one
http://sine.ni.com/apps/utf8/niepd_web_display.display_epd4?p_guid=B123AE0CB98F111EE034080020E74861
I tried it with an ftp server and I get the prompt out but the visa seems to timeout after the first read. Looks promising though.
David
06-23-2006 03:21 AM
06-23-2006 04:29 AM - edited 06-23-2006 04:29 AM
So that I understand.
You don't want to connect to the ftp server and execute put command to send a local jpg file onto the server or use a get command to retrieve a jpg from the server to you local machine?
You know that if you are transferring binary files you should make sure that the ftp session is in binary mode using bin command.
edit: Sorry just realised you are replying to daveTW.
Message Edited by David Crawford on 06-23-2006 10:31 AM
06-23-2006 05:00 AM
No sorry, I answer to you just bad name
Yes i know i must switch transmittion in binary mode. When i search to retrieve picture, the server send me data, and i must convert data to create jpg file and i think i must do the inverse for send on the server (transform jpg on binaries data). But if you are a solution to just precise the location file on my computer, i get.
The command are not get or put but retr and stor. With system exec vi you can precise where is the file you want to transmit and the command are put and get but with TCP i don't find a fonction corresponding of lcd command.
I' don't work this afternoon so godd week end and thanks for your help. See youir answer on Monday.
Kobbok
06-23-2006 05:25 AM
06-23-2006 05:56 AM
I did a search on google and found this page http://www.networksorcery.com/enp/protocol/ftp.htm
Looks like a great place to start for all the commands.
Have a good weekend
David C
06-27-2006 02:57 AM
Hi David,
Thank you very much for the FTP library, it work very well. I'don't know where you found it but you are lot of treasure in your computer
Thank you to spend lot of your time to help me.
See you later
Kobbok