LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-27-2014, 02:58 PM   #1
tonj
Member
 
Registered: Sep 2008
Posts: 407

Rep: Reputation: 24
ftp command does not recognise verbosity


centos 5 server:
I'm using ftp to send a single file but I can't get any verbosity to work in the command. these are the commands I use to set up the transfer:
Quote:
# ftp ftp://<ftp-site>
Connected to ftp://<ftp-site>.
220 FTP server ready
500 AUTH not understood
500 AUTH not understood
KERBEROS_V4 rejected as an authentication type
Name (ftp.<ftp-site>:root): <my-username)
331 Password required for <ftp-site>
Password:<my-password>
230 Login successful. Username & password correct; FTP unlocked.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> send -v <my-file>
remote: <my-file>
local: -v: No such file or directory
how do I get more verbosity out of this?

Last edited by tonj; 07-28-2014 at 04:04 AM. Reason: solved
 
Old 07-27-2014, 03:02 PM   #2
notKlaatu
Member
 
Registered: Sep 2010
Location: Wellington, New Zealand
Distribution: Slackware, Fedora
Posts: 960

Rep: Reputation: 609Reputation: 609Reputation: 609Reputation: 609Reputation: 609Reputation: 609
Code:
# ftp -v ftp://<ftp-site>
Invoke verbosity for the session, not on a per-command basis from inside of ftp
 
Old 07-28-2014, 03:41 AM   #3
tonj
Member
 
Registered: Sep 2008
Posts: 407

Original Poster
Rep: Reputation: 24
thanks I tried that and although I didn't get an error message I didn't get any verbosity either. But I solved it, the command to get details is debug.
Quote:
ftp> debug
Debugging on (debug=1).
Quote:
ftp> send <my-file>
---> TYPE I
---> PASV
---> STOR <my-file>

Last edited by tonj; 07-28-2014 at 04:03 AM.
 
Old 07-28-2014, 09:25 PM   #4
notKlaatu
Member
 
Registered: Sep 2010
Location: Wellington, New Zealand
Distribution: Slackware, Fedora
Posts: 960

Rep: Reputation: 609Reputation: 609Reputation: 609Reputation: 609Reputation: 609Reputation: 609
If you have not tried the application ncftp, it might be worth looking at. It's a really nice ftp application (for the shell) that is much more robust than straight ftp.
 
Old 07-29-2014, 03:29 AM   #5
tonj
Member
 
Registered: Sep 2008
Posts: 407

Original Poster
Rep: Reputation: 24
thanks for that, I tried ncftp and it's really good, giving plenty of detail in the console.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no verbosity from rsync tonj Linux - Software 5 02-05-2014 08:31 PM
[SOLVED] RHEL 6 cannot initiate FTP command: bash: ftp: command not found DavidDiepUSC Linux - Newbie 20 11-21-2012 04:37 AM
rsync 3 verbosity guyboisvert Linux - Software 2 06-01-2012 09:26 AM
Changing X verbosity level atunguyd Linux - Newbie 3 07-24-2008 01:28 AM
test26.s doesn't recognise DVD drive, other kernels won't recognise HDD v@ny@ Slackware - Installation 15 05-31-2007 06:03 AM


All times are GMT -5. The time now is 05:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration