Topic "How is the renaming of .filepart files performed"

Author Message
ClientSideIssue

Guest


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.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
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
ClientSideIssue

Guest


I believe the SFTP is a Tectia type - why would the installation determine how it is done?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
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
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