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

The dialog linked in your post also doesn't have a Generate Code option. It does have a button to open the Transfer Settings dialog, which is the one I noted that also doesn't have such an option.

See attached screenshot below.

In the Commander view, go to "Session" > "Generate Session URL code" > "Script" tab , then select the type of template you're after (script, batch, command line). You will just need to edit in the specific commands you wish to execute (as illustrated in the template by "Your command 1" and "Your command 2") which are well documented to be able to create by hand without the convenience of recording them from an actual UI action.

That path is clearly documented as well:
To open the dialog to generate the session URL or code, use:

  • Session > Generate Session URL/Code command on the main window to generate session URL or code template for the current session. (preferred)

At the very beginning of the article:
https://winscp.net/eng/docs/ui_generateurl
Guest

martin wrote:

No, Transfer Options dialog is the one linked in my post.


The dialog linked in your post also doesn't have a Generate Code option. It does have a button to open the Transfer Settings dialog, which is the one I noted that also doesn't have such an option.

For the others also struggling to locate this feature, I was able to figure out how to at least get a template to work from. Not quite as easy as the implied feature that a specific action can be generated to code, but pretty dang easy and more than enough to work with to avoid this unproductive documentation loop.

In the Commander view, go to "Session" > "Generate Session URL code" > "Script" tab , then select the type of template you're after (script, batch, command line). You will just need to edit in the specific commands you wish to execute (as illustrated in the template by "Your command 1" and "Your command 2") which are well documented to be able to create by hand without the convenience of recording them from an actual UI action.
martin

Anonymous wrote:

To open the dialog to generate a file transfer code:


Is this the Transfer Options dialog? I can't find Generate Code anywhere. (5.13.8 9278)

No, Transfer Options dialog is the one linked in my post.
Guest

To open the dialog to generate a file transfer code:


Is this the Transfer Options dialog? I can't find Generate Code anywhere. (5.13.8 9278)
martin

WMF wrote:

I have the same issue with generating code using the Transfer Settings menu, I am unable to find the Generate Code option. I am using version 5.13.4.


See https://winscp.net/eng/docs/ui_generateurl:

To open the dialog to generate a file transfer code:
WMF

I have the same issue with generating code using the Transfer Settings menu, I am unable to find the Generate Code option. I am using version 5.13.4.
martin

Re: Transfer Settings and code generations

Please post a screenshot of what you are doing.
putnamdg

Transfer Settings and code generations

Hi Martin:
Thanks for your response. Your tool has some wonderful capabilities.

I actually clicked the Transfer Settings button. I am still not able to find the option to generate code based on the actions I am taken.

I am definitely missing something. Let me know if there is some setting I am not seeing.

Thanks!
Dave
martin

Re: Can't see a tab to generate script

dave@... wrote:

I see the same screen on version 5.13.3 and cannot locate the option to Generate Code in the Transfer Options screen. Is there something that I am doing wrong?

Click Transfer Settings button.
dave@...

Re: Can't see a tab to generate script

martin wrote:

The "Generate code" function is available in the 5.8.x only.


I see the same screen on version 5.13.3 and cannot locate the option to Generate Code in the Transfer Options screen. Is there something that I am doing wrong?
martin

Re: Can't see a tab to generate script

The "Generate code" function is available in the 5.8.x only.
mdb770

Can't see a tab to generate script

Please need help:
I can't find "Script" tab (or any tab) in the dialog I have:



I have version 5.7.7 build 6257.
What gives?
Thanks!
ltgrady

Found it. I was drag and dropping files nad the transfer settings box does not pop up.

When I clicked Upload off the toolbar I got the transfer dialog box where I was able to find the script generator.
ltgrady

Can't find the Generate Transfer Code dialog box to generate File Transfer script template?

Winscp Portable v5.8.2 beta

I am trying to generate a script for a file transfer using the new beta version according to these instructions:
https://winscp.net/eng/docs/ui_generateurl

I know where the Generate Session/URL Code dialog is, under Session menu. I can't seem to find the Generate Transfer Code dialog? It doesn't specifically say where it is in the documentation, it just says "Use the Script tab to generate a WinSCP script template...". There is a script tab on the Generations Sessoin URL/Code dialog but it doesnt appear to be the same place as the Generate Transfer Code dialog?