Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: .processed appended to file and automated upload

WinSCP does not do that. It must be the server.
Guest

.processed appended to file and automated upload

Winscp version 5.7.6 (build 5874)

Windows Server 2008r2

When using automation through scripting to upload a file, I get .processed appended to the end of the file name after upload. Is there a way to stop this from happening as it is interfering with the automated processing of the file by the other party. Is this something that can be turned off or is this something that is not coming from WinSCP? When I manually drag and drop, I do not get the .processed appended.

Script:
#connect to sftp site using a password
open sftp://User:password@65.99.xxx.xxx/ -hostkey="ssh-rsa 3072 bc:17:08:be:81:ba:7a:f7:c8:cb:d9:74:cf:84:30:32"
#upload file
put -delete D:\PatientTrak\*.* /
#exit
close

Batch file command: C:\Program Files (x86)\WinSCP>winscp.com /script=patienttrak.txt

Command Prompt Output:

C:\Program Files (x86)\WinSCP>winscp.com /script=patienttrak.txt
Searching for host...
Connecting to host...
Authenticating...
Using username "BCH".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Session started.
Active session: [1] BCH@65.99.200.190
Using configured transfer settings different from factory defaults.
ADTA0420160826122541457.t | 4 KB | 11.0 KB/s | binary | 100%
Session 'BCH@65.99.200.190' closed.
No session.

Thanks