11-20-2011 06:14 PM
Hello,
i have a question about ftp use
i recover openg tools it works but awfully long more than 3s for a 1ko file
so i took a look at Dos command line with system exec palette .I
It works well (~ 250ms) but i'm forced to use scipt file each time i want to do an action
because command has to be done in one shot
Is there a way to do the same using special caracters like pipe or so to do the same without using files but just string variables ?
Regards
Tinnitus
Solved! Go to Solution.
11-23-2011 04:07 AM
Hi Tinnitus,
Thank you for posting your question on National Instruments Forum.
I guess you are french so I'll continue in french from here.
Je ne suis pas sûr d'avoir saisi toute votre problématique.
Actuellement vous êtes obligé de lancer chacune des lignes de commande une à une à l'aide du VI Cmde Système, c'est bien cela ?
Vous souhaiteriez donc créer un regroupement global des instructions dans une seule chaine.
Avez vous essayé de concaténer une chaine avec des constantes de retour chariot entre chaque instruction ?
Je vous remercie par avance pour vos réponse.
Cordialement,
Guillaume H.
National Instruments France
11-23-2011 10:19 AM
Hi,
Thanks Guillaume for your reply
For the moment i succeeded using a temp file containing all instructions i want to execute, see attached vi.
At the top, code that works using tmp.file, at the bottom a failing try with simple string variable.
I would like to know if there is a way to do it without writing a temp.file each time and maybe if commands could be done
without establishing and quitting ftp connection each time
Regards
Tinnitus
11-23-2011 11:51 AM
I had found at FTB library (not mine ) sometime ago that may work for you. It uses TCP interface.
See http://forums.ni.com/t5/LabVIEW/send-picture-on-a-server/td-p/380957/highlight/true/page/2
Hope this helps
David
11-24-2011 10:30 AM
Hello,
thanks for reply
yes it works but looks like openg llb, and take took much time , more than 3s to upload a 1k file
while dos command line take 250ms open and quit included
reagards
Tinnitus
11-28-2011 07:06 AM
hello,
no other way ?
Regards
Tinnitus
11-28-2011 09:13 AM
I'm using the NI internet toolkit to send files using FTP protocol. Maybe you should have a look at it.