Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

PaulDD

Script with ls followed by an individual file name gives an error

Using 5.7.7 on Windows 7 in a script. I put a file to the site and have an ls command, followed by the file name, which gives this error from the log:

> 2016-07-02 10:28:31.673 Script: ls uszc-basic-full.csv
. 2016-07-02 10:28:31.674 Retrieving directory listing...
> 2016-07-02 10:28:31.674 CWD /site/data/uszc-basic-full.csv/
< 2016-07-02 10:28:31.769 550 The system cannot find the path specified.
. 2016-07-02 10:28:31.779 Could not retrieve directory listing
. 2016-07-02 10:28:31.779 Asking user:
. 2016-07-02 10:28:31.779 Error listing directory 'uszc-basic-full.csv'. ("Could not retrieve directory listing","The system cannot find the path specified. ")
< 2016-07-02 10:28:31.779 Script: Error listing directory 'uszc-basic-full.csv'.
< 2016-07-02 10:28:31.780 Script: Could not retrieve directory listing

< 2016-07-02 10:28:31.780 The system cannot find the path specified.
. 2016-07-02 10:28:31.783 Script: Failed
. 2016-07-02 10:28:31.783 Script: Exit code: 1
. 2016-07-02 10:28:31.788 Disconnected from server

It seems to think that the file name is part of the path. If I put an asterisk after the file name, it works fine, so that will be my workaround for now.