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: I Also Can't Find Generate Code in Transfer Settings Dialogue

@ourbob1: As mentioned above, you need at least WinSCP 5.8. Well, you need the latest version. Definitely not 5.1, which is 9 years old!
ourbob1

I Also Can't Find Generate Code in Transfer Settings Dialogue

I am having the same issue
Version 5.1.7 (build 3446)

How do you get that entry in the dialogue box to appear?
martin

Re: No transfer code generation?

@BossMan12: Did you open the Generate transfer code dialog from the Transfer options dialog? I believe this all is discussed above already. Please, either read the documentation or the discussion above. Or tell us what exactly did you do.
BossMan12

No transfer code generation?

I can generate the .NET assembly however there is not a code generation for to transfer the files.. this is insanely annoying.
martin

Re: Can't see a tab to generate script

I believe there are very detailed instructions at the post. Would you tell us, at what point do you get lost?
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: 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

No, Transfer Options dialog is the one linked in my post.
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: Click Transfer Settings button drop down.
dave@...

Re: Can't see a tab to generate script

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

@mdb770: 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 Session URL/Code dialog but it doesn't appear to be the same place as the Generate Transfer Code dialog?