# Problem with Advanced FTP login - 503 Error

**URL:** <https://resource.dopus.com/t/problem-with-advanced-ftp-login-503-error/41517>\
**Category:** Help & Support\
**Tags:** 3rd-party-issue\
**Created:** [June 19, 2022, 8:02pm UTC](https://resource.dopus.com/t/problem-with-advanced-ftp-login-503-error/41517 "2022-06-19T20:02:28Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdowen](https://resource.dopus.com/letter_avatar_proxy/v4/letter/m/db5fbb/32.png) [@mdowen](https://resource.dopus.com/u/mdowen)\
**Post date:** [June 19, 2022, 8:02pm UTC](https://resource.dopus.com/t/problem-with-advanced-ftp-login-503-error/41517/1 "2022-06-19T20:02:28Z")

</div>

Just upgraded to use Adv FTP with a vendor. When I create the FTP Connection, I get a continued window showing trying to connect with an Abort option. Never completes. Looking at the FTP logs, it appears there is some success, but there's a final "503" error showing which I'm guessing is the reason the login isn't completing. The vendor doesn't mention if Passive should be enabled, but I am using all the other settings the vendor provided. Help!

The following is taken from the DO FTP log with content replaced by "x" for security purposes:

Opening Connection [xxxxxxx.sharefileftp.com:990](http://xxxxxxx.sharefileftp.com:990)  
220 [ftp-xxxx.xxxxxxxxxxxx.com](http://ftp-xxxx.xxxxxxxxxxxx.com) FTP Server Ready (SSL)  
331 Hello xxxxxxxxx/xxxxxx@xxxxx, please enter your password.  
230-Connection established from ipxx-xxx-xx-xxx.xx.xx.xxx [xx.xxx.xx.xxx].  
230-You are connected as xxxx xxxxx (xxxx@xxxxxx.xxx).  
230 Welcome to the xxxxxx xxxxxx FTP site.  
503 Expected the PASS command, not 'PBSZ'.  
Timeout on Command 1001.  
Connection closed

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [June 19, 2022, 8:06pm UTC](https://resource.dopus.com/t/problem-with-advanced-ftp-login-503-error/41517/2 "2022-06-19T20:06:09Z")

</div>

Have you tried the other mode? (TLS vs SSL)

---

<div class="post-metadata">

**Author:** ![mdowen](https://resource.dopus.com/letter_avatar_proxy/v4/letter/m/db5fbb/32.png) [@mdowen](https://resource.dopus.com/u/mdowen)\
**Post date:** [June 19, 2022, 8:45pm UTC](https://resource.dopus.com/t/problem-with-advanced-ftp-login-503-error/41517/3 "2022-06-19T20:45:19Z")

</div>

The host of the FTP site (they use a product Citrix Sharefile) requires Implicit SSL/TLS (Port 990), so that's all I used in setting up the FTP connection - which, as I noted in the log file, shows the connection actually happening except for the 503 error at the end.

Just tried Port 22 and it failed outright per the log.  
Just tried TLS (Port 21) and got this error: 504 Security mechanism 'TLS' not implemented.

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [June 19, 2022, 8:50pm UTC](https://resource.dopus.com/t/problem-with-advanced-ftp-login-503-error/41517/4 "2022-06-19T20:50:32Z")

</div>

I would try the other one since the site seems to want the authentication done in a different way to what's being done.

---

<div class="post-metadata">

**Author:** ![mdowen](https://resource.dopus.com/letter_avatar_proxy/v4/letter/m/db5fbb/32.png) [@mdowen](https://resource.dopus.com/u/mdowen)\
**Post date:** [June 19, 2022, 8:51pm UTC](https://resource.dopus.com/t/problem-with-advanced-ftp-login-503-error/41517/5 "2022-06-19T20:51:46Z")

</div>

Did with no success (see edited previous post). Port 990 had best result per log other than the 503 error.

As a developer, does this 503 error message have any kind of explanation?  
503 Expected the PASS command, not 'PBSZ'.

Looking more closely at the FTP log, I can see where it accepts my login info but then kicks out this 503 error. The window keeps showing a "logging in" message with a moving gas guage with Abort underneath it. The log eventually shows a "Timeout on Command 1001" error and then retries the login again. This keeps repeating until I abort the process.

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [June 19, 2022, 8:58pm UTC](https://resource.dopus.com/t/problem-with-advanced-ftp-login-503-error/41517/6 "2022-06-19T20:58:31Z")

</div>

It means the server is expecting the PASS (password) command before anything else, although that seems odd since the log suggests the account is already logged in at that point.

What does the log look like when using another client?

---

<div class="post-metadata">

**Author:** ![mdowen](https://resource.dopus.com/letter_avatar_proxy/v4/letter/m/db5fbb/32.png) [@mdowen](https://resource.dopus.com/u/mdowen)\
**Post date:** [June 19, 2022, 9:00pm UTC](https://resource.dopus.com/t/problem-with-advanced-ftp-login-503-error/41517/7 "2022-06-19T21:00:44Z")

</div>

I don't have another client. Is there a freebie out there I could try and then check to see what happens? Do you have one you'd recommend I try?

---

<div class="post-metadata">

**Author:** ![Jon](https://resource.dopus.com/user_avatar/resource.dopus.com/jon/32/12713_2.png) [@Jon](https://resource.dopus.com/u/Jon)\
**Post date:** [June 19, 2022, 9:01pm UTC](https://resource.dopus.com/t/problem-with-advanced-ftp-login-503-error/41517/8 "2022-06-19T21:01:20Z")

</div>

Try turning on the **SSL Data Channel - Use Clear Data** option for the site on the **Special** tab in the FTP address book.

---

<div class="post-metadata">

**Author:** ![mdowen](https://resource.dopus.com/letter_avatar_proxy/v4/letter/m/db5fbb/32.png) [@mdowen](https://resource.dopus.com/u/mdowen)\
**Post date:** [June 19, 2022, 9:09pm UTC](https://resource.dopus.com/t/problem-with-advanced-ftp-login-503-error/41517/9 "2022-06-19T21:09:14Z")

</div>

Just tried FileZilla and it showed this info during the connection attempt:

| Status: | Connection established, initializing TLS... |
| --- | --- |
| Status: | TLS connection established, waiting for welcome message... |
| Status: | Server does not support non-ASCII characters. |
| Status: | Logged in |
| Status: | Retrieving directory listing... |
| Command: | PWD |
| Response: | 503 Expected the PASS command, not 'PWD'. |
| Error: | Failed to retrieve directory listing |

---

<div class="post-metadata">

**Author:** ![mdowen](https://resource.dopus.com/letter_avatar_proxy/v4/letter/m/db5fbb/32.png) [@mdowen](https://resource.dopus.com/u/mdowen)\
**Post date:** [June 19, 2022, 9:18pm UTC](https://resource.dopus.com/t/problem-with-advanced-ftp-login-503-error/41517/10 "2022-06-19T21:18:09Z")

</div>

Didn't resolve problem. I'm wondering if the "failed to retrieve directory listing" message thrown off by FileZilla tells me I need to see how the site is setup for my access. Maybe I need more details from the host site or they need to turn something else on (like create a subdirectory for my account?).

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [June 19, 2022, 9:26pm UTC](https://resource.dopus.com/t/problem-with-advanced-ftp-login-503-error/41517/11 "2022-06-19T21:26:52Z")

</div>

If it's not working in FileZilla with the same error message then there's either a problem at the server side or a setting that needs changing which they haven't told you about. It doesn't look like an Opus issue.

---

<div class="post-metadata">

**Author:** ![mdowen](https://resource.dopus.com/letter_avatar_proxy/v4/letter/m/db5fbb/32.png) [@mdowen](https://resource.dopus.com/u/mdowen)\
**Post date:** [June 19, 2022, 9:40pm UTC](https://resource.dopus.com/t/problem-with-advanced-ftp-login-503-error/41517/12 "2022-06-19T21:40:55Z")

</div>

OK, I'll check in with them this week and come back and post if I find a resolution...
