Hagen, I am sorry to bug you again, I am still unable to get this to work on my machine. If I can get it to work I will spot you some more cash because this program will save me a lot more time. I am pretty sure it is a problem with my setup. So if you have some desire to help my troubleshoot this I would appreciate it. Below are the details of my issue. I am still unable to get it to read the config file, so I have added a new environment variable for the proxy server authentication. I have also put the ini file in several locations, though none seem to take effect. I had to block the username/password/ip addresses so I don't loose my job. Sorry, but I am a little worried sending that out initially. I have the following setup: Testing on Windows XP (Will be run on windows 2003 advanced server. Yeah I know, not as good as Linux >:( but what can I do... ) C:\WPUT\wput.exe (0.5 version) C:\WPUT\wputrc C:\WPUT\wputrc.ini (copy of file C:\WPUT\wputrc. This file is attached) C:\WPUT\wput.ini (copy of file C:\WPUT\wputrc. This file is attached) C:\wput.ini (copy of file C:\WPUT\wputrc. This file is attached) C:\wputrc (copy of file C:\WPUT\wputrc. This file is attached) Windows Environment Variables set (yeah you were correct on how to set this in windows.) SET WPUTRC=C:\WPUT\wputrc.ini SET ftp_proxy=http://proxyuser:proxypass@proxyserver:8088 Command Run: C:\WPUT\wput.exe test.txt ftp://ftpsiteuser:ftpsitepass@ftp.somedomain.com/upload/ -o C:\WPUT\log.txt -v -d Any Suggestions would be welcomed. Thank you for your time, JB Below is what I am seeing in the log file for this of course I had to block out the user name/passwords/ip addresses in all the files due to trying not to lose my job (ha-ha)... Added file `test.txt' to queue. Added URL `ftp://ftpsiteuser:ftpsitepass@ftp.somedomain.com/upload/' to queue. processing queue: File: `test.txt' URL : `ftp://ftpsiteuser:ftpsitepass@ftp.somedomain.com/upload/' IP of `ftp.somedomain.com' is `64.1XX.1XX.3X' PRE_GUESS: local_file: test.txt remote_path: upload remote_file: (0) POST_GUESS: local_file: test.txt remote_path: upload remote_file: test.txt Searching for skip_entry ftp://ftpsiteuser:ftpsitepass@64.1XX.1XX.3X:21/upload --13:14:00-- `test.txt' => ftp://ftpsiteuser:xxxxx@64.1XX.1XX.3X:21/upload/test.txt Connecting to 64.1XX.1XX.3X:21... Doing proxy connection c_sock: 7a8 initiating timeout connect (300) (7a8) proxy-connect: 'CONNECT 64.1XX.1XX.3X:21 HTTP/1.0 Proxy-Authorization: Basic YnJpZ2hhbWoASmJpbjJpaHcA! ' (IP 248fb540) connectedReceive-Error: Invalid FTP-answer (29 bytes): xy-agent: CacheFlow-Proxy/1.0 Reconnecting to be sure, nothing went wrong Waiting 10 seconds... Closing connection ---->QUIT Receive-Error: Invalid FTP-answer (0 bytes): Reconnecting to be sure, nothing went wrong Connecting to 64.1XX.1XX.3X:21... Doing proxy connection c_sock: 7a8 initiating timeout connect (300) (7a8) proxy-connect: 'CONNECT 64.1XX.1XX.3X:21 HTTP/1.0 Proxy-Authorization: Basic YnJpZ2hhbWoASmJpbjJpaHcA! ' (IP 248fb540) connectedReceive-Error: Invalid FTP-answer (29 bytes): xy-agent: CacheFlow-Proxy/1.0 Reconnecting to be sure, nothing went wrong Waiting 10 seconds... Closing connection ---->QUIT Receive-Error: Invalid FTP-answer (0 bytes): Reconnecting to be sure, nothing went wrong Connecting to 64.1XX.1XX.3X:21... Doing proxy connection c_sock: 7a8 initiating timeout connect (300) (7a8) proxy-connect: 'CONNECT 64.1XX.1XX.3X:21 HTTP/1.0 Proxy-Authorization: Basic YnJpZ2hhbWoASmJpbjJpaHcA! ' (IP 248fb540) connectedReceive-Error: Invalid FTP-answer (29 bytes): xy-agent: CacheFlow-Proxy/1.0 Reconnecting to be sure, nothing went wrong Waiting 10 seconds... Closing connection ---->QUIT Receive-Error: Invalid FTP-answer (0 bytes): Reconnecting to be sure, nothing went wrong Connecting to 64.1XX.1XX.3X:21... Doing proxy connection c_sock: 7a8 initiating timeout connect (300) (7a8) proxy-connect: 'CONNECT 64.1XX.1XX.3X:21 HTTP/1.0 Proxy-Authorization: Basic YnJpZ2hhbWoASmJpbjJpaHcA! ' (IP 248fb540) connectedReceive-Error: Invalid FTP-answer (29 bytes): xy-agent: CacheFlow-Proxy/1.0 Reconnecting to be sure, nothing went wrong Waiting 10 seconds... Closing connection ---->QUIT Receive-Error: Invalid FTP-answer (0 bytes): Reconnecting to be sure, nothing went wrong Connecting to 64.1XX.1XX.3X:21... Doing proxy connection c_sock: 7a8 initiating timeout connect (300) (7a8) proxy-connect: 'CONNECT 64.1XX.1XX.3X:21 HTTP/1.0 Proxy-Authorization: Basic YnJpZ2hhbWoASmJpbjJpaHcA! ' (IP 248fb540) connectedReceive-Error: Invalid FTP-answer (29 bytes): xy-agent: CacheFlow-Proxy/1.0 Reconnecting to be sure, nothing went wrong Waiting 10 seconds... Closing connection ---->QUIT Receive-Error: Invalid FTP-answer (0 bytes): Reconnecting to be sure, nothing went wrong Connecting to 64.1XX.1XX.3X:21... Doing proxy connection c_sock: 7a8 initiating timeout connect (300) (7a8) proxy-connect: 'CONNECT 64.1XX.1XX.3X:21 HTTP/1.0 Proxy-Authorization: Basic YnJpZ2hhbWoASmJpbjJpaHcA! ' (IP 248fb540) connectedReceive-Error: Invalid FTP-answer (29 bytes): xy-agent: CacheFlow-Proxy/1.0 Reconnecting to be sure, nothing went wrong Waiting 10 seconds... Closing connection ---->QUIT Receive-Error: Invalid FTP-answer (0 bytes): Reconnecting to be sure, nothing went wrong Connecting to 64.1XX.1XX.3X:21... Doing proxy connection c_sock: 7a8 initiating timeout connect (300) (7a8) proxy-connect: 'CONNECT 64.1XX.1XX.3X:21 HTTP/1.0 Proxy-Authorization: Basic YnJpZ2hhbWoASmJpbjJpaHcA! ' (IP 248fb540) connectedReceive-Error: Invalid FTP-answer (29 bytes): xy-agent: CacheFlow-Proxy/1.0 Reconnecting to be sure, nothing went wrong Waiting 10 seconds... -----Original Message----- From: Hagen Fritsch [mailto:hagen@itooktheredpill.dyndns.org] Sent: Saturday, December 18, 2004 3:32 AM To: james_brigham@hotmail.com Subject: Re: wput: bug-report Hi, wput is mainly written for linux, so there the locations are quite clear (/etc/wputrc, /home/user/.wputrc, $WPUTRC). Windows is secondary target and not everything works just as fine. So the home-directory cannot be determined and therefore C:\wput.ini is used or the file to which the environment variable WPUTRC points. I'm not quite sure, but i assume that you can set it using: set WPUTRC="C:\TEMP\wputrc" And you should probably start using Wput 0.5 because the 0.4.x sometimes causes a lot of trouble. Regards, Hagen Am Samstag, 18. Dezember 2004 01:31 schrieben Sie: > Hey there, > Rather than trying to read your source file, I have a quick question if > you have time. I am trying to use your windows version of this program on > Windows XP machine. I need to ftp through a proxy server which requires > authentication. Which is why I am attempting to use your program with a > wputrc configuration file. The issue I have is that it is not clear to me > what to name this file or where to put this file. my directory structure > is as follows... C:\TEMP\wputrc > C:\TEMP\wput.exe (renamed from the wput-0.4.1.exe) > > can you please update your docs on how to use the resource/configuration > file as far as name/location/command line syntax if any. Thanks! > JB -- Mit besten Grüßen Hagen mailto:itooktheredpill@gmx.de http://itooktheredpill.dyndns.org
Attachment:
wputrc.ini
Description: Binary data