NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

FTP Problems with linux ftp server

Solved!
Go to solution

Hello,

 

I have a problem trying to get a file via FTP. The FTP server is in an embedded linux system, getting the file manually via FTP is no problem, but from TestStand I get the following error:

 

Failed to upload file '/opt/log/sislog.log'.
Check if remote and local path exist and have read and write permissions respectively.

The system cannot find the path specified.

 

error. I know the file is there, permissions are given. So I tried the other way around, and tried to download a file called "mysislog.log" to that directory and upload it again. I get the same error, but when I telnet to the LUX machine, I see that he has a file in that directory, but the file is called "\mysislog.log" - So I think TestStand put the last backslash into the file name and therefore the file cannot be loaded.

 

Here the directory listing of the LUX machine:

 

root@FCM2001-A2-03-37-4A:/mnt/exp0/opt/log > ll
-rw-r-----    1 root     root            0 Apr 16 08:51 \mysislog.log
-rw-r--r--    1 root     root       111219 Apr 16 08:41 syslog_0.log
-rw-r--r--    1 root     root       262096 Apr 13 11:52 syslog_1.log
-rw-r--r--    1 root     root        35503 Apr 13 11:53 syslog_error_0.log

 

 

Any ideas?

 

0 Kudos
Message 1 of 4
(4,227 Views)
Solution
Accepted by topic author paicolman

Hi,

 

Unfortunately, this is a known issue that will be fixed in a future version of TestStand (though I don't know which future version). The FTP step was designed for LabVIEW RT.

The workaround is to call a code module that performs this ftp upload, perhaps using an ftp program.

Cheers,

Cheggers

 

Sascha
0 Kudos
Message 2 of 4
(4,196 Views)
...thought so, thanks for the feedback!
0 Kudos
Message 3 of 4
(4,189 Views)

the problem is:  teststand ftp can't be set as passivemode

弟兄们:ts的ftp不能设置为passive模式。

0 Kudos
Message 4 of 4
(2,867 Views)