Topic "Using WinSCP to transfer files by SFTP, errors"

Author Message
Brent_badger
[View user's profile]

Joined: 06 Nov 2009
Posts: 3
Location: NC
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.
 
prikryl
[View user's profile]
Site Admin
Joined: 10 Dec 2002
Posts: 10389
Location: Prague, Czech republic
There's no such error message in WinSCP. Where do you execute the command from actually?
_________________
Martin Prikryl
Brent_badger
[View user's profile]

Joined: 06 Nov 2009
Posts: 3
Location: NC
prikryl 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]
prikryl
[View user's profile]
Site Admin
Joined: 10 Dec 2002
Posts: 10389
Location: Prague, Czech republic
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?
_________________
Martin Prikryl
Brent_badger
[View user's profile]

Joined: 06 Nov 2009
Posts: 3
Location: NC
prikryl 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
prikryl
[View user's profile]
Site Admin
Joined: 10 Dec 2002
Posts: 10389
Location: Prague, Czech republic
So can you post a screenshot?
_________________
Martin Prikryl
 

You can post new topics in this forum




Search

What is WinSCP?

WinSCP is an open source SFTP client and FTP client for Windows. Its main function is the secure file transfer between a local and a remote computer. Beyond this, WinSCP offers basic file manager functionality. It uses Secure Shell (SSH) and supports, in addition to Secure FTP, also legacy SCP protocol. [More]

WinSCP is also available as a plugin to two file managers, FAR and Altap Salamander.

Donate

Donate via PayPal

License

WinSCP is free, open-source software, and is distributed under the GNU General Public License (GPL). [More]

Associations

Site design by Black Gate