Just a wild guess, but maybe the password is being expanded by the shell into something else. Try using the --user= and --password= options instead of ftp://user:password@ and put single quotes around them. For example:
$ wget --user='daily_backup' --password='password' \ ftp://harvard.activeworlds.com:24/12-31-2008_sql_backup.zip To rule out a bad ftp server or connection, are you able to download the file using ftp or ncftp or firefox? Regards, - Robert On Tue, Jan 6, 2009 at 3:32 PM, Ron <[email protected]> wrote: > > having trouble with previously working code -- this batch file ftps > a > file from one server to another using wget > > here's what happens when I run it, file just stalls at the last > message from wget, below: > file does not appear to have been transferred, at least I can't find > it. > > muve $/usr/sfw/bin/wget > ftp://daily_backup:[email protected]:24/12-31-2008_sql_backup.zip > --16:14:11-- > ftp://daily_backup:*[email protected]:24/12-31-2008_sql_backup.zip > => `12-31-2008_sql_backup.zip' > Resolving harvard.activeworlds.com... 64.94.241.225 > Connecting to harvard.activeworlds.com[64.94.241.225]:24... > connected. > Logging in as daily_backup ... Logged in! > ==> SYST ... done. ==> PWD ... done. > ==> TYPE I ... done. ==> CWD not needed. > ==> PORT ... done. ==> RETR 12-31-2008_sql_backup.zip ... done. > > thanks, > > -0rsr- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup -~----------~----~----~----~------~----~------~--~---
