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

ashokmu

Reg : Winscp error

hi,
can u please check the log file attached here...


recorded by system personnel.---WARNINGFurther authentication required
. 2010-08-16 01:15:21.399 Further authentication required
. 2010-08-16 01:15:21.399 Session password prompt (combined@sftp.divintech.com's password: )
. 2010-08-16 01:15:21.399 Using stored password.
. 2010-08-16 01:15:21.399 Sent password
. 2010-08-16 01:15:21.431 Access granted
. 2010-08-16 01:15:21.478 Opened channel for session
. 2010-08-16 01:15:21.509 Started a shell/command
. 2010-08-16 01:15:21.509 --------------------------------------------------------------------------
. 2010-08-16 01:15:21.509 Using SFTP protocol.
. 2010-08-16 01:15:21.524 Doing startup conversation with host.
> 2010-08-16 01:15:21.524 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2010-08-16 01:15:21.556 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2010-08-16 01:15:21.556 SFTP version 3 negotiated.
. 2010-08-16 01:15:21.556 We believe the server has signed timestamps bug
. 2010-08-16 01:15:21.556 We will use UTF-8 strings for status messages only
. 2010-08-16 01:15:21.556 Getting current directory name.
. 2010-08-16 01:15:21.556 Getting real path for '.'
> 2010-08-16 01:15:21.556 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2010-08-16 01:15:21.603 Type: SSH_FXP_NAME, Size: 23, Number: 16
. 2010-08-16 01:15:21.603 Real path is '/'
. 2010-08-16 01:15:21.603 Startup conversation with host finished.
. 2010-08-16 01:15:21.634 Copying 0 files/directories to remote directory "/Incoming/Recon/"
. 2010-08-16 01:15:21.634 PrTime: Yes; PrRO: Yes; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: No; Mask:
. 2010-08-16 01:15:21.634 TM: B; ClAr: No; ExclM(No):
. 2010-08-16 01:15:21.634 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2010-08-16 01:15:21.634 Closing connection.



Actually the Erro occurs in the line "put "D:\apps\incoming\FTP\ACK\WORK\*.*" /Incoming/Recon/"..
please help using these details
martin

Re: WINSCP Error

I'm sorry, I do not know how to help you.
ashokmu

Re: WINSCP Error

Yes..
I am using same machine to run both the script and same account as well.
As i created two seperate "BAT" file and executed through two seperate scheduled task in "Control panel".

And the log file details contains ,

recorded by system personnel.---WARNINGFurther authentication required
. 2010-08-16 01:15:21.399 Further authentication required
. 2010-08-16 01:15:21.399 Session password prompt (combined@sftp.divintech.com's password: )
. 2010-08-16 01:15:21.399 Using stored password.
. 2010-08-16 01:15:21.399 Sent password
. 2010-08-16 01:15:21.431 Access granted
. 2010-08-16 01:15:21.478 Opened channel for session
. 2010-08-16 01:15:21.509 Started a shell/command
. 2010-08-16 01:15:21.509 --------------------------------------------------------------------------
. 2010-08-16 01:15:21.509 Using SFTP protocol.
. 2010-08-16 01:15:21.524 Doing startup conversation with host.
> 2010-08-16 01:15:21.524 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2010-08-16 01:15:21.556 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2010-08-16 01:15:21.556 SFTP version 3 negotiated.
. 2010-08-16 01:15:21.556 We believe the server has signed timestamps bug
. 2010-08-16 01:15:21.556 We will use UTF-8 strings for status messages only
. 2010-08-16 01:15:21.556 Getting current directory name.
. 2010-08-16 01:15:21.556 Getting real path for '.'
> 2010-08-16 01:15:21.556 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2010-08-16 01:15:21.603 Type: SSH_FXP_NAME, Size: 23, Number: 16
. 2010-08-16 01:15:21.603 Real path is '/'
. 2010-08-16 01:15:21.603 Startup conversation with host finished.
. 2010-08-16 01:15:21.634 Copying 0 files/directories to remote directory "/Incoming/Recon/"
. 2010-08-16 01:15:21.634 PrTime: Yes; PrRO: Yes; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: No; Mask:
. 2010-08-16 01:15:21.634 TM: B; ClAr: No; ExclM(No):
. 2010-08-16 01:15:21.634 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2010-08-16 01:15:21.634 Closing connection.
martin

Re: WIN SCP Error for ini files

Are you running both winscp.exe and winscp.com on the same machine and under the same account?
ashokmu

WIN SCP Error for ini files

I ran the script through WINSCP.exe and the error "cannot create file C:\program files\winscp\winscp.ini" is displayed, then i given the permission to the directory. but Now the same error occuring in "Winscp.com" while executing the script, below mentioned the two scripts running in different winscp

Script executing in winscp.exe:
-------------------------------
open test
option transfer binary
mv /outgoing/BDF/*.zip /outgoing/BDF/TEMP/
get /Outgoing/BDF/TEMP/*.ZIP D:\apps\Incoming\FTP\
rm /Outgoing/BDF/TEMP/*.*
close
exit
--------------------------------


Script executing in winscp.com:
------------------------------
option batch abort
option confirm off
open test
option transfer bin
option batch on
put "D:\apps\incoming\FTP\ACK\WORK\*.*" /Incoming/Recon/
# Disconnect
close
exit
----------------------------
now the error occuring in winscp.com.
"cannot create file C:\program files\winscp\winscp.ini" error

can u please provide the solution for the above mentioned error.
martin

Re: WIN SCP Error for ini files

Are you sure you have write permissions to the directory?
ashokmu

WIN SCP Error for ini files

Same erro occuring for me too...

"cannot create file C:\program files\winscp\winscp.ini"

this error , occuring for me too..
martin

Re: Cannot create ini file

Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
TelltoK

Cannot create ini file

When I execute winscp script, I am getting "Cannot create ini file - C:\program files\winscp\winscp.ini"

Please help me to resolve the problem.

Thanks