Topic "Unable to log into ftp server with password"

Author Message
bgwiles
[View user's profile]

Joined: 2009-11-20
Posts: 1
Location: Maryland
Keep getting Host Does Not Exist

This is the file that I am using with UN, PW and server changed to protect the innocent.


# Automatically answer all prompts negatively not to stall
# the script on errors
option batch on
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect using a password
# open user:password@example.com
# Connect
open sftp://USERNAME:password@ftp3.server.com
# Change remote directory
cd /Exports
# Force binary mode transfer
option transfer binary
# Download file to the local directory c:\ulti
get filename.txt c:\ulti\
# Disconnect
close
# Exit WinSCP
exit


What am I missing. I need to run a command line that gets the file in the remote folder every 15 minutes.

Thanks
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
Can you ping the ftp3.server.com (or whatever the real hostname is)?
_________________
Martin Prikryl
bgwiles@...

Guest


prikryl wrote:
Can you ping the ftp3.server.com (or whatever the real hostname is)?


Yes, I am also able to open the server with the GUI process. If I use the winscp.com statement I can use the "open" statement syntax without the password, "open sftp://USERNAME@ftp3.server.com" and then type the password when prompted, but it will fail everytime when I add the password. (open sftp://USERNAME:password@ftp3.server.com )
bgwiles@...

Guest


I may have found the problem, but still need a solution. I see in one of your FAQ's that WinSCP cannot accept special characters in a password from the command-line. Here is an example of the password that is being used: eaR#S/92zUj. I may not be able to have the vendor change their password, is there a work around that can be used?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
bgwiles@hmwd.org wrote:
I may have found the problem, but still need a solution. I see in one of your FAQ's that WinSCP cannot accept special characters in a password from the command-line. Here is an example of the password that is being used: eaR#S/92zUj. I may not be able to have the vendor change their password, is there a work around that can be used?

The FAQ, you probably refer to, shows how to deal with the problem:

eaR#S%2F92zUj
_________________
Martin Prikryl
Christiaan

Guest


Hi all

I have a customer FTP site that I need to upload a file to, but the password has the @ sign in it.

How would you type a password like P@55W0rd, with the %40 as the ASCII input.

Thank you in advance!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
Christiaan wrote:
How would you type a password like P@55W0rd, with the %40 as the ASCII input

Please read FAQ. If that does not help, come back.
_________________
Martin Prikryl
Guest




prikryl wrote:
Christiaan wrote:
How would you type a password like P@55W0rd, with the %40 as the ASCII input

Please read FAQ. If that does not help, come back.


Hi Martin, Did get the info off the FAQ.

I enter the password as P%4055W0rd, but it still asks for a password. From the Linux command line, it works fine, without the ASCII translation.

Any ideas would be welcome.

Thanks again.
Christiaan.
Guest




Anonymous wrote:
prikryl wrote:
Christiaan wrote:
How would you type a password like P@55W0rd, with the %40 as the ASCII input

Please read FAQ. If that does not help, come back.


Hi Martin, Did get the info off the FAQ.

I enter the password as P%4055W0rd, but it still asks for a password. From the Linux command line, it works fine, without the ASCII translation.

Any ideas would be welcome.

Thanks again.
Christiaan.


UPDATE: Using WinSCP, I logged into my own Linux ftp server using a "normal" password with the @ sign. That should not have worked, but it did....

Seems the FTP server that I'm trying to get into, has issues..

Regards
Christiaan.
Shalin

Guest


This is cool, because I cannot log in to my FTP Server.
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