Post a reply

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

OK, now I understand. You cannot use scripting commands from the command line in the GUI. See documentation for more details about using scripting commands.
Brent_badger

<invalid hyperlink removed by admin>
[/img]
martin

Re: Using WinSCP to transfer files by SFTP, errors

So can you post a screenshot?
Brent_badger

Re: Using WinSCP to transfer files by SFTP, errors

martin wrote:

Sorry, there's no 'command>' prompt in WinSCP. I really have no idea what you mean. Can you post a screenshot?

Any chance you mean the console window?


No, the Command Line
martin

Re: Using WinSCP to transfer files by SFTP, errors

Sorry, there's no 'command>' prompt in WinSCP. I really have no idea what you mean. Can you post a screenshot?

Any chance you mean the console window?
Brent_badger

Re: Using WinSCP to transfer files by SFTP, errors

martin wrote:

There's no such error message in WinSCP. Where do you execute the command from actually?


YES THERE IS!!!

I go to the WinSCP window, logged into the FTP site.

Where it says "Command>" I type in:

put C:\edi810\810_091109* /tovan/edi/*.edi

I hit Enter.

A message box comes up and says "ERROR: CAN NOT EXECUTE PUT"

[/b]
martin

Re: Using WinSCP to transfer files by SFTP, errors

There's no such error message in WinSCP. Where do you execute the command from actually?
Brent_badger

Using WinSCP to transfer files by SFTP, errors

If I transfer files manually from my local directory to the FTP remote site, there are no errors. However, if I execute this command from the command line:

put C:\edi810\810_091105.* /tovan/edi

I get an error that says "Can not execute put command."

I am using WinSCP 4.2.1 and am using TLS Explicit Encryption.

What am I missing? I would very much like to automate this transfer, but I can't even get the basic commands right.