login faild

Advertisement

alvabress
Guest

login faild

Hi all,
I use the connection string
winscp.exe ftp://user:passw@host/
to open a connection on an ftp server because i need to download all the file in the root folder.
I got the following message:
"Connection to host...
Access denied." and a field to insert the corrected password
If i cupy and paste the same password i can open the client...
The complete script i would like to execute is:

cd C:\Program Files (x86)\WinSCP
winscp.exe ftp://user:passw@host/
get dummy.txt C:\
exit

Where i'm wrong? Thanks

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,276
Location:
Prague, Czechia

Re: login faild

Your password probably contains some special characters that need to be URL-encoded.
See https://winscp.net/eng/docs/session_url#special

It that does not help, please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=path_to_log_file command-line argument. 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.

Reply with quote

cluisvera
Joined:
Posts:
1
Location:
Ecuador

Re: login faild

Me sale este error como puedo solucionarlo:

C:\Dobra7>"C:\Program Files (x86)\WinSCP\winscp.com" /script=winscp-upload-script.txt
batch abort
confirm off
Buscando servidor...
Conectando al servidor...
Autentificando...
Usando el nombre de usuario "xxxxxx".
Autentificando con el password pre-entrado
Autentificado.
Iniciando la sesión...
Leyendo directorio remoto...
Sesión iniciada.
Sesión activa: [1] xxxx@xx.xx.xxx.xx
Nuevo documento de texto. | 0 B | 0,0 KiB/s | binary | 0%
La conexión ha sido cerrada inesperadamente. El servidor ha enviado el estado 0 como retorno del comando
A(b)ortar, (V)olver a conectar (0 s): Volver a conectar
Buscando servidor...
Conectando al servidor...
Autentificando...
Usando el nombre de usuario "xxxx".
Autentificando con el password pre-entrado
Autentificado.
Iniciando la sesión...
Leyendo directorio remoto...
Sesión iniciada.
La conexión ha sido cerrada inesperadamente. El servidor ha enviado el estado 0 como retorno del comando
A(b)ortar, (V)olver a conectar (5 s): Volver a conectar
Acceso a memoria no válido
Por favor, ayúdanos a mejorar WinSCP informando el error en el foro de soporte WinSCP.
A(b)ortar, (V)olver a conectar (0 s): Volver a conectar
Acceso a memoria no válido
Por favor, ayúdanos a mejorar WinSCP informando el error en el foro de soporte WinSCP.
A(b)ortar, (V)olver a conectar (2 s): Volver a conectar
Invalid pointer operation
Por favor, ayúdanos a mejorar WinSCP informando el error en el foro de soporte WinSCP.
A(b)ortar, (V)olver a conectar (2 s):

Reply with quote E-mail

Advertisement

You can post new topics in this forum