LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

send picture on a server

Hi, I search to send pictures on a serveur. I don't find exemple on labview help which do that. I ca list the content of the folder on the server and retrieve a file text, but i don't knox how send i picture. What conversion can i do and how specified the folder on my computer xhere is the picture.
Thanks a lot for your answer
 
Best regard
0 Kudos
Message 1 of 17
(4,316 Views)
Kobbok,
There are File IO vis that allow you to move \ copy files from one location to another. They can be found in the All Functions>>File IO palette. You can simply copy them to your server (I assume it is not an FTP server you are referring to). I'm not quite sure what you mean by "send" though. I'm guessing you mean copy\move. Post to let us know if you have other questions.
 
Chris C
0 Kudos
Message 2 of 17
(4,291 Views)

Thanks Chris to answer, I try to explain more details of what i want to do. I use TCP box in labview to transfer from my computer to a FTP serveur. I use the vi "TCP communicator active" which are in exemple on labview. I retrieve an ASCII file from the server to my computer but i can't with other type of file (.jpg for me). I think i must transform data which provid of the server but i don't know how. I have th same problem for send a JPG file from my computer to the server.

I wish you understand better now. Ask other precision if you want more details.

Thanks a lot

Kobbok

 

0 Kudos
Message 3 of 17
(4,285 Views)
Hi Kobok,
you can use datasocket to retrieve files. Look at this thread:
            http://forums.ni.com/ni/board/message?board.id=170&message.id=49746&query.id=53153
and at these page
          http://digital.ni.com/public.nsf/websearch/B92648089952CDD386256D0F00792187?OpenDocument
          http://zone.ni.com/devzone/conceptd.nsf/webmain/9574a2833ab0f8b086256cb4006a1ef7#5

Greets, Dave
Greets, Dave
0 Kudos
Message 4 of 17
(4,278 Views)

thanks Dave, i try and say if it work.

Kobbok

0 Kudos
Message 5 of 17
(4,273 Views)

Dave, I'm sorry to be a newbie on transfert file Smiley Sad

It's Ok for retrieve image file from the server but i can't store a jpg file on the server and i don't find any explication on your threads. I try to transform my jpg file on data before transfert it but it doesn't  work. Have you an idea?

Thanks

Kobbok

0 Kudos
Message 6 of 17
(4,268 Views)
Hi Kobok,
I suppose you have to use the FTP-protokoll to upload a file to the server. I havn't done this myself but I think there are good examples in the "find examples" for doing this.
Greets, Dave
Greets, Dave
0 Kudos
Message 7 of 17
(4,264 Views)
Hi Dave
 
I try with Labview exemple but it doesn't work with datasocket in ftp mode. My serveur doesn't accept login and passeword (ftp://login:passeword@domaine). I can only connect on the server whith TCP protocol.
 
Kobbok
0 Kudos
Message 8 of 17
(4,260 Views)
 
It uses System_exec to execute ftp command
 
David
0 Kudos
Message 9 of 17
(4,245 Views)

Hi David,

Yes in a first time i try with system-exe but i had problem in my transfert file. some one are good but other are bad all trames don't have be send. It's for that we saearch an other system.

Thanks

Kobbok

 

0 Kudos
Message 10 of 17
(4,243 Views)