|
|
|
|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
ftp script not able to connect to ftp server.
I have the following ftp script to get files from a remote location.
However, on running the script I find that I am not even able to connect to ftp server. I am able to connect to ftp server using other GUI ftp tools like WS_FTP using the same IP. IP used here is a dummy IP. What can go wrong here? #!/bin/ksh ftp -vnd "111.111.111.111" << ++ 1>>readme.log 2>&1 user "me" "passwd" prompt off ascii cd /f001/sftp/abc lcd /export/home/abc get BSH`date +%y%m%d`.HIST bye ++ |
| Sponsored Links |
|
|
|
|||
|
Quote:
it should be modified as Code:
ftp -vnd "111.111.111.111" <<++ 1>>readme.log 2>&1 |
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to connect sftp server using script | kittusri9 | Shell Programming and Scripting | 1 | 05-06-2008 08:12 AM |
| connect to server using ssh | tungaw2004 | UNIX for Dummies Questions & Answers | 0 | 07-27-2007 11:49 PM |
| Could not connect to the server | srikanthus2002 | UNIX for Dummies Questions & Answers | 4 | 11-28-2006 07:31 AM |
| Connect to a Remote Sybase Server Through Script | Aparna_k82 | Shell Programming and Scripting | 3 | 02-17-2006 11:59 AM |
| Connect to a Remote Sybase Server Through Script. | Aparna_k82 | Windows & DOS: Issues & Discussions | 2 | 06-23-2005 12:26 PM |