In an Active FTP connection, can I define client port/ports to use?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I'm going throught a connection that only bypasses some ports, previously defined.
I need to stablish an FTP connection throught it but, I need to know the ports that will be used to define them on the bypasser.
For example, I can go throught SFTP because on my bypasser I set port 22 and then it works fine. But I can't go throught FTP because I only know the listen port (21) but I don't know the transfer port, because it's random. But, if I could know/define the client port or a range, it would work.
So... Is there any FTP client that let's you define the client listen port in an active FTP connection?
ftp port-forwarding port
add a comment |
I'm going throught a connection that only bypasses some ports, previously defined.
I need to stablish an FTP connection throught it but, I need to know the ports that will be used to define them on the bypasser.
For example, I can go throught SFTP because on my bypasser I set port 22 and then it works fine. But I can't go throught FTP because I only know the listen port (21) but I don't know the transfer port, because it's random. But, if I could know/define the client port or a range, it would work.
So... Is there any FTP client that let's you define the client listen port in an active FTP connection?
ftp port-forwarding port
If it's an active connection it shouldn't be random. It's using port 20/21 on the server side and actively tell the server your port. On a passive connection the server would tell you the port to connect to.
– Seth
Feb 7 at 9:00
@Seth this is exactly what I'm triying, I know that server part will be 21 listening and 20 serving data, but I need to define the listening data port on the client to make it work. Do you know a FTP client that let's you define the client port? Thanks!
– rul3s
Feb 7 at 9:21
add a comment |
I'm going throught a connection that only bypasses some ports, previously defined.
I need to stablish an FTP connection throught it but, I need to know the ports that will be used to define them on the bypasser.
For example, I can go throught SFTP because on my bypasser I set port 22 and then it works fine. But I can't go throught FTP because I only know the listen port (21) but I don't know the transfer port, because it's random. But, if I could know/define the client port or a range, it would work.
So... Is there any FTP client that let's you define the client listen port in an active FTP connection?
ftp port-forwarding port
I'm going throught a connection that only bypasses some ports, previously defined.
I need to stablish an FTP connection throught it but, I need to know the ports that will be used to define them on the bypasser.
For example, I can go throught SFTP because on my bypasser I set port 22 and then it works fine. But I can't go throught FTP because I only know the listen port (21) but I don't know the transfer port, because it's random. But, if I could know/define the client port or a range, it would work.
So... Is there any FTP client that let's you define the client listen port in an active FTP connection?
ftp port-forwarding port
ftp port-forwarding port
asked Feb 7 at 8:43
rul3srul3s
1
1
If it's an active connection it shouldn't be random. It's using port 20/21 on the server side and actively tell the server your port. On a passive connection the server would tell you the port to connect to.
– Seth
Feb 7 at 9:00
@Seth this is exactly what I'm triying, I know that server part will be 21 listening and 20 serving data, but I need to define the listening data port on the client to make it work. Do you know a FTP client that let's you define the client port? Thanks!
– rul3s
Feb 7 at 9:21
add a comment |
If it's an active connection it shouldn't be random. It's using port 20/21 on the server side and actively tell the server your port. On a passive connection the server would tell you the port to connect to.
– Seth
Feb 7 at 9:00
@Seth this is exactly what I'm triying, I know that server part will be 21 listening and 20 serving data, but I need to define the listening data port on the client to make it work. Do you know a FTP client that let's you define the client port? Thanks!
– rul3s
Feb 7 at 9:21
If it's an active connection it shouldn't be random. It's using port 20/21 on the server side and actively tell the server your port. On a passive connection the server would tell you the port to connect to.
– Seth
Feb 7 at 9:00
If it's an active connection it shouldn't be random. It's using port 20/21 on the server side and actively tell the server your port. On a passive connection the server would tell you the port to connect to.
– Seth
Feb 7 at 9:00
@Seth this is exactly what I'm triying, I know that server part will be 21 listening and 20 serving data, but I need to define the listening data port on the client to make it work. Do you know a FTP client that let's you define the client port? Thanks!
– rul3s
Feb 7 at 9:21
@Seth this is exactly what I'm triying, I know that server part will be 21 listening and 20 serving data, but I need to define the listening data port on the client to make it work. Do you know a FTP client that let's you define the client port? Thanks!
– rul3s
Feb 7 at 9:21
add a comment |
1 Answer
1
active
oldest
votes
FTP/FTPS and SFTP are different beasts. If you're using SFTP, as implied by the mention of port 22 and comments, you need to be able to establish a SSH connection. A SSH connection to the server and you won't be able to actively define which ports to use.
For FTP and FTPS if you're using an active connection you would be able to do this by sending your PORT command. It depends on the client you're using how to set this up and it will be visible in the control channel command flow.
Sorry, I was meaning 21-listening, 20-data transfer. SFTP it was only a test, what I need is to make FTP work like that. Do you know and any FTP software that lets you define client PORT? Thanks!
– rul3s
Feb 7 at 9:22
Quite possibly many do it. Among them is FileZilla.
– Seth
Feb 7 at 10:10
I've already checked Filezilla and WinSCP and none of them can (or I didn't find it)... I'm thinking about taking some opensource and modify it, but I thought that already one of them had that option.... :(
– rul3s
Feb 7 at 15:30
Filezilla Network ocnfiguration seems pretty straight forward that it's using port 20 in most cases and in addition you could try to use post login commands. On the other hand if SFTP is working ... just use that and be done with it.
– Seth
Feb 8 at 6:38
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1403029%2fin-an-active-ftp-connection-can-i-define-client-port-ports-to-use%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
FTP/FTPS and SFTP are different beasts. If you're using SFTP, as implied by the mention of port 22 and comments, you need to be able to establish a SSH connection. A SSH connection to the server and you won't be able to actively define which ports to use.
For FTP and FTPS if you're using an active connection you would be able to do this by sending your PORT command. It depends on the client you're using how to set this up and it will be visible in the control channel command flow.
Sorry, I was meaning 21-listening, 20-data transfer. SFTP it was only a test, what I need is to make FTP work like that. Do you know and any FTP software that lets you define client PORT? Thanks!
– rul3s
Feb 7 at 9:22
Quite possibly many do it. Among them is FileZilla.
– Seth
Feb 7 at 10:10
I've already checked Filezilla and WinSCP and none of them can (or I didn't find it)... I'm thinking about taking some opensource and modify it, but I thought that already one of them had that option.... :(
– rul3s
Feb 7 at 15:30
Filezilla Network ocnfiguration seems pretty straight forward that it's using port 20 in most cases and in addition you could try to use post login commands. On the other hand if SFTP is working ... just use that and be done with it.
– Seth
Feb 8 at 6:38
add a comment |
FTP/FTPS and SFTP are different beasts. If you're using SFTP, as implied by the mention of port 22 and comments, you need to be able to establish a SSH connection. A SSH connection to the server and you won't be able to actively define which ports to use.
For FTP and FTPS if you're using an active connection you would be able to do this by sending your PORT command. It depends on the client you're using how to set this up and it will be visible in the control channel command flow.
Sorry, I was meaning 21-listening, 20-data transfer. SFTP it was only a test, what I need is to make FTP work like that. Do you know and any FTP software that lets you define client PORT? Thanks!
– rul3s
Feb 7 at 9:22
Quite possibly many do it. Among them is FileZilla.
– Seth
Feb 7 at 10:10
I've already checked Filezilla and WinSCP and none of them can (or I didn't find it)... I'm thinking about taking some opensource and modify it, but I thought that already one of them had that option.... :(
– rul3s
Feb 7 at 15:30
Filezilla Network ocnfiguration seems pretty straight forward that it's using port 20 in most cases and in addition you could try to use post login commands. On the other hand if SFTP is working ... just use that and be done with it.
– Seth
Feb 8 at 6:38
add a comment |
FTP/FTPS and SFTP are different beasts. If you're using SFTP, as implied by the mention of port 22 and comments, you need to be able to establish a SSH connection. A SSH connection to the server and you won't be able to actively define which ports to use.
For FTP and FTPS if you're using an active connection you would be able to do this by sending your PORT command. It depends on the client you're using how to set this up and it will be visible in the control channel command flow.
FTP/FTPS and SFTP are different beasts. If you're using SFTP, as implied by the mention of port 22 and comments, you need to be able to establish a SSH connection. A SSH connection to the server and you won't be able to actively define which ports to use.
For FTP and FTPS if you're using an active connection you would be able to do this by sending your PORT command. It depends on the client you're using how to set this up and it will be visible in the control channel command flow.
answered Feb 7 at 9:16
SethSeth
6,73611128
6,73611128
Sorry, I was meaning 21-listening, 20-data transfer. SFTP it was only a test, what I need is to make FTP work like that. Do you know and any FTP software that lets you define client PORT? Thanks!
– rul3s
Feb 7 at 9:22
Quite possibly many do it. Among them is FileZilla.
– Seth
Feb 7 at 10:10
I've already checked Filezilla and WinSCP and none of them can (or I didn't find it)... I'm thinking about taking some opensource and modify it, but I thought that already one of them had that option.... :(
– rul3s
Feb 7 at 15:30
Filezilla Network ocnfiguration seems pretty straight forward that it's using port 20 in most cases and in addition you could try to use post login commands. On the other hand if SFTP is working ... just use that and be done with it.
– Seth
Feb 8 at 6:38
add a comment |
Sorry, I was meaning 21-listening, 20-data transfer. SFTP it was only a test, what I need is to make FTP work like that. Do you know and any FTP software that lets you define client PORT? Thanks!
– rul3s
Feb 7 at 9:22
Quite possibly many do it. Among them is FileZilla.
– Seth
Feb 7 at 10:10
I've already checked Filezilla and WinSCP and none of them can (or I didn't find it)... I'm thinking about taking some opensource and modify it, but I thought that already one of them had that option.... :(
– rul3s
Feb 7 at 15:30
Filezilla Network ocnfiguration seems pretty straight forward that it's using port 20 in most cases and in addition you could try to use post login commands. On the other hand if SFTP is working ... just use that and be done with it.
– Seth
Feb 8 at 6:38
Sorry, I was meaning 21-listening, 20-data transfer. SFTP it was only a test, what I need is to make FTP work like that. Do you know and any FTP software that lets you define client PORT? Thanks!
– rul3s
Feb 7 at 9:22
Sorry, I was meaning 21-listening, 20-data transfer. SFTP it was only a test, what I need is to make FTP work like that. Do you know and any FTP software that lets you define client PORT? Thanks!
– rul3s
Feb 7 at 9:22
Quite possibly many do it. Among them is FileZilla.
– Seth
Feb 7 at 10:10
Quite possibly many do it. Among them is FileZilla.
– Seth
Feb 7 at 10:10
I've already checked Filezilla and WinSCP and none of them can (or I didn't find it)... I'm thinking about taking some opensource and modify it, but I thought that already one of them had that option.... :(
– rul3s
Feb 7 at 15:30
I've already checked Filezilla and WinSCP and none of them can (or I didn't find it)... I'm thinking about taking some opensource and modify it, but I thought that already one of them had that option.... :(
– rul3s
Feb 7 at 15:30
Filezilla Network ocnfiguration seems pretty straight forward that it's using port 20 in most cases and in addition you could try to use post login commands. On the other hand if SFTP is working ... just use that and be done with it.
– Seth
Feb 8 at 6:38
Filezilla Network ocnfiguration seems pretty straight forward that it's using port 20 in most cases and in addition you could try to use post login commands. On the other hand if SFTP is working ... just use that and be done with it.
– Seth
Feb 8 at 6:38
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1403029%2fin-an-active-ftp-connection-can-i-define-client-port-ports-to-use%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
If it's an active connection it shouldn't be random. It's using port 20/21 on the server side and actively tell the server your port. On a passive connection the server would tell you the port to connect to.
– Seth
Feb 7 at 9:00
@Seth this is exactly what I'm triying, I know that server part will be 21 listening and 20 serving data, but I need to define the listening data port on the client to make it work. Do you know a FTP client that let's you define the client port? Thanks!
– rul3s
Feb 7 at 9:21