Cannot see files uploaded to SFTP site

Advertisement

rbandur
Joined:
Posts:
5

Cannot see files uploaded to SFTP site

I use C# code to upload files to SFTP.
Program says the files uploaded successfully, but I cannot see them in WinSCP UI.
I use WinSCP version 5.19
Any help would be really appreciated

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,442
Location:
Prague, Czechia

Re: Cannot see files updated to SFTP

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, set Session.SessionLogPath. 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.

Can you add Session.ListDirectory code after the upload to check/log the remote directory contents after the upload?

Also post GUI log showing the listing with absent uploaded files.

Also, if you upload the file in GUI, can you see it in the remote panel afterwards? Post GUI log file for that too.

Reply with quote

rbandur
Joined:
Posts:
5

Cannot see files updated to SFTP

Hello,
Thanks for your reply.
My code is trying to upload test1.xml to SFTP, right after that it lists directory in the same session. Listing shows the file test1.xml on SFTP. However I cannot download the file. Also it doesnt shows on UI, also in new session listing also doesn't show the file.
Attaching session log file.
If we copy that file over WinSCP GUI it is showing successfully on UI.

One more issue is with downloading files, none of them are visible for C# code even these which were added to SFTP manually and are displayed on GUI.
Thanks in advance.
Description: WinSCP GUI log when we try to copy test1.xml to sftp via GUI
Description: Session log file

Reply with quote

rbandur

Cannot see files updated to SFTP

Looks we found why we can't see the files upoaded to SFTP
SFTP server is on customer side and if has a service which picks the files and delete them
Thanks

Reply with quote

Advertisement

You can post new topics in this forum