![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | 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. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DHCP problem and eth1 problem | sllinux | UNIX for Dummies Questions & Answers | 0 | 10-23-2009 03:45 AM |
| Mail Problem. Maybe, it is a DNS Problem! | pintalgi | Red Hat | 1 | 07-19-2009 05:01 PM |
| user login problem & Files listing problem. | pernasivam | AIX | 1 | 06-18-2009 10:09 AM |
| problem in finding a hardware problem | girish.batra | SUN Solaris | 8 | 09-09-2008 11:10 AM |
| ssh script problem problem | pcjandyala | Shell Programming and Scripting | 2 | 07-31-2008 04:27 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
ftp problem
Hello, I have a very simple script that put a file in server ftp Code:
#!/bin/bash var="ITW-trail-templiers-samedi" cd /Users/$USER/Desktop ftp -n >&1 << EOF open server quote user "user" cd oberon binary put "$var" bye EOF I have error : Code:
200 Type set to IMAGE. remote: ITW-trail-templiers-samedi ftp: Can't open `ITW-trail-templiers-samedi\r': No such file or directory 221 Goodbye I don't understand ??? If i write the name of the file, not $var....it's works fine ???? ---------- Post updated at 02:53 AM ---------- Previous update was at 02:40 AM ---------- I find my error, my file must be an argument of my script Thanx |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|