How is the renaming of .filepart files performed

Advertisement

ClientSideIssue
Guest

How is the renaming of .filepart files performed

We have been having issues from one of our customers who are delivering files to our SFTP server (Windows 2003) via winscp and command line.

We have code on our side polling for these files and as part of the verfication stage attempts to get the filesize on the SFTP and match that against a reconciliation file.

However, we are encountering instances that when we attempt to obtain this filesize we are returning a filesize of 0 yet are able to retrieve this (there is no file lock/access denied).

Could you please detail how this rename occurs so we can advise accordingly.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,542
Location:
Prague, Czechia

Re: How is the renaming of .filepart files performed

I'm not sure if I understand what you are after. WinSCP uploads the file to temporary remote file with .filepart extension. After transfer finishes the remote file is renamed to target name. How the actual rename is performed depends on implementation of the SFTP server.
_________________
Martin Prikryl

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,542
Location:
Prague, Czechia

Re: Renaming

ClientSideIssue wrote:

I believe the SFTP is a Tectia type - why would the installation determine how it is done?
WinSCP just request renaming file over SFTP protocol. How it is actually implemented depends on the server.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum