niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux
ftp output problem
Post new topic   Reply to topic Page 1 of 1 [8 Posts] View previous topic :: View next topic
Author Message
mihai
*nix forums addict


Joined: 27 Jan 2005
Posts: 71

PostPosted: Thu Mar 24, 2005 12:52 pm    Post subject: re:ftp output problem Reply with quote

try enable the verbose mode ( -v ) see maybe you get more info about th transfer.
Back to top
KerneL
*nix forums beginner


Joined: 28 Jan 2005
Posts: 37

PostPosted: Thu Mar 24, 2005 12:28 pm    Post subject: re:ftp output problem Reply with quote

i don`t get any error but the file isn`t where it`s suppost to be when i type -o /path/file.tar Sad and yes Smile i forgoth about freebsd you should move all this posts to BSD section Smile
Back to top
mihai
*nix forums addict


Joined: 27 Jan 2005
Posts: 71

PostPosted: Thu Mar 24, 2005 12:21 pm    Post subject: re:ftp output problem Reply with quote

oh you posted in the Linux forum I asumed you were using Linux. Smile
You are right the ftp client on freebsd does support the - o option
. Are you getting some error that makes you think that the -o option is not working .
Back to top
KerneL
*nix forums beginner


Joined: 28 Jan 2005
Posts: 37

PostPosted: Thu Mar 24, 2005 12:00 pm    Post subject: re:ftp output problem Reply with quote

I run FreeBSD 5.3-RELEASE-p5
Back to top
mihai
*nix forums addict


Joined: 27 Jan 2005
Posts: 71

PostPosted: Thu Mar 24, 2005 11:50 am    Post subject: re:ftp output problem Reply with quote

what ftp program are you using ?
my ftp client on slackware has this options:
Quote:

ftp -h -v

Usage: { ftp | pftp } [-pinegvtd] [hostname]
-p: enable passive mode (default for pftp)
-i: turn off prompting during mget
-n: inhibit auto-login
-e: disable readline support, if present
-g: disable filename globbing
-v: verbose mode
-t: enable packet tracing [nonfunctional]
-d: enable debugging
Back to top
KerneL
*nix forums beginner


Joined: 28 Jan 2005
Posts: 37

PostPosted: Thu Mar 24, 2005 11:44 am    Post subject: re:ftp output problem Reply with quote

i think it does support because when i type ftp -h i get
Quote:

ftp [-46AadefginpRtvV] [-N netrc] [-o outfile] [-P port] [-r retry]
[-T dir,max[,inc][[user@]host [port]]] [host:path[/]]
[file:///file] [ftp://[user[:pass]@]host[:port]/path[/]]
[http://[user[:pass]@]host[:port]/path] [...]
ftp -u URL file [...]

you can see there -o outfile option
Back to top
mihai
*nix forums addict


Joined: 27 Jan 2005
Posts: 71

PostPosted: Thu Mar 24, 2005 11:41 am    Post subject: re:ftp output problem Reply with quote

not sure if ftp even works like this
ftp ftp://.....
but you might try using
wget ftp://user:pass@host/path/file.tar -O outputfile
or
wget ftp://user:pass@host/path/file.tar --output-file=outputfile
Back to top
KerneL
*nix forums beginner


Joined: 28 Jan 2005
Posts: 37

PostPosted: Thu Mar 24, 2005 11:37 am    Post subject: ftp output problem Reply with quote

how can i put a file via ftp in another dir by one single command line i have tryed
ftp ftp://user:pass@host/path/file.tar -o /dir/file.tar but not working Sad what is the correct command?
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [8 Posts] View previous topic :: View next topic
The time now is Tue Dec 02, 2008 5:51 am | All times are GMT
navigation Forum index » *nix » Linux
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Unknown in header problem -SOLVED- Light Speed Postfix 0 Thu Jul 03, 2008 10:40 am
No new posts problem with sending mail nuxia Postfix 0 Mon Apr 21, 2008 3:58 am
No new posts Postfix 2.3.8 Virtual problem Blotto Postfix 0 Fri Apr 04, 2008 6:11 am
No new posts Postfix sending problem for local domain remote email monkey_magix Postfix 0 Mon Sep 10, 2007 10:17 am
No new posts bounce problem murkis Postfix 0 Sun Oct 08, 2006 3:45 pm

shprrprt.dll | Loans | Best Credit Cards | Gas Suppliers | Mobile Phones
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2381s ][ Queries: 20 (0.1588s) ][ GZIP on - Debug on ]