Topic "TransferEventArgs should have an equivalent to the Side property of FileTransferProgressEventA..."

Author Message
Chris David
[View user's profile]

Joined: 2016-08-23
Posts: 14
Hi,

Unless there is an easy way to accomplish this that I haven't seen, it would be nice to know once a file is transferred if it was an upload or download. During a file transfer progress event, I can use the Side property to know, but I don't have an equivalent property for the file transferred event. I suppose I could start examining directory names, but that is sort of "clumsy" so to speak.

Edit: I suppose I could just set it to the appropriate handler when I am doing an upload or download, but I would have preferred one handler that handles both.

Thank you.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Thanks for your suggestion.

This request has been added to the tracker:
https://winscp.net/tracker/show_bug.cgi?id=1470
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.
Chris David
[View user's profile]

Joined: 2016-08-23
Posts: 14
martin wrote:
I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.


Hi Martin,

I'm using the NET assembly version of WinSCP.

If you wanted me to take a look I would need that version to do so.

Is that what you sent me?
Chris David
[View user's profile]

Joined: 2016-08-23
Posts: 14
Chris David wrote:
martin wrote:
I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.


Hi Martin,

I'm using the NET assembly version of WinSCP.

If you wanted me to take a look I would need that version to do so.

Is that what you sent me?


It is working as expected for both uploads and downloads.
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