LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Moving files from a target to a host

Hi

I need to move some files from a RT target to my host.

So, I need to open the content of a directory on my RT target, to select some files and to move these files in a directory on my host.


As anybody, an example to recommand to me?


Thanks a lot
0 Kudos
Message 1 of 6
(4,427 Views)
I haven't tried this but I read that you use an FTP client. Check that you
can view the files using Firefox with an URL of the form
ftp://xxx.xxx.xxx.xxx, where the x's are the target's IP address. You can
build a custom file extraction program with the Internet Toolkit.

> Hi I need to move some files from a RT target to my host. So, I need to
> open the content of a directory on my RT target, to select some files and
> to move these files in a directory on my host.


Message 2 of 6
(4,419 Views)

An FTP client will work just fine. I use WS-FTP to access my 2 RTOS systems. I am able to poke around their local drives while there are vi's running, and passing data back and forth, on all 3 of my machines. All I had to do was configure WS-FTP with the IP addresses of my two RTOS systems and I was in.

Good Luck

0 Kudos
Message 3 of 6
(4,413 Views)
If you don't want to get another FTP client, you can simply use the NI-MAX FTP utility. Open up MAX, find your RT system, right-click and go to File Transfer.

It's not as fancy as other FTP utilities, but if you're not looking for all those other options, this'll work just fine.

If you're on Windows, you can also access the RT system from any window. Type in ftp://ip.address.here/, but I've noticed that Windows will sometimes cache things, and even a Refresh won't help, so I use the MAX FTP utility.

Message Edited by Sima on 04-13-2006 02:13 PM

Message 4 of 6
(4,409 Views)

I used the windows build in ftp client that I call with systemexe.vi

one cmd file: BDSdownload.cmd  with the line

----------

ftp -s:C:\<YOURPATH>\dl.asc

------------

and the dl.asc:

---------

open <your_IP_adress>

 

 

ls

cd NI-RT

cd STARTUP

get bdsstat.ini

prompt

mget *.txt

bye

-------- 

The two CR/LF after open are for user and pwd . (I had a direct connection, so no pwd was set)

It worked fine for me, I had no problems with caching...

if you add a mdelete *.TXT after mget you can also clean up your data ( but a mdelete *.* in the startup dir is not recommended Smiley Tongue)

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


Message 5 of 6
(4,367 Views)

that's exactlyy what I have finally done!!!!

 

But thanks a lot for your Help!

Message 6 of 6
(4,363 Views)