LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-11-2003, 03:23 PM   #1
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Rep: Reputation: 30
ftp question


Hi all,

I am fairly new to ftp. I know it's as basic as it gets, but like I said I'm new to it. Anywho, I wanted to transfer a lot of files from the computer in my wife's office to my RH 8 Pro machine at home, which is directly connected to the web. We were at the office and I opened ftp and connected to the RH machine at home with no problems. By the way, the computer at her office is Windows 98. Now, the important thing to know is that all of these files I was sending were actually folders, with many files in them. Now, what I did was put all these folders into one folder. I opened a command prompt on the 98 machine, changed to that directory, then opened ftp. Here's what I did:

ftp> mput *

That seemed to work, but the weird thing was that I had to click "y" to vberify the sending of the file (folder). First of all, is there a way to send mass amounts of files without having to click "y" for every one? Also, when we came home, I noticed that all the folders transfered were not folders (directories), but just files. Why is that? Can folders be ftp'ed?! Please let me know. I'd like to try to ftp these things again.

Chris
 
Old 05-11-2003, 05:46 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You can't actually copy folders using ftp. Smarter ftp clients can tell what are folders, create a folder on the remote site with that name, then cd to both directories and transfer the files. I think you can use a "-i" switch to turn off interactive prompting.

Try using WS_FTP
http://www.wsftp.com/

You will find it much easier using a GUI to do it.
 
Old 05-11-2003, 06:55 PM   #3
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
Like I said, David, you just can't get rid of me, HA! So, if I install ws_ftp on the win98 machine, I should be able to transfer folders to the linux box? Lemme know, thanks!

Chris

PS. Get in any good golf games lately?
 
Old 05-12-2003, 04:40 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Quote:
Originally posted by cjwsb
Like I said, David, you just can't get rid of me, HA! So, if I install ws_ftp on the win98 machine, I should be able to transfer folders to the linux box? Lemme know, thanks!
Yes - WS_FTP can read folders, create a folder with te same name on the linux box then copy the contents over. Another good FTP client for windows is Smart FTP:
http://www.smartftp.com/

It has many more features but I still prefer WS_FTP for simplicity.

The other option you have is to create a tar/zip archive on windows then ftp the archive and extract it at the other end. This also has the advantage that if you are on a slow network then it should be a lot faster.

Quote:

PS. Get in any good golf games lately?
Funny you should say that. On saturday I won the first round of a 2 round competition (next round is next saturday) with a net 54 and 45 stableford points that cut my hadicap by 3 strokes . Then on Sunday I played in a foursomes competition and we won by 1/2 a stroke!
 
Old 05-13-2003, 04:24 AM   #5
udayan
Member
 
Registered: Apr 2002
Location: India
Distribution: Linux Redhat 7.0
Posts: 62

Rep: Reputation: 16
Cool you can use..

try using "ftp commander" ..

http://www.internet-soft.com/ftpcomm.htm


try the above site... or go for google search..


 
Old 05-13-2003, 07:21 AM   #6
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
Thanks udayan. David, that's awesome! Good for you, dude. 1/2 stroke, eh? Sounds like your definitely much better at golf than I am, lol. Ummmm, one other quick thing. I think the creation of a "tar/zip" file on the Windows box is the best idea, but how do I create a tar archive that Linux will know how to extract? Can tar files be created with, say: Winzip? Lemme know, man! Thx and good luck this coming Saturday!

Chris
 
  


Reply



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
FTP question kuplo Linux - Newbie 1 11-22-2005 07:35 PM
FTP question. eloyj88 Linux - Software 2 06-26-2005 09:14 PM
ftp question gubak Linux - Networking 2 08-17-2004 05:13 AM
Ftp Question eastj1974 Linux - General 4 05-28-2003 02:20 PM
Question about ftp Drogo Linux - Software 2 10-10-2002 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:11 AM.

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
Open Source Consulting | Domain Registration