![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| shell script to ftp the files from windows to unix server | kavithakuttyk | Shell Programming and Scripting | 10 | 10-15-2009 06:00 PM |
| Executing a shell script from windows;script present in unix | rajneesh_kapoor | UNIX for Advanced & Expert Users | 4 | 05-08-2009 03:54 PM |
| shell script to transfer files from Unix to Windows | knag | Shell Programming and Scripting | 15 | 12-05-2006 05:46 PM |
| ftp files from Unix to Windows through shell program | whatisthis | Shell Programming and Scripting | 7 | 05-04-2005 10:28 AM |
| FTP Shell Scripts from Windows to Unix: files have exotic characters | Laud12345 | Shell Programming and Scripting | 4 | 02-17-2005 05:57 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Shell script to ftp files from windows to unix
Hi ,
I need to ftp some input files from windows to unix server.All the files will be saved in the C drive in my machine.Currently all these files are transferring manually to the unix server.I need to write a shell script which ftp the files from windows to unix box.When I searched in the forum i got the below mentioned script to ftp the files.It works fine when i ftp the files from one unix server to another unix server.But it is not working when i tried from Windows to unix .I am getting the below mentioned error message.can anybody help me on this? HOST=111.212.242.233 PASSWORD=xxxx USER=kk1234 FILE_NAME=test1.dat ftp -v -n ${HOST} << cmd user ${USER} ${PASSWORD} cd /home/kkk/test/ lcd C:\Documents and Settings\Folder1get ssh_install ls ${FILE_NAME} get ${FILE_NAME} quit cmd ERROR MESSAGE ------------------- ftp: connect: Connection timed out Not connected. Not connected. usage:lcd local-directory Thanks |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|