FTP connexion to Playstation 3 (PS3) -- 425 Error in data connection

What is the problem you are having with rclone?

I cannot connect to my playstation 3 (PS3) using rclone sync over ftp.

Note that I can connect with ftp just fine:

ftp 192.168.0.63
Connected to 192.168.0.63.
220 webMANftpd 1.47.45 MOD [NTFS:0]
Name (192.168.0.63:six): 
331 OK
Password: 
230 OK
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> status
Connected and logged into 192.168.0.63.
No proxy connection.
Gate ftp: off, server (none), port ftpgate.
Passive mode: on; fallback to active mode: on.
Mode: stream; Type: binary; Form: non-print; Structure: file.
Verbose: on; Bell: off; Prompting: on; Globbing: on.
Store unique: off; Receive unique: off.
Preserve modification times: on.
Case: off; CR stripping: on.
Ntrans: off.
Nmap: off.
Hash mark printing: off; Mark count: 1024; Progress bar: on.
Get transfer rate throttle: off; maximum: 0; increment 1024.
Put transfer rate throttle: off; maximum: 0; increment 1024.
Socket buffer sizes: send 16384, receive 131072.
Use of PORT cmds: on.
Use of EPSV/EPRT cmds for IPv4: on.
Use of EPSV/EPRT cmds for IPv6: on.
Command line editing: on.
Version: tnftp 20210827

Run the command 'rclone version' and share the full output of the command.

rclone v1.65.2
- os/version: debian 12.5 (64 bit)
- os/kernel: 6.1.0-21-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.6
- go/linking: static
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)

FTP server on my PS3.

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone --interactive --progress sync  -vvv PS3:dev_hdd0/home/00000001/savedata/ /donnees/0101/consoles/PS3/svg/current/

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[PS3]
type = ftp
host = XXX
pass = XXX
### Double check the config for sensitive info before posting publicly

A log from the command that you were trying to run with the -vv flag

<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "PS3:dev_hdd0/home/00000001/savedata/"
<7>DEBUG : Using config file from "/home/six/.config/rclone/rclone.conf"
<7>DEBUG : ftp://192.168.0.63:21/dev_hdd0/home/00000001/savedata: Connecting to FTP server
<7>DEBUG : ftp://192.168.0.63:21/dev_hdd0/home/00000001/savedata: dial("tcp","192.168.0.63:21")
<7>DEBUG : ftp://192.168.0.63:21/dev_hdd0/home/00000001/savedata: > dial: conn=*fshttp.timeoutConn, err=<nil>
Failed to create file system for "PS3:dev_hdd0/home/00000001/savedata/": 425 Error in data connection

welcome to the forum,

using an old version of rclone, can rclone selfupdate and test again.
and need to post a full, complete, rclone debug log.

does the device support sftp, webdav or other protocols?

1 Like
2024/06/02 14:59:04 NOTICE: Successfully updated rclone from version v1.65.2 to version v1.66.0
rclone --interactive --progress sync  -v PS3:/dev_hdd0/home/00000001/savedata/ /donnees/0101/consoles/PS3/svg/current/ --dump bodies
2024/06/02 15:02:02 NOTICE: Automatically setting -vv as --dump is enabled
2024/06/02 15:02:02 DEBUG : rclone: Version "v1.66.0" starting with parameters ["rclone" "--interactive" "--progress" "sync" "-v" "PS3:/dev_hdd0/home/00000001/savedata/" "/donnees/0101/consoles/PS3/svg/current/" "--dump" "bodies"]
2024/06/02 15:02:02 DEBUG : Creating backend with remote "PS3:/dev_hdd0/home/00000001/savedata/"
2024/06/02 15:02:02 DEBUG : Using config file from "/home/six/.config/rclone/rclone.conf"
2024/06/02 15:02:02 DEBUG : ftp://192.168.0.63:21/dev_hdd0/home/00000001/savedata: Connecting to FTP server
2024/06/02 15:02:02 DEBUG : ftp://192.168.0.63:21/dev_hdd0/home/00000001/savedata: dial("tcp","192.168.0.63:21")
2024/06/02 15:02:02 DEBUG : ftp://192.168.0.63:21/dev_hdd0/home/00000001/savedata: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024/06/02 15:02:02 DEBUG : FTP Rx: "220 webMANftpd 1.47.45 MOD [NTFS:0]"
2024/06/02 15:02:02 DEBUG : FTP Tx: "USER six"
2024/06/02 15:02:02 DEBUG : FTP Rx: "331 OK"
2024/06/02 15:02:02 DEBUG : FTP Tx: PASS *****
2024/06/02 15:02:02 DEBUG : FTP Rx: "230 OK"
2024/06/02 15:02:02 DEBUG : FTP Tx: "FEAT"
2024/06/02 15:02:02 DEBUG : FTP Rx: "211-Ext:"
2024/06/02 15:02:02 DEBUG : FTP Rx: " REST STREAM"
2024/06/02 15:02:02 DEBUG : FTP Rx: " PASV"
2024/06/02 15:02:02 DEBUG : FTP Rx: " PORT"
2024/06/02 15:02:02 DEBUG : FTP Rx: " CDUP"
2024/06/02 15:02:02 DEBUG : FTP Rx: " ABOR"
2024/06/02 15:02:02 DEBUG : FTP Rx: " PWD"
2024/06/02 15:02:02 DEBUG : FTP Rx: " TYPE"
2024/06/02 15:02:02 DEBUG : FTP Rx: " SIZE"
2024/06/02 15:02:02 DEBUG : FTP Rx: " SITE"
2024/06/02 15:02:02 DEBUG : FTP Rx: " APPE"
2024/06/02 15:02:02 DEBUG : FTP Rx: " LIST"
2024/06/02 15:02:02 DEBUG : FTP Rx: " MLSD"
2024/06/02 15:02:02 DEBUG : FTP Rx: " MDTM"
2024/06/02 15:02:02 DEBUG : FTP Rx: " MFMT"
2024/06/02 15:02:02 DEBUG : FTP Rx: " MLST type*;size*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;"
2024/06/02 15:02:02 DEBUG : FTP Rx: "211 End"
2024/06/02 15:02:02 DEBUG : FTP Tx: "TYPE I"
2024/06/02 15:02:02 DEBUG : FTP Rx: "200 TYPE OK"
2024/06/02 15:02:02 DEBUG : FTP Tx: "MLST /dev_hdd0/home/00000001/savedata/savedata"
2024/06/02 15:02:02 DEBUG : FTP Rx: "425 Error in data connection"
2024/06/02 15:02:02 DEBUG : FTP Tx: "NOOP"
2024/06/02 15:02:02 DEBUG : FTP Rx: "200 NOOP"
2024/06/02 15:02:02 Failed to create file system for "PS3:/dev_hdd0/home/00000001/savedata/": 425 Error in data connection

well, rclone also connected just fine, so, imho, not a fair comparison.

Yes you are correct, I had not realized that. However, I can transfer files with ftp, but it seems that I cannot with rclone, and I'm not sure how I can debug this error message (the documentation, as far as I can tell, doesn't mention the 425 error anywhere).

Is the problem when trying to mount the filesystem? I suppose

2024/06/02 15:02:02 DEBUG : FTP Tx: "MLST /dev_hdd0/home/00000001/savedata/savedata"

is the problematic command.

And it seems that 425 is not a "common response" to a MLST command (according to FTP Commands: APPE, MLSD, MLST, LIST, RETR, STOR, STOU | Serv-U ).

No, unfortunately.

ftp is a terrible protocol, and in practice, each ftp server has its own quirks.
sorry, i cannot help you debug that further.

1 Like

No worries, and thanks a lot for confirming that there wasn't an obvious solution lying around. I'll keep investigating and will report if I find anything.

I never managed to make it work correctly, but found a workaround using

rclone --interactive --progress sync PS3: /donnees/0101/consoles/PS3/svg/current/ --include "/dev_hdd0/home/00000001/savedata/**"

(that is, I don't specify the path after PS3:, but I explicitly list the folder I'm interested in).

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