Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Yippie!

Anyway, I've sent you an email with debug version to understand your problem better. Please reply.
Grassman

Yippie!

Thanks, problem solved.
martin

Re: Filezilla Log

You use passive mode with Filezilla while active with WinSCP.
Grassman

Filezilla Log

Here you go, log from Filezilla.

2010-04-04 00:56:32 5048 2 Status: Resolving address of ftp.xxxxxxxxx.com
2010-04-04 00:56:32 5048 2 Status: Connecting to xxx.xx.xxx.x:21...
2010-04-04 00:56:32 5048 2 Status: Connection established, waiting for welcome message...
2010-04-04 00:56:32 5048 2 Response: 220 ProFTPD 1.3.2rc3 Server (xxx.xx.xxx.2) [::ffff:xxx.xx.xxx.2]
2010-04-04 00:56:32 5048 2 Command: AUTH TLS
2010-04-04 00:56:32 5048 2 Response: 234 AUTH TLS successful
2010-04-04 00:56:32 5048 2 Status: Initializing TLS...
2010-04-04 00:56:33 5048 2 Status: Verifying certificate...
2010-04-04 00:56:38 5048 2 Command: USER xxxxxxx
2010-04-04 00:56:38 5048 2 Status: TLS/SSL connection established.
2010-04-04 00:56:38 5048 2 Response: 331 Password required for xxxxxxx
2010-04-04 00:56:38 5048 2 Command: PASS ************
2010-04-04 00:56:38 5048 2 Response: 230 User xxxxxxx logged in
2010-04-04 00:56:38 5048 2 Command: SYST
2010-04-04 00:56:38 5048 2 Response: 215 UNIX Type: L8
2010-04-04 00:56:38 5048 2 Command: FEAT
2010-04-04 00:56:38 5048 2 Response: 211-Features:
2010-04-04 00:56:38 5048 2 Response: MDTM
2010-04-04 00:56:38 5048 2 Response: MFMT
2010-04-04 00:56:38 5048 2 Response: AUTH TLS
2010-04-04 00:56:38 5048 2 Response: MFF modify;UNIX.group;UNIX.mode;
2010-04-04 00:56:38 5048 2 Response: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
2010-04-04 00:56:38 5048 2 Response: PBSZ
2010-04-04 00:56:38 5048 2 Response: PROT
2010-04-04 00:56:38 5048 2 Response: REST STREAM
2010-04-04 00:56:38 5048 2 Response: SIZE
2010-04-04 00:56:38 5048 2 Response: 211 End
2010-04-04 00:56:38 5048 2 Command: PBSZ 0
2010-04-04 00:56:38 5048 2 Response: 200 PBSZ 0 successful
2010-04-04 00:56:38 5048 2 Command: PROT P
2010-04-04 00:56:38 5048 2 Response: 200 Protection set to Private
2010-04-04 00:56:38 5048 2 Status: Connected
2010-04-04 00:56:38 5048 2 Status: Retrieving directory listing...
2010-04-04 00:56:38 5048 2 Command: PWD
2010-04-04 00:56:38 5048 2 Response: 257 "/" is the current directory
2010-04-04 00:56:38 5048 2 Command: TYPE I
2010-04-04 00:56:38 5048 2 Response: 200 Type set to I
2010-04-04 00:56:38 5048 2 Command: PASV
2010-04-04 00:56:38 5048 2 Response: 227 Entering Passive Mode (xxx,1xx,xxx,x,xxx,xx).
2010-04-04 00:56:38 5048 2 Command: MLSD
2010-04-04 00:56:38 5048 2 Response: 150 Opening ASCII mode data connection for MLSD
2010-04-04 00:56:38 5048 2 Response: 226 Transfer complete
2010-04-04 00:56:38 5048 2 Status: Directory listing successful
martin

Re: Trouble making secure connection through FTP, log inc.

So can you try to login using Filezilla? If it works, please post its log file.
Grassman

Trouble making secure connection through FTP, log inc.

Hi, I am trying to make a secure connection through FTP with my webhost.
Their procedure involves me using Filezilla. Which I do not want to use. I told them I am using WinSCP, and do not want, nor intend to use Filezilla.
Here is their procedure to connect:

1. Open Filezila Client
2. Open File =>Site Manager
a. Click on New Site
b. Click on General Tab => Server Type
c. Select FTPES - FTP over explicit TLS/SSL
3. Input the Login Credentials.
a. Host : Domian Name
b. Port : 21
c. Login Type: Normal
d . User : FTP Username
e. Password : FTP Password
4. Click Connect => OK
5. When you Connect make sure to accept certificate for Secure Encrypted Connection.

Can someone help me to get this going using WinSCP?

When I try connecting,I get the error:
"Could not retrieve directory listing
Illegal PORT command"

Does anyone know what I'm doing wrong? My webhost will not help me at all unless I'm using filezilla. Thanks.

I have read all the support and help documents, faq, ect. and searched the forum with no comprehensive solution.

WinSCP version: 4.2.7


logfile:
. 2010-04-02 11:22:32.887 --------------------------------------------------------------------------
. 2010-04-02 11:22:32.887 WinSCP Version 4.2.7 (Build 758) (OS 6.0.6001 Service Pack 1)
. 2010-04-02 11:22:32.888 Login time: Friday, April 02, 2010 11:22:32 AM
. 2010-04-02 11:22:32.888 --------------------------------------------------------------------------
. 2010-04-02 11:22:32.888 Session name:
. 2010-04-02 11:22:32.888 Host name: (Port: 21)
. 2010-04-02 11:22:32.889 User name: (Password: Yes, Key file: No)
. 2010-04-02 11:22:32.889 Tunnel: No
. 2010-04-02 11:22:32.889 Transfer Protocol: FTP
. 2010-04-02 11:22:32.889 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2010-04-02 11:22:32.889 Proxy: none
. 2010-04-02 11:22:32.889 FTP: FTPS: Explicit SSL; Passive: No [Force IP: No]
. 2010-04-02 11:22:32.889 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2010-04-02 11:22:32.889 Cache directory changes: Yes, Permanent: Yes
. 2010-04-02 11:22:32.889 DST mode: 1
. 2010-04-02 11:22:32.890 --------------------------------------------------------------------------
. 2010-04-02 11:22:32.958 Connecting to ...
. 2010-04-02 11:22:32.965 Connected with , negotiating SSL connection...
< 2010-04-02 11:22:32.965 220 ProFTPD 1.3.2rc3 Server (xxx.xx.xx.x) [::ffff:xxx.xx.xxx.x]
> 2010-04-02 11:22:32.965 AUTH SSL
< 2010-04-02 11:22:32.969 234 AUTH SSL successful
. 2010-04-02 11:22:33.514 SSL connection established. Waiting for welcome message...
> 2010-04-02 11:22:33.514 USER
< 2010-04-02 11:22:33.531 331 Password required for
> 2010-04-02 11:22:33.532 PASS ************
< 2010-04-02 11:22:33.554 230 User logged in
> 2010-04-02 11:22:33.554 SYST
< 2010-04-02 11:22:33.570 215 UNIX Type: L8
> 2010-04-02 11:22:33.570 FEAT
< 2010-04-02 11:22:33.586 211-Features:
< 2010-04-02 11:22:33.586 MDTM
< 2010-04-02 11:22:33.586 MFMT
< 2010-04-02 11:22:33.586 AUTH TLS
< 2010-04-02 11:22:33.586 MFF modify;UNIX.group;UNIX.mode;
< 2010-04-02 11:22:33.587 MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
< 2010-04-02 11:22:33.587 PBSZ
< 2010-04-02 11:22:33.587 PROT
< 2010-04-02 11:22:33.587 REST STREAM
< 2010-04-02 11:22:33.587 SIZE
< 2010-04-02 11:22:33.793 211 End
> 2010-04-02 11:22:33.793 PBSZ 0
< 2010-04-02 11:22:33.809 200 PBSZ 0 successful
> 2010-04-02 11:22:33.809 PROT P
< 2010-04-02 11:22:33.825 200 Protection set to Private
. 2010-04-02 11:22:33.828 Connected
. 2010-04-02 11:22:33.828 --------------------------------------------------------------------------
. 2010-04-02 11:22:33.828 Using FTP protocol.
. 2010-04-02 11:22:33.828 Doing startup conversation with host.
> 2010-04-02 11:22:33.831 PWD
< 2010-04-02 11:22:33.848 257 "/" is the current directory
. 2010-04-02 11:22:33.851 Getting current directory name.
. 2010-04-02 11:22:33.854 Retrieving directory listing...
> 2010-04-02 11:22:33.855 TYPE A
< 2010-04-02 11:22:33.868 200 Type set to A
> 2010-04-02 11:22:33.869 PORT 192,16..........
< 2010-04-02 11:22:33.885 500 Illegal PORT command
. 2010-04-02 11:22:33.885 Could not retrieve directory listing
. 2010-04-02 11:22:33.889 Retrieving directory listing...
> 2010-04-02 11:22:33.889 TYPE A
< 2010-04-02 11:22:33.902 200 Type set to A
> 2010-04-02 11:22:33.903 PORT 192,16........
< 2010-04-02 11:22:33.920 500 Illegal PORT command
. 2010-04-02 11:22:33.920 Could not retrieve directory listing
* 2010-04-02 11:22:33.921 (ECommand) Error listing directory '/'.
* 2010-04-02 11:22:33.921 Could not retrieve directory listing
* 2010-04-02 11:22:33.921 Illegal PORT command
. 2010-04-02 11:22:36.001 Startup conversation with host finished.