LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

send picture on a server

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

 

0 Kudos
Message 11 of 17
(1,425 Views)
Hi Dave,
 
Thanks for the solution. It's great if you don't connect error wire, i have the same problem with TCP VI but it's normal!!!!
Now i can have a dialog with ftp server with TCP VI so if that interrest you? My only problem, it's not to speek with the server but to transform jpg file into binary data and split the data for send them.
 
Kobbok
 
0 Kudos
Message 12 of 17
(1,414 Views)

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.Smiley Happy

Message Edited by David Crawford on 06-23-2006 10:31 AM

0 Kudos
Message 13 of 17
(1,409 Views)

No sorry, I answer to you Smiley Very Happy 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

 

 

0 Kudos
Message 14 of 17
(1,404 Views)
I found this on my pc. I must have got it from the forum. It looks near to what you want but it only uploads.
 
David
0 Kudos
Message 15 of 17
(1,401 Views)

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 Smiley Wink

0 Kudos
Message 16 of 17
(1,399 Views)

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 Smiley Very Happy

Thank you to spend lot of your time to help me.

See you later

Kobbok

0 Kudos
Message 17 of 17
(1,389 Views)