Topic "simple script does not work"

Author Message
Michael_ger
[View user's profile]

Joined: 2016-04-20
Posts: 1
Hi
I am just beginning to work with winscp

My Problem:

Example given:
winscp.com /script=myscript.txt
myscript.txt
open ftp://user:password@example.com/
***********

myScript 1):

open ftp://b*******.de
password@b*******.de/

myscript 2):
open ftp://user:password@b*******.de/

myscript 3):
open ftp://password@b*******.de/

No scripot works.
The server asks my password, but I want do run the script without any interuption

Perhaps you can help me?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
The open ftp://user:password@b*******.de/ is correct.

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

To generate 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.
danpino

Guest


ERROR
Access denied.
Authentication failed.

This is the script:

open ftp://iesanvic:PASSWORD@www.sanvicente.edu.co/
mput "C:\Colegio\wlistas\SNP\*.pdf" "/httpdocs/portal/wlistas/snp/"
exit

any help?
Thanks Very Much !!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Don't you have some special character in the password?
https://winscp.net/eng/docs/session_url#special

You can also try to enable password logging with /loglevel=* to see if a correct password is used.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License