Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to get ftpcopy ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
rtwick
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2002
Posts: 138
Location: Philadelphia

PostPosted: Mon Feb 03, 2003 3:22 pm    Post subject: how to get ftpcopy ? Reply with quote

Hi all,
I just moved form RedHat to Gentoo. Everything's fine so far. However, I can't find ftpcopy. Is it a part of some other package?

Regards
-R'twick
Back to top
View user's profile Send private message
-JeaN-
Apprentice
Apprentice


Joined: 25 Nov 2002
Posts: 211
Location: PaRiS :D

PostPosted: Mon Feb 03, 2003 3:30 pm    Post subject: Reply with quote

Hello rtwick,

Looks like ftpcopy isn't in portage yet, i have no idea if it's uncluded in another package, sorry I'm not of big help here..

Here is an url though i found if you need to install it anyways http://www.ohse.de/uwe/ftpcopy/install.html
I found it doing a simple google search, once again I don't think i'm of great help :?

Hope someone else answers you :D

[edit]Maybe ftpd has it included, but not sure at all...[/edit]
Back to top
View user's profile Send private message
rtwick
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2002
Posts: 138
Location: Philadelphia

PostPosted: Mon Feb 03, 2003 3:35 pm    Post subject: Reply with quote

JeaN,
Thanks for the link. I'll try to install it from its homepage. But I think last week I had it installed on my machine some how ( can't remeber and I have reformatted the machine so can't be sure). May be it was a left over from the redhat as I had upgraded redhat to gentoo last time but wasn't happy so formatted it and installed everything from scratch.
Back to top
View user's profile Send private message
-JeaN-
Apprentice
Apprentice


Joined: 25 Nov 2002
Posts: 211
Location: PaRiS :D

PostPosted: Mon Feb 03, 2003 3:43 pm    Post subject: Reply with quote

Hello rtwick,

Maybe you'd like to check wget, it can do probably the same as ftpcopy, and is included by default in most unix ( i think it's a comonly used program ) here is the url : http://www.gnu.org/manual/wget/html_mono/wget.html#SEC10
Back to top
View user's profile Send private message
rtwick
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2002
Posts: 138
Location: Philadelphia

PostPosted: Mon Feb 03, 2003 3:56 pm    Post subject: Reply with quote

Initially I tried wget when I couldn't find ftpcopy but the problem was I couldn't specify user id/password for the remote ftp site via command line. But no, I installed ftpcopy form the url you specified and all fine now :)

Thanks for your help

-R'twick
Back to top
View user's profile Send private message
-JeaN-
Apprentice
Apprentice


Joined: 25 Nov 2002
Posts: 211
Location: PaRiS :D

PostPosted: Mon Feb 03, 2003 4:02 pm    Post subject: Reply with quote

Hello,

To use login and password you need to pass those arguments in command line to wget :

`login = <yourlogin>' `passwd = <yourpassword>'

Just in case you want to know :)
Back to top
View user's profile Send private message
rtwick
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2002
Posts: 138
Location: Philadelphia

PostPosted: Mon Feb 03, 2003 4:13 pm    Post subject: Reply with quote

Didn't work.. here's what i tried

wget login=rtwick passwd=mypass ftp://192.168.0.156/Downloads/Linux/gentoo-grp-pentium3-1.4_rc2.iso

Result :
--11:11:17-- http://login=rtwick/
=> `index.html'
Resolving login=rtwick... failed: Host not found.
--11:11:17-- http://passwd=mypass/
=> `index.html'
Resolving passwd=mypass... failed: Host not found.
--11:11:18-- ftp://192.168.0.156/Downloads/Linux/gentoo-grp-pentium3-1.4_rc2.iso
=> `gentoo-grp-pentium3-1.4_rc2.iso'
Connecting to 192.168.0.156:21... connected.
Logging in as anonymous ...
The server refuses login.
Retrying.

--11:11:19-- ftp://192.168.0.156/Downloads/Linux/gentoo-grp-pentium3-1.4_rc2.iso
(try: 2) => `gentoo-grp-pentium3-1.4_rc2.iso'
Connecting to 192.168.0.156:21... connected.
Logging in as anonymous ...
The server refuses login.
Retrying.


I also tried

wget --login=rtwick --passwd=mypass ftp://192.168.0.156/Downloads/Linux/gentoo-grp-pentium3-1.4_rc2.iso

Result:
wget: unrecognized option `--login=rtwick'
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
Back to top
View user's profile Send private message
rtwick
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2002
Posts: 138
Location: Philadelphia

PostPosted: Mon Feb 03, 2003 4:16 pm    Post subject: Reply with quote

However, this worked :)

wget ftp://rtwick:mypass@192.168.0.156/Downloads/Linux/gentoo-grp-pentium3-1.4_rc2.iso

Thank you
Back to top
View user's profile Send private message
-JeaN-
Apprentice
Apprentice


Joined: 25 Nov 2002
Posts: 211
Location: PaRiS :D

PostPosted: Mon Feb 03, 2003 4:21 pm    Post subject: Reply with quote

Have you tried this :
Code:
wget `login = rtwick' `passwd = yourpass' ftp://192.168.0.156/Downloads/Linux/gentoo-grp-pentium3-1.4_rc2.iso


It must be the exact quotes ` and ' ;)
Back to top
View user's profile Send private message
rtwick
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2002
Posts: 138
Location: Philadelphia

PostPosted: Mon Feb 03, 2003 4:26 pm    Post subject: Reply with quote

still same problem
Back to top
View user's profile Send private message
-JeaN-
Apprentice
Apprentice


Joined: 25 Nov 2002
Posts: 211
Location: PaRiS :D

PostPosted: Mon Feb 03, 2003 4:33 pm    Post subject: Reply with quote

Hmm I'll give it a try when i'm home :)
Wget is just an awesome program, i'm curious to know how this works :D
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon Feb 03, 2003 5:08 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum