Topic "Cannot list files transfered by SFTP"

Author Message
Shrek

Guest


Hello there!

I hope you can help me with my issue
I'm running WinSCP 5.7.7 in commande line. I run a script with the /script command, that gets files on a server via SFTP. Once the files are on my computer WinSCP is not able to see them anmore. When I launch the lls command it only lists the ".." <DIR>
Is there a trick to see my files?

I can see the files with the Windows Explorer and CMD/Powershell
I tried to change the rights on the files but with no result.
I tried to create a New File.txt and this file is correctly listed by the lls command.
Other files and folders from the computer are correctly listed.
The only files not listed seem to be the one I got from the SFTP transfert.

Thanks in advance.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Please attach a full session log file showing the problem (using the latest version of WinSCP). The log should show both the download and the lls command.

To generate the session log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
Shrek

Guest


Please find attached the logfile. I've added at the end the CMD Output I get.
You can clearly see that in the logfile the lls command lists the files correctly but in the CMD output I get a incomplete list of files[/code]
getdata.log (19.6 KB) Private file

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
You probably forgot to add the "CMD Output you get".
Shrek

Guest


You don't have the CMD output in the logfile? line 252 to 270.
Please find attached again the logfile (I doubled checked before uploading)
getdata.log (20.73 KB) Private file

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
How do you capture the output?

The log lines with Script: prefix should be what WinSCP prints on the console.

Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
timk519
[View user's profile]

Joined: 2016-07-31
Posts: 3
I have a similar problem where I upload a .zip file using the .NET to an OpenSSH SFTP site on the same windows machine.

Its presence isn't recognized by winscp - as either part of a directory listing or a FileExists() call.

The WINSCP shell doesn't recognize it either.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
timk519 wrote:
I have a similar problem where I upload a .zip file using the .NET to an OpenSSH SFTP site on the same windows machine.

Its presence isn't recognized by winscp - as either part of a directory listing or a FileExists() call.

The WINSCP shell doesn't recognize it either.

Do not crosspost:
https://winscp.net/forum/viewtopic.php?p=71636#71636
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
This bug has been added to the tracker:
https://winscp.net/tracker/show_bug.cgi?id=1439
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