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

@Nypheena: Thanks for your feedback.
Nypheena

I received the build and worked to fix my issue thank you :)
martin

@Nypheena: I have added this issue to the tracker:
Issue 2352 – Remember empty session password

I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.
Nypheena

Made account to watch the thread :)
martin

Thanks. I'll look into it.
Nypheena

Had some issues putting it in the same first post my bad but here is the recording as well

to note the read only ftps server very specifically states "The password must be left empty" so can't use dummy password and winscp thinks that when no password is written that I intend for it to be manually input at each connection.
Nypheena

I made a log but it didn't seem to me when I read through it that it was really showcasing the problem so I made a recording as well
martin

@Nypheena: Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
Nypheena

I am trying this for a server that requires empty password and WinSCP will just constantly prompt and dummy as password doesn't help.

Specifically for the GUI on Windows.
martin

Re:Any Progress

@mmartin82: Thanks for your feedback.

Anyway, can you test the fix for me? Can you send me an email, so I can send you back a development version of WinSCP for testing? Please include a 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.
mmartin82

Re:Any Progress

Hi Martin,

Adding dummy into the password filed worked.

Thanks for your help resolving this.
Much appreciated!
Guest

Re:Any Progress

Hi Martin,

Thanks for the quick reply!
Is it possible this feature could have been broken in a subsequent update?

I'm using the following code:
echo Copying files
 
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^
  /command ^
    "open ftp://zp300:@172.29.252.16" ^
    "cd ""/ """ ^
    "lcd ""D:\Data\Wake Steering Pilot - (External) - Measurement Data [EXTERNAL]\Nacelle LiDAR T3 [ZDM #368]\test""" ^
    "synchronize local" ^
    "exit"
 
set WINSCP_RESULT=%ERRORLEVEL%
if %WINSCP_RESULT% equ 0 (
  echo Success
) else (
  echo Error
)
 
exit /b %WINSCP_RESULT%

And am presented with the attached screenshot where I then need to hit space and then enter before it will proceed to successfully synch.

Any support would be greatly appreciated!
Thanks again!
martin

Re: Any progress

Just follow the tracker link above.
It shows that this was resolved and shows the syntax needed.
mmartin82

Any progress

Hi,

I was wondering if any progress was made on allowing a batch file to run where no password is required?

I have tried putting in test and a space but as per your suggestion of putting anything in but this hasn't worked.

Cheers!
goompa

A site that requires a user name but no password..

Thanks, I'll try that. Yes I am using FTP.
martin

Re: A site that requires a user name but no password..

From you other post I suppose you are using FTP, are you?
There's no correct way to do this in WinSCP yet actually, thanks for bringing this. This issue has been added to the tracker:
Issue 428 – Allow password-less authentication with FTP

I believe that you can workaround this by putting anything in the password box.
goompa

A site that requires a user name but no password..

How do I use scripting to attach to a site that requires a user name but no password..

Currently I'm just trying to work around the credentials prompt seeming all I have to do is press enter.

This means I can't automatically log on to this site.

Here is my current batch file...
"C:\Program Files\WinSCP\winscp" /console /command "option batch on" "open twft" "synchronize local"  "V:\localpath /remotepath" "exit"

Is there any way of saving the password as the ascii character for CR or anything or is there a setting I can change so I don't have to be in front of my computer when this runs please?

Thanks