Guest blnl Posted June 21, 2014 Posted June 21, 2014 The proxy is configured as follows: Code: user123@acc4012 $ export ftp_proxy=this.is.confidential:8080 user123@acc4012 $ echo $ftp_proxy this.is.confidential:8080 user123@acc4012 $ I can successfully retrieve files using wget: Code: user123@acc4012 $ wget -e use_proxy=yes ftp://user.name:secret@home.telfort.nl/TestFile.ods --2014-06-20 21:50:25-- ftp://user.name:*password*@home.telfort.nl/TestFile.ods Resolving this.is.confidential... 134.27.232.42 Connecting to this.is.confidential|134.27.232.42|:8080... connected. Proxy request sent, awaiting response... 200 OK Length: 26296 (26K) Saving to: `TestFile.ods' 100%[=====================================================================================================================================================>] 26,296 --.-K/s in 0.1s Last-modified header invalid -- time-stamp ignored. 2014-06-20 21:50:26 (244 KB/s) - `TestFile.ods' saved [26296/26296] user123@acc4012 $ Still, wput refuses to upload a file: Code: user123@acc4012 $ wput -V wput version: 0.6.1 user123@acc4012 $ wput --proxy=http TestFile.ods ftp://user.name:secret@home.telfort.nl --21:37:18-- `TestFile.ods' => ftp://user.name:xxxxx@home.telfort.nl:21/TestFile.ods Connecting to home.telfort.nl:21... connected! Logging in as user.name ... Logged in! Error: Connection could not be established. Proxy states 'HTTP/1.0 403 Forbidden Mime-Version: 1.0 Date: Fri, 20 Jun 2014 19:37:19 GMT Content-Type: text/html Connection: close Proxy-Connection: close Content-Length: 2303 <!DOCTYPE html PUBLIC "-//W3C//Dtd XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/Dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Notification: Policy: General</title> <style type="text/css"> body { font-family: Ari'Warning: Using port-mode. Unable to use the http-proxy for this connection Receive-Error: Invalid FTP-answer (24 bytes): PORT 92,120,70,35,178,56 Reconnecting to be sure, nothing went wrong Waiting 10 seconds... Receive-Error: read() failed. Read '' so far. (errno: Operation now in progress (115)) Receive-Error: Connection broke down. Connecting to :21... Error: Connection could not be established. Proxy states 'HTTP/1.0 503 Service Unavailable Mime-Version: 1.0 Date: Fri, 20 Jun 2014 19:37:30 GMT Content-Type: text/html Connection: close Proxy-Connection: close Content-Length: 2246 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Notification: DNS Failure</title> <style type="text/css"> body { font-family: Arial, Helvetica, sans-serif; font-size: 14px; color:'failed! Waiting 10 seconds... *** glibc detected *** wput: corrupted double-linked list: 0x00000000019153c0 *** ======= Backtrace: ========= /lib64/libc.so.6[0x3bc9e75916] /lib64/libc.so.6[0x3bc9e786a4] wput[0x406cf4] wput[0x405dff] wput[0x40d06b] wput[0x4023c2] /lib64/libc.so.6(__libc_start_main+0xfd)[0x3bc9e1ecdd] wput[0x401ef9] ======= Memory map: ======== 00400000-00416000 r-xp 00000000 00:1e 69928006 /home/user123/APPS/wput 00615000-00616000 rw-p 00015000 00:1e 69928006 /home/user123/APPS/wput 01913000-01934000 rw-p 00000000 00:00 0 [heap] 3bc9600000-3bc9620000 r-xp 00000000 fd:00 34554 /lib64/ld-2.12.so 3bc981f000-3bc9820000 r--p 0001f000 fd:00 34554 /lib64/ld-2.12.so 3bc9820000-3bc9821000 rw-p 00020000 fd:00 34554 /lib64/ld-2.12.so 3bc9821000-3bc9822000 rw-p 00000000 00:00 0 3bc9e00000-3bc9f89000 r-xp 00000000 fd:00 34555 /lib64/libc-2.12.so 3bc9f89000-3bca189000 ---p 00189000 fd:00 34555 /lib64/libc-2.12.so 3bca189000-3bca18d000 r--p 00189000 fd:00 34555 /lib64/libc-2.12.so 3bca18d000-3bca18e000 rw-p 0018d000 fd:00 34555 /lib64/libc-2.12.so 3bca18e000-3bca193000 rw-p 00000000 00:00 0 3bcba00000-3bcba16000 r-xp 00000000 fd:00 3770 /lib64/libresolv-2.12.so 3bcba16000-3bcbc16000 ---p 00016000 fd:00 3770 /lib64/libresolv-2.12.so 3bcbc16000-3bcbc17000 r--p 00016000 fd:00 3770 /lib64/libresolv-2.12.so 3bcbc17000-3bcbc18000 rw-p 00017000 fd:00 3770 /lib64/libresolv-2.12.so 3bcbc18000-3bcbc1a000 rw-p 00000000 00:00 0 3bd0200000-3bd0216000 r-xp 00000000 fd:00 49774 /lib64/libgcc_s-4.4.6-20120305.so.1 3bd0216000-3bd0415000 ---p 00016000 fd:00 49774 /lib64/libgcc_s-4.4.6-20120305.so.1 3bd0415000-3bd0416000 rw-p 00015000 fd:00 49774 /lib64/libgcc_s-4.4.6-20120305.so.1 7fc5d8add000-7fc5d8ae2000 r-xp 00000000 fd:00 3270 /lib64/libnss_dns-2.12.so 7fc5d8ae2000-7fc5d8ce1000 ---p 00005000 fd:00 3270 /lib64/libnss_dns-2.12.so 7fc5d8ce1000-7fc5d8ce2000 r--p 00004000 fd:00 3270 /lib64/libnss_dns-2.12.so 7fc5d8ce2000-7fc5d8ce3000 rw-p 00005000 fd:00 3270 /lib64/libnss_dns-2.12.so 7fc5d8ce3000-7fc5d8cef000 r-xp 00000000 fd:00 3272 /lib64/libnss_files-2.12.so 7fc5d8cef000-7fc5d8eef000 ---p 0000c000 fd:00 3272 /lib64/libnss_files-2.12.so 7fc5d8eef000-7fc5d8ef0000 r--p 0000c000 fd:00 3272 /lib64/libnss_files-2.12.so 7fc5d8ef0000-7fc5d8ef1000 rw-p 0000d000 fd:00 3272 /lib64/libnss_files-2.12.so 7fc5d8ef1000-7fc5d8ef4000 rw-p 00000000 00:00 0 7fc5d8f1a000-7fc5d8f1d000 rw-p 00000000 00:00 0 7fff75eac000-7fff75ec1000 rw-p 00000000 00:00 0 [stack] 7fff75fab000-7fff75fac000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Aborted user123@acc4012 $ What am I doing wrong? Continue reading... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.