The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
transfer file from unix to windows on same PC monika UNIX for Dummies Questions & Answers 4 05-28-2008 06:35 AM
File transfer between unix and windows server Tlg13team HP-UX 2 02-08-2008 10:40 AM
Transfer files from Unix server to Windows using FTP gjsaravanan UNIX for Dummies Questions & Answers 1 08-22-2005 07:55 PM
transfer of files via ftp from windows to unix chambala5 Shell Programming and Scripting 1 11-09-2004 10:33 AM
Trying to transfer b/w Unix and Windows dirtysparks UNIX for Dummies Questions & Answers 6 09-23-2003 01:59 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-03-2006
ramkumarm83 ramkumarm83 is offline
Registered User
  
 

Join Date: Dec 2006
Posts: 1
How to Transfer a whole Directory from unix to windows using FTP?

Hi

I can transfer a single file and multiple file from unix to widows using get and mget command.But i dont know How to transfer a whole directory from unix to windows using command.

pls help me

Ramkumar
  #2 (permalink)  
Old 12-03-2006
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,715
One way for a single-level directory (no sub-directories - you have to send a tarball for that)
Code:
filenames= $(
find /path -print |\
while read $file 
do
   echo "put $file"
done )

ftp -nv<<EOF
open winnode
user $username $password
ASC
$files
bye
EOF
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On




All times are GMT -4. The time now is 07:55 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0