Author Topic: after sending file with ftp the panel goes to the server root  (Read 1222 times)

Jean

  • Contributor
  • Active Member
  • *****
  • Posts: 125
    • View Profile
Hi Mathias,

For instance i send a file to domains\mydomain\public_html it copies the file allright, but when done it displays the root tree content, domains is one of it's maps.

Jean

  • Contributor
  • Active Member
  • *****
  • Posts: 125
    • View Profile
Re: after sending file with ftp the panel goes to the server root
« Reply #1 on: April 10, 2026, 10:00:58 »
Maybe i was not clear.
I connect with ftp, then after doing anything, like sending a file or creating a map, it goes back to the server root.
So i have to go back to \domains\mydomain\public_html again.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4867
    • View Profile
    • Multi Commander
Re: after sending file with ftp the panel goes to the server root
« Reply #2 on: April 10, 2026, 10:32:18 »
I can't replicate that..  But problem is that lots of FTP Server behave very different.
If you watch the FTP log. Does it sends a new CWD <path> commands after the transfer ?

Jean

  • Contributor
  • Active Member
  • *****
  • Posts: 125
    • View Profile
Re: after sending file with ftp the panel goes to the server root
« Reply #3 on: April 10, 2026, 14:49:16 »
it sends CWD  / multiple times yes. Guess i have to live with it, thanks.

Code: [Select]
2026-04-10 14:46:49 > CWD /
2026-04-10 14:46:49 < 250 CWD command successful
2026-04-10 14:46:49 > PORT 192,168,2,4,40,34
2026-04-10 14:46:49 < 200 PORT command successful
2026-04-10 14:46:49 > LIST
2026-04-10 14:46:49 < 150 Opening ASCII mode data connection for file list
2026-04-10 14:46:49 < 226 Transfer complete
2026-04-10 14:46:49 > CWD /
2026-04-10 14:46:49 < 250 CWD command successful
2026-04-10 14:46:49 > PORT 192,168,2,4,40,35
2026-04-10 14:46:49 < 200 PORT command successful
2026-04-10 14:46:49 > LIST
2026-04-10 14:46:49 < 150 Opening ASCII mode data connection for file list
2026-04-10 14:46:49 < 226 Transfer complete
2026-04-10 14:46:49 > TYPE I
2026-04-10 14:46:49 < 200 Type set to I
2026-04-10 14:46:49 > PORT 192,168,2,4,40,36
2026-04-10 14:46:49 < 200 PORT command successful
2026-04-10 14:46:49 > STOR /2026-04-09_22-06.jpg
2026-04-10 14:46:49 < 150 Opening BINARY mode data connection for /2026-04-09_22-06.jpg
2026-04-10 14:46:49 < 226 Transfer complete
2026-04-10 14:46:49 > CWD /
2026-04-10 14:46:49 < 250 CWD command successful
2026-04-10 14:46:49 > TYPE A
2026-04-10 14:46:49 < 200 Type set to A
2026-04-10 14:46:49 > PORT 192,168,2,4,40,37
2026-04-10 14:46:49 < 200 PORT command successful
2026-04-10 14:46:49 > LIST
2026-04-10 14:46:49 < 150 Opening ASCII mode data connection for file list
2026-04-10 14:46:49 < 226 Transfer complete
2026-04-10 14:46:49 > CWD /
2026-04-10 14:46:49 < 250 CWD command successful
2026-04-10 14:46:49 > PORT 192,168,2,4,40,38
2026-04-10 14:46:49 < 200 PORT command successful
2026-04-10 14:46:49 > LIST
2026-04-10 14:46:49 < 150 Opening ASCII mode data connection for file list
2026-04-10 14:46:49 < 226 Transfer complete
2026-04-10 14:47:21 > NOOP
2026-04-10 14:47:21 < 200 NOOP command successful

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4867
    • View Profile
    • Multi Commander
Re: after sending file with ftp the panel goes to the server root
« Reply #4 on: April 10, 2026, 14:54:46 »
It does not show that you go into and list html folder and then goes out.
according to that log you are in / all the time

Jean

  • Contributor
  • Active Member
  • *****
  • Posts: 125
    • View Profile
Re: after sending file with ftp the panel goes to the server root
« Reply #5 on: April 10, 2026, 16:04:08 »
I tried another time, maybe i did something wrong the first time. Now it logs sending to /public_html
Code: [Select]
2026-04-10 15:22:10 > CWD /public_html
2026-04-10 15:22:10 < 250 CWD command successful
2026-04-10 15:22:10 > PORT 192,168,2,4,75,20
2026-04-10 15:22:10 < 200 PORT command successful
2026-04-10 15:22:10 > LIST
2026-04-10 15:22:10 < 150 Opening ASCII mode data connection for file list
2026-04-10 15:22:10 < 226 Transfer complete
2026-04-10 15:22:10 > CWD /public_html
2026-04-10 15:22:11 < 250 CWD command successful
2026-04-10 15:22:11 > PORT 192,168,2,4,75,21
2026-04-10 15:22:11 < 200 PORT command successful
2026-04-10 15:22:11 > LIST
2026-04-10 15:22:11 < 150 Opening ASCII mode data connection for file list
2026-04-10 15:22:11 < 226 Transfer complete
2026-04-10 15:22:11 > TYPE I
2026-04-10 15:22:11 < 200 Type set to I
2026-04-10 15:22:11 > PORT 192,168,2,4,75,22
2026-04-10 15:22:11 < 200 PORT command successful
2026-04-10 15:22:11 > STOR /public_html/2026-04-10_15-15.jpg
2026-04-10 15:22:11 < 150 Opening BINARY mode data connection for /public_html/2026-04-10_15-15.jpg
2026-04-10 15:22:11 < 226 Transfer complete
2026-04-10 15:22:11 > CWD /
2026-04-10 15:22:11 < 250 CWD command successful
2026-04-10 15:22:11 > TYPE A
2026-04-10 15:22:11 < 200 Type set to A
2026-04-10 15:22:11 > PORT 192,168,2,4,75,23
2026-04-10 15:22:11 < 200 PORT command successful
2026-04-10 15:22:11 > LIST
2026-04-10 15:22:11 < 150 Opening ASCII mode data connection for file list
2026-04-10 15:22:11 < 226 Transfer complete
2026-04-10 15:22:11 > CWD /
2026-04-10 15:22:11 < 250 CWD command successful
2026-04-10 15:22:11 > PORT 192,168,2,4,75,24
2026-04-10 15:22:11 < 200 PORT command successful
2026-04-10 15:22:11 > LIST
2026-04-10 15:22:11 < 150 Opening ASCII mode data connection for file list
2026-04-10 15:22:11 < 226 Transfer complete
2026-04-10 15:22:11 > CWD /
2026-04-10 15:22:11 < 250 CWD command successful
2026-04-10 15:22:11 > PORT 192,168,2,4,75,25
2026-04-10 15:22:11 < 200 PORT command successful
2026-04-10 15:22:11 > LIST
2026-04-10 15:22:11 < 150 Opening ASCII mode data connection for file list
2026-04-10 15:22:11 < 226 Transfer complete
2026-04-10 15:22:11 > CWD /
2026-04-10 15:22:11 < 250 CWD command successful
2026-04-10 15:22:11 > PORT 192,168,2,4,75,26
2026-04-10 15:22:11 < 200 PORT command successful
2026-04-10 15:22:11 > LIST
2026-04-10 15:22:11 < 150 Opening ASCII mode data connection for file list
2026-04-10 15:22:11 < 226 Transfer complete
2026-04-10 15:22:42 > NOOP
2026-04-10 15:22:42 < 200 NOOP command successful
2026-04-10 15:23:12 > NOOP
2026-04-10 15:23:12 < 200 NOOP command successful

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4867
    • View Profile
    • Multi Commander
Re: after sending file with ftp the panel goes to the server root
« Reply #6 on: April 10, 2026, 16:31:41 »
I see now  It does "CWD / "  Strange.. I can't recreate that.
For me it stay at the location it last entered

Might be something that is special with how you do it or with the ftp server that works differently
« Last Edit: April 10, 2026, 16:39:35 by Mathias (Author) »

Jean

  • Contributor
  • Active Member
  • *****
  • Posts: 125
    • View Profile
Re: after sending file with ftp the panel goes to the server root
« Reply #7 on: April 10, 2026, 17:57:54 »
I found it. It occurred to me that i get behaviour this since i added a domain.
So i have /domains/mydomain1/public_html and /domains/mydomain2/public_html
Now if i set remote folder in MC to /domains/mydomain1/public_html in stead of just /public_html it works ok again.