ftp large files to new server

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
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo [at] 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
Bhikkhu Mettavihari [ Mo, 18 August 2008 17:24 ] [ ID #1964460 ]

Re: ftp large files to new server

Sorry for this,
but here is the answer from myself

ncftpput -u ? -p ? -R servername remotefolder localfolder &

may be others have better solutions.

regards
Mettavihari

On Mon, Aug 18, 2008 at 8:54 PM, Bhikkhu Mettavihari
<draketools [at] gmail.com> 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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo [at] 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
Bhikkhu Mettavihari [ Mo, 18 August 2008 19:20 ] [ ID #1964461 ]

Module init for compiled in vs loaded modules

Hi,

For kernel modules can be loaded by explicitly do insmod etc for ones that are not compiled into the kernel.

1) But where do i look to find how the kernel loads(ie. calls the fn exported by module_init(XXXX)) for modules compiled into the kernel.

2) Does the kernel call some kind of probe to load them ? say i have 2 module compiled into the kernel for 2 diff type of ether cards. Would the kernel call init on both.

thanks !




--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo [at] 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
Fundu [ Di, 19 August 2008 03:46 ] [ ID #1964552 ]

Re: Module init for compiled in vs loaded modules

Fundu wrote:
> Hi,
>
> For kernel modules can be loaded by explicitly do insmod etc for ones that are not compiled into the kernel.
>
> 1) But where do i look to find how the kernel loads(ie. calls the fn exported by module_init(XXXX)) for modules compiled into the kernel.
>
> 2) Does the kernel call some kind of probe to load them ? say i have 2 module compiled into the kernel for 2 diff type of ether cards. Would the kernel call init on both.
>
> thanks !
>

Please do not hijack the thread, it messes up the thread in our mail
boxes and also the archive which will be used by others in the future.

--
Santosh S
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo [at] 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
Santosh [ Di, 19 August 2008 08:02 ] [ ID #1964554 ]

Re: ftp large files to new server

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 [at] 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
Chuck [ Di, 19 August 2008 13:33 ] [ ID #1964555 ]
Linux » gmane.linux.newbie » ftp large files to new server

Vorheriges Thema: Network install fails at TFTP load on client pc
Nächstes Thema: Problems compiling Binutils 2.17