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: Windows .com Scripted Transfer with Snagit

craig.b wrote:

I would prefer NOT to use the scripting and the .com file since its behavior when run in a spawned dos window is less than appealing.

But that's the only way. Parameter /upload is not intended for automation.
craig.b

Windows .com Scripted Transfer with Snagit

I am using Snagit to capture the contents of a portion of a screen and then want to invoke WINSCP to transfer the file that was captured. Snagit supports the insertion of a generated file into a command line param passed to another windows exe.

The command line params I am passing to winscp3.exe is as follows:

sftp://uid:pw@server:22 /upload "<CaptureFilename>"

This seems to properly invoke winscp3, and leaves me with a window properly formated and populated for me to confirm a "COPY".

After one click the copy completes, everything closes, and I am happy.

I dont seem to be able to find a way to PREVENT this pop-up and just have the copy happen.

I would prefer NOT to use the scripting and the .com file since its behavior when run in a spawned dos window is less than appealing.

Any suggestions would be greatly appreciated.

Craig