Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to get or put entire directory structure through ftp

Reply
Thread Tools Display Modes

How to get or put entire directory structure through ftp

 
 
jeniffer
Guest
Posts: n/a

 
      05-08-2006, 08:30 AM
I need to transfer an entire directory structure through ftp .How do I
do it?
I am trying to zip the directory structure into 1 single file but its
not working

 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      05-08-2006, 08:38 AM
On 2006-05-08, jeniffer <(E-Mail Removed)> wrote:
> I need to transfer an entire directory structure through ftp .How do I
> do it?


You don't. You use SCP or Rsync for that.

> I am trying to zip the directory structure into 1 single file but its
> not working


Meaning of 'its not working' ?
Davide

--
AFAIR, being insane is usually a pre-requisite for becoming a
sysadmin. In the few cases where it's not pre-requisite, it's
certainly going to be a bonus. --SIggi the Underpaid
 
Reply With Quote
 
jeniffer
Guest
Posts: n/a

 
      05-08-2006, 08:45 AM

Davide Bianchi wrote:
> On 2006-05-08, jeniffer <(E-Mail Removed)> wrote:
> > I need to transfer an entire directory structure through ftp .How do I
> > do it?

>
> You don't. You use SCP or Rsync for that.
>
> > I am trying to zip the directory structure into 1 single file but its
> > not working

>
> Meaning of 'its not working' ?
> Davide
>
> --
> AFAIR, being insane is usually a pre-requisite for becoming a
> sysadmin. In the few cases where it's not pre-requisite, it's
> certainly going to be a bonus. --SIggi the Underpaid

I get this ->
zip A.zip A/*
adding: A/B/ (stored 0%)
adding: A/B.zip (stored 0%)
adding: A/C/ (stored 0%)
adding: A/r.txt (deflated 97%)
adding: A/S/ (stored 0%)
adding: A/D/ (stored 0%)
adding: A/s1/ (stored 0%)
adding: A/s2 (stored 0%)
Files are not stored

 
Reply With Quote
 
Davide Bianchi
Guest
Posts: n/a

 
      05-08-2006, 09:17 AM
On 2006-05-08, jeniffer <(E-Mail Removed)> wrote:
> I get this ->
> zip A.zip A/*
> adding: A/B/ (stored 0%)
> adding: A/B.zip (stored 0%)
> adding: A/C/ (stored 0%)
> adding: A/r.txt (deflated 97%)
> adding: A/S/ (stored 0%)
> adding: A/D/ (stored 0%)
> adding: A/s1/ (stored 0%)
> adding: A/s2 (stored 0%)
> Files are not stored


Do you have permissions to create files in there? It seems that is doing
what he is supposed to be doing.

Davide

--
Here's your cable. We made it fifty feet long, just in case. In case
what, in case tectonic movement makes the serial ports farther apart?
-- Carl Jacobs
 
Reply With Quote
 
Wolf
Guest
Posts: n/a

 
      05-08-2006, 10:16 AM
Try ncftp

 
Reply With Quote
 
Bill Marcum
Guest
Posts: n/a

 
      05-08-2006, 09:24 PM
On 8 May 2006 01:45:59 -0700, jeniffer
<(E-Mail Removed)> wrote:
>
> Davide Bianchi wrote:
>> On 2006-05-08, jeniffer <(E-Mail Removed)> wrote:
>> > I need to transfer an entire directory structure through ftp .How do I
>> > do it?

>>
>> You don't. You use SCP or Rsync for that.
>>
>> > I am trying to zip the directory structure into 1 single file but its
>> > not working

>>
>> Meaning of 'its not working' ?
>> Davide
>>
>> --
>> AFAIR, being insane is usually a pre-requisite for becoming a
>> sysadmin. In the few cases where it's not pre-requisite, it's
>> certainly going to be a bonus. --SIggi the Underpaid

> I get this ->
> zip A.zip A/*
> adding: A/B/ (stored 0%)
> adding: A/B.zip (stored 0%)
> adding: A/C/ (stored 0%)
> adding: A/r.txt (deflated 97%)
> adding: A/S/ (stored 0%)
> adding: A/D/ (stored 0%)
> adding: A/s1/ (stored 0%)
> adding: A/s2 (stored 0%)
> Files are not stored
>


zip -r A.zip A


--
It is better to wear chains than to believe you are free, and weight
yourself down with invisible chains.
 
Reply With Quote
 
Rikishi 42
Guest
Posts: n/a

 
      05-08-2006, 09:41 PM
jeniffer wrote:

> I need to transfer an entire directory structure through ftp .How do I
> do it?

Try using 'mc' (Midnight Commander).


> I am trying to zip the directory structure into 1 single file but its
> not working

If you described WHAT is not working (did you get an error message, is there
no file afterwards, did your machine catch fire, ...)
And it's allways a good idea to say HOW you tried to create that ZIP.


--
Research is what I'm doing, when I don't know what I'm doing.
(von Braun)

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying directory and file structure, while retaining permissions Rob Gordon Windows Networking 1 07-20-2008 12:15 PM
Wireless signal to another structure Information Wireless Networks 3 06-01-2007 02:28 PM
DNS structure Kevin Windows Networking 6 11-17-2005 03:50 AM
Win98 vs XP DNS query structure. Andrew M Windows Networking 1 06-09-2004 01:49 AM
HTTP access to directory structure Clementius Windows Networking 2 04-30-2004 02:22 PM



1 2 3 4 5 6 7 8 9 10 11