FTP Quote - will it work?!


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting FTP Quote - will it work?!
# 15  
Old 02-22-2011
apologies yes that is what I tried, I can connect successfully A -> B

it is B-C that is failing

I can connect directly to B via telnet then ftp to C (just not via ftp proxy)?!

Looking into "rsh" at the minute, to see if it works.

Last edited by mcclunyboy; 02-22-2011 at 08:30 AM..
# 16  
Old 02-22-2011
In this case the ftpd on B is not configured to be used an 'ftp proxy' - I don't know what's missing.
I could 'ftp proxy' between 3 Solaris boxes in my lab and have been using this 'trick' on a couple of projects.
Sorry, I guess the 'proxy' is out the window - unless somebody knows the culprit....
# 17  
Old 02-22-2011
Ooo light at the end of the tunnel...

i got Ftp proxy working (ish)

Following the same commands earlier but using IP address I get this error message:
"Already connected to serverB IP Address, use close first"

Last edited by mcclunyboy; 02-22-2011 at 09:33 AM..
# 18  
Old 02-22-2011
Quote:
Originally Posted by mcclunyboy
Ooo light at the end of the tunnel...

i got Ftp proxy working (ish)

Following the same commands earlier but using IP address I get this error message:
"Already connected to serverB IP Address, use close first"
then as before:
Code:
ftp serverB
user  blahblah
password  blahblah
proxy open serverC

# 19  
Old 02-22-2011
not working, I attempted a different IP address in a range specifed for my firewall, it worked. When I tried the ip address which was specified for server B (and C's) firewall it fails...its a networking issue which is causing this to fail.

I need to try and get rsh working - Can anyone give me examples of how to use this, specifically from command line for testing then I can implement into a script like the kind user showed. Will rsh be able to execute an FTP script - "ftpscript1" as a normal user would?

i appreciate your help btw

---------- Post updated at 10:59 AM ---------- Previous update was at 09:06 AM ----------

going to ignore ftp now.

ssh access seems the most likely or a cronjob (can someone help with a script)..also ssh always prompts for password -need to avoid that.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

PING to AIX works but TELNET FTP SSH doesn't work

root@PRD /> rsh DR KFAFH_DR: protocol failure due to unexpected closure from server end root@PRD /> telnet DR Trying... Connected to DR. Escape character is '^]'. Connection closed. root@PRD /> ftp DR Connected to KFAFH_DR. 421 Service not available, remote server has closed connection... (2 Replies)
Discussion started by: filosophizer
2 Replies

2. Shell Programming and Scripting

FTP xlsx file doesn't work ...contains wierd characters.

Guys, I've a xlsx file containing pivot tables and my job is to FTP it from one Linux terminal to another. I use the script below : ftp -in xxxx > /ftp.log 2>&1 <<EOT user xxx yyyy binary cd <directory> put xxx.xlsx `basename xxx.xlsx` bye EOT After the file is received in the FTP... (2 Replies)
Discussion started by: bhagat.singh-j
2 Replies

3. Shell Programming and Scripting

Replacing all but the first and last double quote in a line with a single quote with awk

From: 1,2,3,4,5,This is a test 6,7,8,9,0,"This, is a test" 1,9,2,8,3,"This is a ""test""" 4,7,3,1,8,"""" To: 1,2,3,4,5,This is a test 6,7,8,9,0,"This; is a test" 1,9,2,8,3,"This is a ''test''" 4,7,3,1,8,"''"Is there an easy syntax I'm overlooking? There will always be an odd number... (5 Replies)
Discussion started by: Michael Stora
5 Replies

4. Shell Programming and Scripting

Replacing Double Quote in Double Quote incsv file

Hi All , We have source data file as csv file and since data could contain commas ,each attribute is quoted into double quotes.However problem is that some of the attributa data also contain double quotes which is converted to double double quote while creating csv file XLs data : ... (2 Replies)
Discussion started by: Shalini Badal
2 Replies

5. Shell Programming and Scripting

replacing a quote in some lines with multiple quote fields

i want to replace mistaken quotes in line starting with tag 300 and relocate the quote in the correct position so the input is 223;25 224;20100428064823;1;0;0;0;0;0;0;0;8;1;3;9697;18744;;;;;;;;;;;; 300;X;Event:... (3 Replies)
Discussion started by: wradwan
3 Replies

6. Shell Programming and Scripting

Regex in grep to match all lines ending with a double quote (") OR a single quote (')

Hi, I've been trying to write a regex to use in egrep (in a shell script) that'll fetch the names of all the files that match a particular pattern. I expect to match the following line in a file: Name = "abc" The regex I'm using to match the same is: egrep -l '(^) *= *" ** *"$' /PATH_TO_SEARCH... (6 Replies)
Discussion started by: NanJ
6 Replies

7. Shell Programming and Scripting

double-quote inside double-quote

hey all, i made a simple .sh like this: echo "<style media="screen" type="text/css">@import url("main.css");</style>" but the output is: <style media=screen type=text/css>@import url(main.css);</style> i want to keep double-quotes, can anyone help me? thanks (3 Replies)
Discussion started by: indraf
3 Replies

8. Shell Programming and Scripting

Capturing Data between first quote and next quote

I have input file like RDBMS FALIURE UTY8703 'USER_WORK.TEST' .HIghest return code '12' I want to parse data which comed between first quote till next quote USER_WORK.TEST can you please suggest how to do that (4 Replies)
Discussion started by: scorp_rahul23
4 Replies

9. UNIX for Dummies Questions & Answers

FTP doesn't work

Hi! I have 2 servers. The firts has vsftpd server with this configuration: # Example config file /etc/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to make the ftp daemon more usable. # Please see vsftpd.conf.5 for all... (2 Replies)
Discussion started by: Torquemada
2 Replies

10. UNIX for Advanced & Expert Users

FTP Server doesn't work??

I appreciate iif anybody can help me with this issue. I set up a Linux FTP server which is authorized user ID from AD. I do some configuration on vsftpd.conf file but it doesn't work out. I copy these configuration, can you help me to check again as when i connect through browser it always give me... (2 Replies)
Discussion started by: cthinh
2 Replies
Login or Register to Ask a Question