Sponsored Content
Full Discussion: Ftp using proxy RHEL 6.2
Special Forums IP Networking Proxy Server Ftp using proxy RHEL 6.2 Post 302968152 by krsnadasa on Friday 4th of March 2016 11:32:21 AM
Old 03-04-2016
Ftp using proxy RHEL 6.2

Hello all

I am connecting vendors ftp site to get the data using our proxy server.
1. First I connect to my company's Proxy Server using ftp.
Code:
ftp myorg.proxy.server

After this command I am connecting to proxy. This does not ask me password.

2. Now from Proxy I run another Ftp command.
Code:
ftp vendors.ftp.site.server

It asks me the password and input it and I get ftp prompt.
Code:
ftp>

Is there any way I can do all these in single command , or can I automate this. I tried but could
not get any proper answer for this case.

I also saw RHEL( RED HAT) FTP manual and found some entry of

Code:
Proxy ftp_commands

This seems is what I am trying to do but I do not know how to use this command.

I am not the admin but a user with limited access. I am on RHEL 6.2.
Can some one please help me out if possible or confirm if this can not be automated?

Thanks

Last edited by vbe; 03-04-2016 at 12:36 PM.. Reason: replaced <> by [] and \ by /
 

10 More Discussions You Might Find Interesting

1. Solaris

Ftp Proxy Solaris 8

Hi All, I need help using the native Solaris 8 ftp client. I need to ftp through a ftp proxy. How would this be confiured on Solaris 8? Any help would be greatly appreciated. (0 Replies)
Discussion started by: cstovall
0 Replies

2. Red Hat

RHEL 4, simltaneous maximum ftp/telnet sessions allowed

Hi Users, Kindly help me with below query of mine. Using Red Hat Linux Enterprise Edition as the client how many simultaneous 1) Maximum FTP sessions are allowed 2) Maximum Telnet sessions are allowed 3) any special settings need to be enabled for maximum telnet and ftp sessions on... (2 Replies)
Discussion started by: newbie07
2 Replies

3. UNIX for Advanced & Expert Users

RHEL 4, simltaneous maximum ftp/telnet sessions allowed

Hi Users, Kindly help me with below query of mine. Using Red Hat Linux Enterprise Edition as the client how many simultaneous 1) Maximum FTP sessions are allowed 2) Maximum Telnet sessions are allowed 3) any special settings need to be enabled for maximum telnet and ftp sessions on... (2 Replies)
Discussion started by: newbie07
2 Replies

4. UNIX for Advanced & Expert Users

Unix FTP Script connecting through proxy Not working

Hi All, can some one please help me to solve this issue, its urgent:confused: We need to FTP a file form our Unix server to an external client FTP location. I am trying to connect to the proxy server first and then use the below USER comment to connect to the external FTP server, and its working... (3 Replies)
Discussion started by: JesusJoseph
3 Replies

5. UNIX for Advanced & Expert Users

Trouble connecting to FTP proxy server

Hi Guys, I have trouble connecting to ftp server. My task is to connect to the proxy server and get the latest file to the local machine. It works fine when i do the same steps manually. I've been trying to do it in multiple ways but im just not able to connect. When i check the log, this is what... (4 Replies)
Discussion started by: stunnerz_84
4 Replies

6. Red Hat

Ftp problem on proxy server

Hi all, First of all i would like to say sorry to all for my english. My name is Mastan. We have an proxy server have 2 lan cards. one is for public and another for private. public ip: 182.72.141.... private ip: 192.168.0.0 So, the thing is i configure ftp server in my local for... (0 Replies)
Discussion started by: mastansaheb
0 Replies

7. Shell Programming and Scripting

send files through ftp using proxy in a loop

Hi, I have a problem with sending files to ftp using proxy. When using this script: #!/bin/bash DIR=/dane_wz ftp -n -v 172.30.100.13 << EOF quote USER xxx@172.25.240.45 quote PASS xxxx passive cd $DIR quit EOFit works fine and I get connection with FTP server, but using the same in a... (2 Replies)
Discussion started by: vrolok
2 Replies

8. Red Hat

RHEL 6 plain telnet & ftp servers

I am being pushed from AIX onto RHEL 6 and after our first 'chuck it on' install, I have a problem. Where is the old (okay insecure) telnet & ftp server? I know that they are probably regarded as archaic now, but the source servers do not have the SSH tools, so I've got to somehow transfer the... (4 Replies)
Discussion started by: rbatte1
4 Replies

9. Red Hat

Implement FTP server on RHEL server without using FTP client

We have RHEL 5.8 in our environment, I had a query whether we can implement an FTP server using vsftpd package and Linux configurations like setsebool without using any external FTP clients like FileZilla etc. I am very confused on this. The FTP functionalities that should be present are download &... (3 Replies)
Discussion started by: RHCE
3 Replies

10. Red Hat

FTP:DELE not deleting directory in RHEL.

Hi, I have a FTP which I am accessing from both RHEL 6.4 and Solaris 10. Strange thing is happening when I am trying to delete a directory in both machines using DELE command, in Solaris operation is successful but RHEL 6.4 is throwing error: 550 Delete operation failed (1 Reply)
Discussion started by: nixhead
1 Replies
netrc(4)						     Kernel Interfaces Manual							  netrc(4)

NAME
netrc, .netrc - Specifies automatic login information for ftp SYNOPSIS
$HOME/.netrc DESCRIPTION
The .netrc file contains the information used by the automatic login (autologin) feature of the ftp command. It is a hidden file in your home directory and must be owned by the user logging in, or by the root user. If the .netrc file contains a login password, the file's permissions must be set to 600 (read and write by owner only). The .netrc file can contain the following entries (separated by spaces, tabs, or newlines): Where host is the name of a remote host. This entry begins the definition of the autologin process for the specified host. All following entries up to the next machine entry or the end of the file apply to that host. This is the same as machine, except that default matches any name. There can be only one default token, and it must appear after all machine tokens. This is normally used as follows: default login anonymous password user@site The preceding command line gives the user automatic anonymous ftp login to machines not specified in .netrc. This can be overriden by using the -n flag to disable autologin. Where user is the username to use at the remote host. If this entry is found, the autologin process initiates a login using the specified name. If this entry is missing, the autologin process fails. Where password is the login password to be used. The autologin process supplies this password to the remote server. A login password must be established at the remote host and that pass- word must be entered in this file, or the autologin process fails and you are prompted for the login password. Where password is the account password to be used. If this entry is found and an account password is required at the remote host, the autologin process supplies the password to the remote server. If the remote host requires an account password but this entry is missing, the autologin process prompts for the account password. Where macro is the name of an ftp subcommand macro. The macro definition starts on the following line and is defined to contain all of the following ftp subcommands up to the next blank line. If the macro is named init, ftp executes the macro upon successful completion of the autologin process. FILES
Contains automatic login information. RELATED INFORMATION
Commands: ftp(1). delim off netrc(4)
All times are GMT -4. The time now is 04:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy