Re: Can't get remote files - what am I doing wrong?
On 03/06/2002 14:56:47 dale wrote: [snip] wget ftp://user:[EMAIL PROTECTED]/folder1/folder2/*s.csv I get an error message of no match and if I use: wget --glob=on ftp://user:[EMAIL PROTECTED]/folder1/folder2/*s.csv I also get no match In the future, please post the output with the -d switch added. (did you read the instructions ?) [snip] The Mac machine I am using for testing is behind our firewall, but there is a hole opened to allow my internal IP to reach the specific remote IP. [snip] Because you didn't include the output with the -d switch, I'm guessing. Do you use a proxy to go through the firewall ? A lot of proxies issue HTTP requests even for FTP. HTTP cannot glob. p.s. The reply-to address has been anti-spammed (I hope anyway), please post any replies to the list. Somebody at Ultimate Search (the owner of nospam.net) will be mightily surprised. What you did can be interpreted as email address forgery. Please in the future use addresses which end in .invalid (this top level domain is guaranteed to always be, err, invalid), e.g. [EMAIL PROTECTED] -- Csaba Ráduly, Software Engineer Sophos Anti-Virus email: [EMAIL PROTECTED]http://www.sophos.com US Support: +1 888 SOPHOS 9 UK Support: +44 1235 559933
Re: Can't get remote files - what am I doing wrong?
On 05/06/2002 13:08:05 drt - lists wrote: Thank for no help. If this is typical of how you reply to your customers I do *not* reply to customers. I am a developer, and post here as a private individual. Perhaps I should unsubscribe altogether. [snip] The Mac machine I am using for testing is behind our firewall, but there is a hole opened to allow my internal IP to reach the specific remote IP. [snip] Because you didn't include the output with the -d switch, I'm guessing. Do you use a proxy to go through the firewall ? A lot of proxies issue HTTP requests even for FTP. HTTP cannot glob. Yes we do, So there is a proxy after all. and no, it doesn't issue an ftp request as I have an opening for this specific request - which if you had bothered to read my message instead of trying to attack you would know that. Here is the part that you ignored which addresses the accusation above. ^^ Huh ? I described a scenario which could have caused the failure you described. I did not *accuse* you of using a proxy ! --- The Mac machine I am using for testing is behind our firewall, but there is a hole opened to allow my internal IP to reach the specific remote IP. And using the first example above it does connect so I know I am getting through the firewall. --- Note that if wget is set up to use the proxy by default (env. var, wgetrc) then it'll use the proxy even if it could connect directly through the hole in the firewall. The first example (which I snipped) did not use globbing. That would succeed regardless of whether wget connected directly or through a HTML-ized proxy. We're not getting any closer to a solution. Please post the output of the failed request (the one that fails) in debugging mode (be careful to obscure any possible passwords). [ad hominem attack snipped] I apologise. Although I consider what I've written to be valid, the tone was not. I claim temporary loss of diplomatic abilities. -- Csaba Ráduly, Software Engineer Sophos Anti-Virus email: [EMAIL PROTECTED]http://www.sophos.com US Support: +1 888 SOPHOS 9 UK Support: +44 1235 559933
Can't get remote files - what am I doing wrong?
Hello, I am using wget v1.8.1 on Mac OS X. If I enter the following from the command line I get a listing of the contents of the remote directory saved as index.html wget ftp://user:[EMAIL PROTECTED]/folder1/folder2/ (names changed of course to preserve security) However, if I do the following: wget ftp://user:[EMAIL PROTECTED]/folder1/folder2/*s.csv I get an error message of no match and if I use: wget --glob=on ftp://user:[EMAIL PROTECTED]/folder1/folder2/*s.csv I also get no match What I am trying to do is get a single file from this remote directory and the only thing I can key off is that the filename ends with s.csv I can't use just .csv as there are many other files in the same directory that also end with .csv which are not wanted. We will have further processing of the files once they get on the local machine. Once I have this working from my machine, I will create an input file to request the 4 different files I need. If I use: wget -nd ftp://user:[EMAIL PROTECTED]/folder1/folder2/*s.csv on my redhat linux box, then I get the file I expect - the redhat box is running wget v1.7. The Mac machine I am using for testing is behind our firewall, but there is a hole opened to allow my internal IP to reach the specific remote IP. And using the first example above it does connect so I know I am getting through the firewall. Any ideas or suggestions as to what is going wrong here? Thanks Dale p.s. The reply-to address has been anti-spammed (I hope anyway), please post any replies to the list.