04-16-2010 03:05 AM
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?
Solved! Go to Solution.
04-19-2010 03:42 AM
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
04-19-2010 04:47 AM
06-21-2017 02:09 AM
the problem is: teststand ftp can't be set as passivemode
弟兄们:ts的ftp不能设置为passive模式。