![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shared Home directory between Unix servers | raghav288 | Filesystems, Disks and Memory | 0 | 02-22-2008 12:45 AM |
| Copy files from the file to another directory | shreethik | SUN Solaris | 4 | 12-20-2007 12:26 PM |
| copy file to a directory by sequence | fooky | UNIX for Dummies Questions & Answers | 4 | 11-24-2007 06:40 PM |
| Copy file from unix box to other | FORUM | UNIX for Dummies Questions & Answers | 1 | 01-25-2006 06:29 AM |
| How to copy unix file to floppy | BillyT | UNIX for Dummies Questions & Answers | 1 | 01-23-2001 09:28 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
copy file from UNIX to shared directory
Hi,
I want to copy a file from unix machine to a shared windows directory. i tried using the ftp command but i was able to transfer the file only to my local directory. Is there any way we can transfer/copy the files from unix to windows shared directory.......... Please help. Thanks |
| Forum Sponsor | ||
|
|
|
|||
|
Quote:
|
|
|||
|
Hi i tried using the following scrpit to copy a file from UNIX(i'm using Vi editor)
to windows echo "Enter the unix filename path /home/file >"; read unix_dir; echo "Enter the Windows Folder < Give the Full Path - C:\File>"; read windows_dir; echo "Enter the File Name(s) to Be FTPed "; read file_name; ( echo "open <ip address>" echo "lcd $unix_dir" echo "cd $windows_dir" echo "mput $file_name" echo "bye" ) > filetransfer.sh sh /usr/bin/ftp -scv < filetransfer.sh I'm getting the following error /usr/bin/ftp: syntax error at line 1: `(' unexpected Please help me .regarding this error...... Thanks... |
|||
| Google The UNIX and Linux Forums |
| Thread Tools | |
| Display Modes | |
|
|