openSUSE Forums > Network/Internet » SOLVED: How do I connect ftp in one command

Go Back   openSUSE Forums > Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read


Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS)

Reply
Page 2 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 20-Jun-2009, 06:57
Explorer Penguin
 
Join Date: Apr 2009
Posts: 690
ab@novell.com hasn't been rated much yet
Default Re: How do I connect ftp in one command

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The last thing worth mentioning is..... why? If this is just to pull down
a file then thre are also better ways of doing this sometimes, such as:

wget ftp://server.goes.here/path/to/file/here/something.ext

Add --ftp-user=user --ftp-password=password if needed.

Good luck.





natural_pilot wrote:
> hmmmm...seems in the fine Linux tradition there is more than one way
> to skin this cat, also..
>
> good on you swerdna..
>
> i had tried that "ftp ftp://.." string with my web host and got
> rejected...i scrolled back in bash history and now see that the
> rejection was due to a simple typo....otherwise i think would have
> found your solution, and saved an hour+ of my life..
>
> oh, i forgot to mention that my 'wisdon' on .netrc came from google
> and http://www.linux.com/archive/feature/119510
> thank you linux.com!
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJKPM64AAoJEF+XTK08PnB5+agP/0w7wNPzLHJUKMRWRKY8KDDV
tpIOnI56sLYiHpRo73kjW/0rA+HHINtpSPFiuIezm4/aY2kUQW7+fmuobLsGJ+qk
lmi8JD5EfgJKU7F5hr+Qe6lVZmDA5mn8AejsLSL4jPHWw/eXeIjap1ZYlkLfEOkx
aCqJVBksR2ebSVUOhmB6upSD0MWbPU9mbbp5Ga9W45MPoKNOiK eUH88tEC1WwVvg
dhd1wuZIy5RncvpnvK1k6lEiVjVuDWq0bEPcWkBqM6AagIlx+L 5GYF1Kp/fHKZHY
93ukeT9N/kAVB46JJXPbuZiBnTVkbwtHeGsh2ljByxo/gAJgYEp3q1poj3Wf8OKc
yYBga2V3WpvNYuP4cGodhYguuCffwHphW53NwjZ5vwEd67a7Qt ckSYREQc6DPrrx
bOYgIsW1LobIXjNfAoyogAixPuvmM6ONyAzWjQdvWKKDQkxrCG WH+4MS29Cn0vPs
P5aLrGig6KaLQU5PoPCbPf/HejX3w1us0bYRRrJs/mHfG98OAFwCYNHKzmhXTm2m
1T1ympEurCdXfqnrD05ELKY8It+udMoikXNYu1gKrAwr4jR/MexZ41ouarO3LNcI
6eiP2UZo+i8klcLvsBIxGC6aajnMrQVG1l1ouvHWR9R8lg5Hmy JILCwthHeVx/XN
nPoPT04rk7WDhGVb7tPM
=9bSr
-----END PGP SIGNATURE-----
Reply With Quote
  #12 (permalink)  
Old 20-Jun-2009, 14:46
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,883
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: SOLVED: How do I connect ftp in one command

Quote:
Originally Posted by natural_pilot View Post
see! you didn't mention in your initial posting that you were wanting
to ftp via a script..

and, now i wonder if you are missing the chance to use rsync??

--
.~.
/V\
/( )\ natural_pilot
^^-^^
Not at all. That's firmly in the back of my mind This current problem is an associated issue.
__________________
Drop in and visit some time.
Reply With Quote
  #13 (permalink)  
Old 20-Jun-2009, 14:48
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,883
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: How do I connect ftp in one command

Quote:
Originally Posted by ab@novell.com View Post
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The last thing worth mentioning is..... why? If this is just to pull down
a file then thre are also better ways of doing this sometimes, such as:

wget ftp://server.goes.here/path/to/file/here/something.ext

Add --ftp-user=user --ftp-password=password if needed.

Good luck.
Thanks ab, I'll look into that -- hadn't even crossed my mind.
__________________
Drop in and visit some time.
Reply With Quote
  #14 (permalink)  
Old 20-Jun-2009, 17:05
PV
Guest
 
Posts: n/a
Default Re: SOLVED: How do I connect ftp in one command

On Sat June 20 2009 02:06 am, swerdna wrote:

>
> natural_pilot;2002041 Wrote:
>> PV wrote:
>> > man ftp

>>
>> what an unhelpful alt.usenet way to post!
>>
>> swerdna, i used to know but haven't used it in so long i've forgotten
>> (dang those GUI thing allow us to forget how to cli!)
>>
>> ha! i've spent over an hour with man ftp and i've not figured it out
>> either, yet..
>>
>> am looking forward to relearning..
>>
>> and, will be watching closely to help PV with his/her next help
>> request.

<snip>

> But thanks for the sentiment natural_pilot. I had of course read the
> man pages and had the same trouble digging the answer out as you. I
> studied it for a long time before asking for help.
>
> I find that a lot of man pages are written by ppl who do really know
> their subject but don't really know how to communicate. Some posters to
> this forum are a bit that way too.
>

<snip>

In retrospect I can see that my overly terse reply was not helpful and I
should have explained more fully. At the time it had seemed to me that the
manual entry was clear that <username>:<password> required the ftp:// prefix.
I extend an apology to Swerdna and the entire Opensuse community.
--
P. V.
"We're all in this together, I'm pulling for you." Red Green
Reply With Quote
  #15 (permalink)  
Old 21-Jun-2009, 02:17
natural_pilot
Guest
 
Posts: n/a
Default Re: SOLVED: How do I connect ftp in one command

PV wrote:
> I extend an apology


accepted.

PS: for any lurking old pharts with lots of newsnet experience--read a
little in these fora as _most_ (like 90%) folks here use it
(http://forums.opensuse.org) and you will see why the full top-post
convention of the old daze is not always useful, here.. (and, a
threaded newsreader is the cat's meow)

PS2: welcome to eye-candy lane...it is a whole nuther world.

--
.~.
/V\
/( )\ natural_pilot
^^-^^
Reply With Quote
  #16 (permalink)  
Old 21-Jun-2009, 04:44
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,883
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: SOLVED: How do I connect ftp in one command

Quote:
I extend an apology to Swerdna and the entire Opensuse community
Thanks -- appreciated
__________________
Drop in and visit some time.
Reply With Quote
Reply
Page 2 of 2 1 2

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2