LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ftp file transfer help needed...

Trying to xfer files (obviously) and I opened up one of the example programs to poke around in it.  I set it up so that I point to the server I need the files off of and it hangs up in the FTP Open Session.vi.  I have a port enabled on the server, specified the port on the example VI & also spec'ed the correct address.  I get the 66 error meaning there is no data transferriing IIRC.  I created a dummy user login & password as well on the server.  I can telnet into it w/o any problems (...now... was not working until I added the user info to it).  I tried accessing a mapped drive thru the telnet session and could not get to the mapped drive.
 
any help would be greatly appreciated...
 
-steve
 
 
         \||/
          OO
|----o00-(..)-00o----|
|                    |
|                    |
0 Kudos
Message 1 of 14
(4,144 Views)
Steve,
 
Are you trying to connect to an FTP server or a Telnet Server?  The server you're trying to connect to must have an FTP Daemon (server) running on it to support FTP transactions.  Excatly what are you trying to connect to?  If you're confident you have an FTP server running, try using an FTP client program to connect and verify that way first.
 
Also, make sure any firewall you may have between you and the server (this included Windows Firewall) is open for FTP.
 
Matthew
0 Kudos
Message 2 of 14
(4,141 Views)

yup, well there you go... not doing it right.  (1st time doing it).

 

what I'm after is... I need to connect to a Sage 960 and execute TCL scripts with data being logged to a file, then I need to transfer that file to my controller (client I think) pc.  This testing will be on going for several weeks and the objective is to run a script, collect the data then start a new script provided there were no errors.  the controller pc will be connected to another remote pc & a thermal chamber...

How do I setup the FTP server?  I was able to get the telnet services started but have not found anything relating to an FTP server...

0 Kudos
Message 3 of 14
(4,138 Views)
When you say "Sage 960" are you referring to this? I don't see any mention of ftp capabilities with this instrument. It does have a web browser, though.
0 Kudos
Message 4 of 14
(4,134 Views)
Are the files being stored on the Sage or the PC connected to the Sage?  It does not appear from the user manual the Sage supports FTP.
0 Kudos
Message 5 of 14
(4,131 Views)
yup, that is the one... might be an option for it, not sure but I've been able to execute the scripts thru a cmd shell telnet session w/o any problems.  I am a new user to this instrument as well so lots of learning curves here  Smiley Mad
0 Kudos
Message 6 of 14
(4,130 Views)
Matthew... It does not show it in the manual I have either... I was pointed to a Sage 966 manual that has all of the commands in it.
0 Kudos
Message 7 of 14
(4,129 Views)
It looks like there is an FTP interface for updating firmware, but that may be the only use for it.
 
I do see a telnet command "report" which may display the report.  If you use the telnet VIs, you can issue this command and capture the report with a Telnet Read and save it to disk.
0 Kudos
Message 8 of 14
(4,126 Views)

that is how it's done in production here... however there will not be anyone here monitoring the test 24/7 so it needs to be done programmatically. 

 

How do I setup the FTP server?

0 Kudos
Message 9 of 14
(4,122 Views)
And, as I said, you use the TCP/IP VIs to telnet into the device and issue the commands.  You can capture in LabVIEW the output of the reports command and save it to a file on the local PC.
0 Kudos
Message 10 of 14
(4,108 Views)