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: User Name prompt

chessys wrote:

I am also being asked for a "user name" when using the /command line. Here is my batch file...

option batch on
option confirm off
open name@host.com
cd /home/exportfiles/
option transfer binary
put D:\*
exit

Here is my command line...

"C:\Program Files\WinSCP3\WinSCP3.com" /console /script= D:\Exportfiles.txt

The open command is set for a stored session however I tried to use the name:password@host option with the same results. I'm successfully using a similiar batch file but using the "get" command instead of "put" and with the same saved session.

Thanks in advance for assistance.

So with "get" you are not prompted for password?
chessys

User Name prompt

I am also being asked for a "user name" when using the /command line. Here is my batch file...

option batch on
option confirm off
open name@host.com
cd /home/exportfiles/
option transfer binary
put D:\*
exit

Here is my command line...

"C:\Program Files\WinSCP3\WinSCP3.com" /console /script= D:\Exportfiles.txt

The open command is set for a stored session however I tried to use the name:password@host option with the same results. I'm successfully using a similiar batch file but using the "get" command instead of "put" and with the same saved session.

Thanks in advance for assistance.
martin

Re: Problem with connection

clientvoip wrote:

winscp3.com /console /C:\Document and Setting\user\Desktop\script=scriptSCP3.scp

This looks strange. Should it be:
winscp3.com /console /script=C:\Document and Setting\user\Desktop\scriptSCP3.scp
clientvoip

Problem with connection

Hi,

I have written my first script, but he doesn't work correctly.
The script run on Windows XP PC, I want connect to remote machine (with Fedora 5.0)

The script is:
option batch on
option confirm off
open root@IP_addr_Fedora_machine
pwd
ls
close
exit

From an open console windows, I write
winscp3.com /console /C:\Document and Setting\user\Desktop\script=scriptSCP3.scp

The script ask me user name, I specified it and the output is

HOST DOESN NOT EXIST

Could someone help me?

Thanks in advance