Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP/SSL

Status
Not open for further replies.

eclecticNancy

Programmer
May 18, 2007
19
US

Could someone help me to more clearly understand the authentication process between client/server using FTP/SSL? (or is it now called FTP/TLS?)

I am trying to use to log into a server using FTP/SSL to get files we normally access using CoreFTP via a WinXP workstation. Most other ftp is done through automated processes on our Win2003 ftp server and I would like to automate this one also. I'm trying to send the same commands as used by the CoreFTP but unable to successfully log in.

From cmd, I don't know how to connect without being immediately prompted for USER.

Within my programming IDE, I can send the AUTH SSL command before sending USER and PASS, but I'm not sure I'm getting entire server response information. (I'll post a programming question in the Python forum.)

Here is a copy/paste (some info x'd out) of the CoreFTP session that works...

Resolving xxxx.xxxx.org...
Connect socket #xxx to nn.nn.nn.nn, port 21
220-
220-Hello, Welcome to xxx!
AUTH SSL
334 SSLv23/TLSv1
USER xxxx
331 Password required for xxxx
PASS ********
230 Virtual user xxxx logged in


And here's what I've captured while trying to run it through my IDE:
220-Hello, Welcome to xxx!
220-
220 Secure FTP Server ready.
AUTH SSL
334 SSLv23/TLSv1
USER xxxx
<exception error - haven't captured server response>


Thanks for any help.

Nancy

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top