All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chuck <chuck2007@gelm.net>
To: Bhikkhu Mettavihari <draketools@gmail.com>
Cc: Linux Newbie <linux-newbie@vger.kernel.org>
Subject: Re: ftp large files to new server
Date: Tue, 19 Aug 2008 07:33:29 -0400	[thread overview]
Message-ID: <48AAAF89.1010501@gelm.net> (raw)
In-Reply-To: <2e35683f0808180824h159060f7ga5d6745694794114@mail.gmail.com>

Bhikkhu Mettavihari wrote:
> I live in Sri Lanka and have 2 servers in the USA.
> Server1 is a Debian Box
> Server2 is a shared box where I do not have command line access
>
> I have several large files that I have to upload from server1 to Server2.
> I would first ssh to Server1
> then as root or as a user I will
> #ftp Server2
> I get a login and password
> I am accepted as a user.
> then I give the command
> mput *.mpeg
> and the first file will start going
> Then my ssh will time out before the file is uploaded
> and I do not have the possibility to say continue with the next file
>
> Is there a way of telling my ftp client to do mput without prompting
> me for the next file name.
>
> regards
> Mettavihari
>   
Dear Mettavihari:

 I don't know which 'ftp' server application is being used at your 
servers, but
here are some commands I have used:
binary ( to make the circuit work with non-text/ascii/... data)
prompt (this toggles prompting between files)
hash (this displays an octothorpe "#" for each SIZE bytes transferred ).
passive (allows 'dir' and 'ls' commands through a firewall or proxy)

# ftp -p -i hostname
"-p and -i" invokes 'passive' and 'non-interactive' from command line.

HTH, Chuck



--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

      parent reply	other threads:[~2008-08-19 11:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-18 15:24 ftp large files to new server Bhikkhu Mettavihari
2008-08-18 17:20 ` Bhikkhu Mettavihari
2008-08-19  1:46   ` Module init for compiled in vs loaded modules Fundu
2008-08-19  6:02     ` Santosh
2008-08-19 11:33 ` Chuck [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48AAAF89.1010501@gelm.net \
    --to=chuck2007@gelm.net \
    --cc=chuck2008@gelm.net \
    --cc=draketools@gmail.com \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.