Topic "Directory listing missing in log-File"

Author Message
RZysset
[View user's profile]

Joined: 2010-01-26
Posts: 2
Location: Listing directory content
Hi,

Im working with WINSCP 4.2.5. with Command Lines:

call winscp.exe %session% /log=%log% /command "option batch abort" "option confirm off" "ls %file%" "exit"

%file% is a directory on a ftp-server.

in the logfile, there's just written:
ful
> 2010-01-26 16:31:48.740 LIST -a
< 2010-01-26 16:31:48.755 150 Connecting to port 28529
< 2010-01-26 16:31:48.880 226-Options: -a -l
< 2010-01-26 16:31:48.880 226 10 matches total
. 2010-01-26 16:31:48.880 Verzeichnisinhalt erfolgreich abgerufen
. 2010-01-26 16:31:48.896 Verbindung zum entferneten Rechner abgebrochen

BUT NO LISTING OF THE DIRECTORY !!! Why this ?
Regards
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Do you see any files in the GUI?
_________________
Martin Prikryl
RZysset
[View user's profile]

Joined: 2010-01-26
Posts: 2
Location: Listing directory content
prikryl wrote:
Do you see any files in the GUI?


Hi,

Yes I see 8 Files in the directory.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
OK, now I'm not sure that is the actual problem. Do you miss the listing on log file or do you miss it also in the output of the ls command on the console?
_________________
Martin Prikryl
Guest




prikryl wrote:
OK, now I'm not sure that is the actual problem. Do you miss the listing on log file or do you miss it also in the output of the ls command on the console?


I just miss it in the logfile. BUT: I could resolve the problem myself. I just have to call the winSCP.com instead of winSCP.exe !
then it works an the contents of ls is in the log-file.

regards
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License