# Can't acsess FTP

**URL:** <https://forum.infinityfree.com/t/cant-acsess-ftp/120623>\
**Category:** Hosting Support\
**Created:** [September 13, 2026, 11:26am UTC](https://forum.infinityfree.com/t/cant-acsess-ftp/120623 "2026-09-13T11:26:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![erncat14](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/erncat14/32/66792_2.png) [@erncat14](https://forum.infinityfree.com/u/erncat14)\
**Post date:** [September 13, 2026, 11:26am UTC](https://forum.infinityfree.com/t/cant-acsess-ftp/120623/1 "2026-09-13T11:26:12Z")

</div>

### Error Message

Hi, I tryed runnig a script on windows powershell to downlode all files for a backup:

```auto
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\ernie> $ftpServer = "ftp://ftp.epizy.com"
PS C:\Users\ernie> $username = "-hidden for security-"
PS C:\Users\ernie> $password = "-hidden for security-"
PS C:\Users\ernie> $downloadPath = "C:\Users\ernie\Downloads\beinnovations_files.zip"
PS C:\Users\ernie>
PS C:\Users\ernie> # Create FTP request object to download a file or list directory
PS C:\Users\ernie> $request = [System.Net.FtpWebRequest]::Create($ftpServer)
PS C:\Users\ernie> $request.Method = [System.Net.WebRequestMethods+Ftp]::ListDirectoryDetails
PS C:\Users\ernie> $request.Credentials = [System.Net.NetworkCredential]::new($username, $password)
PS C:\Users\ernie>
PS C:\Users\ernie> try {
>> $response = $request.GetResponse()
>> $reader = [System.IO.StreamReader]::new($response.GetResponseStream())
>> $result = $reader.ReadToEnd()
>> $reader.Close()
>> $response.Close()
>>
>> [System.Windows.MessageBox]::Show("Successfully connected and listed directory contents!")
>> } catch {
>> Write-Error "Connection failed: $_"
>> }
try {
    $response = $request.GetResponse()
    $reader = [System.IO.StreamReader]::new($response.GetResponseStream())
    $result = $reader.ReadToEnd()
    $reader.Close()
    $response.Close()

    [System.Windows.MessageBox]::Show("Successfully connected and listed directory contents!")
} catch {
    Write-Error "Connection failed: $_"
} : Connection failed: Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error:
(530) Not logged in."
    + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException

PS C:\Users\ernie>

```

### Other Information

origanle comand:

```auto
$ftpServer = "ftp://ftp.epizy.com"
$username = "-hidden for security-"
$password = "-hidden for security-"
$downloadPath = "C:\Users\ernie\Downloads\beinnovations_files.zip"

# Create FTP request object to download a file or list directory
$request = [System.Net.FtpWebRequest]::Create($ftpServer)
$request.Method = [System.Net.WebRequestMethods+Ftp]::ListDirectoryDetails
$request.Credentials = [System.Net.NetworkCredential]::new($username, $password)

try {
    $response = $request.GetResponse()
    $reader = [System.IO.StreamReader]::new($response.GetResponseStream())
    $result = $reader.ReadToEnd()
    $reader.Close()
    $response.Close()
    
    [System.Windows.MessageBox]::Show("Successfully connected and listed directory contents!")
} catch {
    Write-Error "Connection failed: $_"
}

```

---

<div class="post-metadata">

**Author:** ![Meishin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/meishin/32/59902_2.png) [@Meishin](https://forum.infinityfree.com/u/Meishin)\
**Post date:** [September 13, 2026, 11:59am UTC](https://forum.infinityfree.com/t/cant-acsess-ftp/120623/2 "2026-09-13T11:59:48Z")

</div>

No error message no detailed help

> [@Help, I cannot connect to FTP](https://forum.infinityfree.com/t/help-i-cannot-connect-to-ftp/49307):
>
> Being able to access your hosting account over FTP is very important to manage your website files. However, there are reason why you may have trouble connecting to the FTP service. This article explains a few things you can try to fix your FTP connection. Login to your control panel After your account has been created, or reactivated after a suspension, you may need to login to the hosting control panel once to enable FTP access to your account. You can login to the control panel by logging in…

Accessing FTP with automated tools itself should be OK, many people have been deploying websites with desktop softwares or GitHub actions.

---

<div class="post-metadata">

**Author:** ![erncat14](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/erncat14/32/66792_2.png) [@erncat14](https://forum.infinityfree.com/u/erncat14)\
**Post date:** [September 13, 2026, 12:25pm UTC](https://forum.infinityfree.com/t/cant-acsess-ftp/120623/3 "2026-09-13T12:25:36Z")

</div>

@Meishin I have completed all of the setps on that page and it still fails

---

<div class="post-metadata">

**Author:** ![dan3008](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/dan3008/32/53336_2.png) [@dan3008](https://forum.infinityfree.com/u/dan3008)\
**Post date:** [September 13, 2026, 1:41pm UTC](https://forum.infinityfree.com/t/cant-acsess-ftp/120623/4 "2026-09-13T13:41:18Z")

</div>

What error message are you getting?

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [September 14, 2026, 1:51pm UTC](https://forum.infinityfree.com/t/cant-acsess-ftp/120623/5 "2026-09-14T13:51:55Z")

</div>

I think the error returned is this:

> [@erncat14](#):
>
> ```auto
> The remote server returned an error:
> (530) Not logged in.
> 
> ```

I’m pretty sure that there is no problem with logins on the FTP server as we’d see a lot more reports about people having FTP connection problems. But I don’t know Powershell and I don’t have an easily accessible system to test your script.

---

<div class="post-metadata">

**Author:** ![Meishin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/meishin/32/59902_2.png) [@Meishin](https://forum.infinityfree.com/u/Meishin)\
**Post date:** [September 14, 2026, 2:20pm UTC](https://forum.infinityfree.com/t/cant-acsess-ftp/120623/6 "2026-09-14T14:20:12Z")

</div>

Probably a you issue, I see no problems with the script.

 ![截屏2026-09-14 22.13.45](https://forum-cdn.infinityfree.net/original/3X/0/4/04e4a45fd0698d2996ca6834edab624d9b5eba86.jpeg)

Please make sure to read through the guide and try all the troubleshooting steps.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [September 21, 2026, 2:20pm UTC](https://forum.infinityfree.com/t/cant-acsess-ftp/120623/7 "2026-09-21T14:20:49Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
