Copy between distinct severs or the same server

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
jc_britos
Junior Member
Junior Member
Posts: 7
Joined: 2003-04-04, 19:17 UTC
Location: Argentina

Copy between distinct severs or the same server

Post by *jc_britos »

Hi all,

My name is Juan Carlos Britos, I am from Argentina.
I would need to ask you the next:

I want to copy one file from one directory to another, in the same server.
But I can not to do this because I received the next message:

500 Illegal port command

Error in remote transfer. This operation is probably not supported by the server.

Please, could any help me?

PS: Please send the reply to: jbritos@indra.com.ar

Thanks all
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48185
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This means that your server doesn't allow direct server to server commands. Although the standardization documents (RFCs) allow them, some server writers decided to block them for security reasons.
Author of Total Commander
https://www.ghisler.com
jc_britos
Junior Member
Junior Member
Posts: 7
Joined: 2003-04-04, 19:17 UTC
Location: Argentina

Post by *jc_britos »

ghisler(Author) wrote:This means that your server doesn't allow direct server to server commands. Although the standardization documents (RFCs) allow them, some server writers decided to block them for security reasons.
thanks for your reply.
But the System administrator told me that is not the problem.
No restriction.
So, PLease, I need to know what is the policy to connect by FTP that this software use to?

What port this software use?

Thanks
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48185
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

500 Illegal port command
Your admin is wrong - this error message clearly shows that direct server to server transfers are blocked by the server! It means that the server only allows the same IP address for the data connection as for the control connection.
Author of Total Commander
https://www.ghisler.com
User avatar
Spaghettificus
Junior Member
Junior Member
Posts: 17
Joined: 2003-02-11, 19:11 UTC
Location: Columbus, OH, USA

Post by *Spaghettificus »

You will have to move the file in two stages.
Move the file to a local disk, then move it back to the destination server.
jc_britos
Junior Member
Junior Member
Posts: 7
Joined: 2003-04-04, 19:17 UTC
Location: Argentina

Post by *jc_britos »

Spaghettificus wrote:You will have to move the file in two stages.
Move the file to a local disk, then move it back to the destination server.
Thanks for your help. I am doing that you advice me. The problem is I need to transfer big files, so take me a lot of time. :(

I think the problem is clear. But I don´t recieve a bit of help. :(
jc_britos
Junior Member
Junior Member
Posts: 7
Joined: 2003-04-04, 19:17 UTC
Location: Argentina

Post by *jc_britos »

ghisler(Author) wrote:
500 Illegal port command
Your admin is wrong - this error message clearly shows that direct server to server transfers are blocked by the server! It means that the server only allows the same IP address for the data connection as for the control connection.
Dear Christian,

I have included below the text that the administrator sent me. Could you please provide me with more details on how to communicate (interface) the software with HP, for example, how to determine the port of communication?

The message that sent me:

"Juan Carlos,

I understand what this person is saying about the server's restrictions, but he doesn't offer solutions on how to implement it. I think you should insist in his response, so that he doesn't sink into generalities, but gives you concrete modifications that should be applied to the HP-UX to ensure that the product is working as it should.

Best regards,"
User avatar
Hacker
Moderator
Moderator
Posts: 13084
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Hmm, as far as I understand it we first need the admin to tell us what FTP server software the HP-UX machine is running (eg ProFTPD), then we need to find out what to change in its config (eg "AllowForeignAddress on") and ask the admin if he could change it.

Anyone correct me?

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48185
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2Hacker
Yes, exactly! Unix ftp servers can often be configured in detail through a text file in /etc/
Author of Total Commander
https://www.ghisler.com
Post Reply