Unable to log into ftp server with password

Advertisement

bgwiles
Joined:
Posts:
1
Location:
Maryland

Unable to log into ftp server with password

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

Reply with quote

Advertisement

bgwiles@...
Guest

Re: Unable to log into ftp server with password

martin 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 )

Reply with quote

bgwiles@...
Guest

"/" in password

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?

Reply with quote

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

Re: "/" in password

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

Reply with quote

Advertisement

Christiaan
Guest

Special characters in FTP password

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!

Reply with quote

martin
Site Admin
martin avatar

Re: Special characters in FTP password

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.

Reply with quote

Guest

Re: Special characters in FTP password

martin 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.

Reply with quote

Guest

Re: Special characters in FTP password

Anonymous wrote:

martin 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.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum