Bigbruin.com
Home :: Reviews & Articles ::
Forum :: Info :: :: Facebook :: Youtube :: RSS Feed
Search  :: Register :: Log in
help with mput command
Post new topic   Reply to topic    Bigbruin.com Forum Index -> Software
View previous topic :: View next topic  
Author Message
Doctor Feelgood
Arrrrghh!


Joined: 07 Apr 2003
Posts: 20349
Location: New Jersey

PostPosted: Wed, 03 Aug 2005 19:02:06    Post Subject: help with mput command Reply with quote View Single Post

I am using ftp to transfer the server's backup files to a secondary server, and I'm using mput.

The data I want to move has a main folder, with some files in it, as well as one other folder with some more files in it.

When I mput * in the main folder, it sends all the files at that level, but won't do the subfolder or any of its files.

How can I make mput do it all at once?

Thanks!
Back to top
View user's profile Send private message Visit poster's website
Little Bruin
Boo Boo

Joined: 07 Apr 2003
Posts: 667
Location: Pic-A-Nic Basket
IceNine
*The Freshest*


Joined: 08 Sep 2003
Posts: 1459
Location: Bel Air

PostPosted: Wed, 03 Aug 2005 19:39:42    Post Subject: Reply with quote View Single Post

I would tar.gz it first. Or use SCP instead of MPUT. I could not find a 'recursive' flag on the manpage.
_________________

A letter to a soldier
Back to top
View user's profile Send private message
Doctor Feelgood
Arrrrghh!


Joined: 07 Apr 2003
Posts: 20349
Location: New Jersey

PostPosted: Wed, 03 Aug 2005 19:42:24    Post Subject: Reply with quote View Single Post

The files are all tar.gz

There are 7 files in the main folder, and then seven more in the subfolder, all of which I want separate.

SCP means what in this case? Before FTP I was using SCP as the means of copying them, but I no longer have the ability to do that on the second server... But, I think you are talking about something different anyway.

Thanks!
Back to top
View user's profile Send private message Visit poster's website
IceNine
*The Freshest*


Joined: 08 Sep 2003
Posts: 1459
Location: Bel Air

PostPosted: Wed, 03 Aug 2005 19:45:47    Post Subject: Reply with quote View Single Post

Oh. No shell access eh? You'd need that for SCP.

What you could do after that point is tar up all the files and dirs containing those tgz files. That would create ONE file for them - and no need to re-gzip them...

_________________

A letter to a soldier
Back to top
View user's profile Send private message
Doctor Feelgood
Arrrrghh!


Joined: 07 Apr 2003
Posts: 20349
Location: New Jersey

PostPosted: Wed, 03 Aug 2005 19:50:54    Post Subject: Reply with quote View Single Post

I guess we were talking about the same thing for SCP... I was just relating SCP to being like FTP and not mput.

Anyway... That second server I had is no longer, but the new owner gave me an FTP account for backups as part of the deal! Grin
Back to top
View user's profile Send private message Visit poster's website
IceNine
*The Freshest*


Joined: 08 Sep 2003
Posts: 1459
Location: Bel Air

PostPosted: Wed, 03 Aug 2005 19:53:28    Post Subject: Reply with quote View Single Post

I was just saying that SCP can be recursive, but since you don't have shell access, try my other suggestion. Smile Or if that doesn't work for you I can dig something else up. I've read a bunch of posts that say MPUT cannot go recursive.
_________________

A letter to a soldier
Back to top
View user's profile Send private message
Doctor Feelgood
Arrrrghh!


Joined: 07 Apr 2003
Posts: 20349
Location: New Jersey

PostPosted: Wed, 03 Aug 2005 20:06:01    Post Subject: Reply with quote View Single Post

I think my solution is to just change the naming structure I created for these auto-generated files... so, they can all be kept in one folder and easily copied to the backup server... thanks.
Back to top
View user's profile Send private message Visit poster's website
Little Bruin
Boo Boo

Joined: 07 Apr 2003
Posts: 667
Location: Pic-A-Nic Basket
thePMG
Rated XXX


Joined: 24 Apr 2004
Posts: 393
Location: Germany

PostPosted: Wed, 03 Aug 2005 21:48:25    Post Subject: Reply with quote View Single Post

http://winscp.net/eng/index.php

Works great for windows users, if you have shell access on your Linux machines. (and you should)

_________________
It's got something to do with motherboards and fuzzy logic, f**k, I don't know...
Back to top
View user's profile Send private message
Doctor Feelgood
Arrrrghh!


Joined: 07 Apr 2003
Posts: 20349
Location: New Jersey

PostPosted: Wed, 03 Aug 2005 21:51:34    Post Subject: Reply with quote View Single Post

Yeah, my deal is two Linux machines... one with shell access, the other without.

Thanks for the link though... I am going to keep that for transfers home. Grin
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Bigbruin.com Forum Index -> Software All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Contact Us :: On Facebook :: On Youtube :: Newsletter :: RSS Feed :: FAQ :: Links :: Sponsors :: Privacy Policy
Copyright © 2000 - 2023 Bigbruin.com - All rights reserved