|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
please help am struggling
Can somebody please help me in understanding this code and ftp in general.
ftp –i –n –v <<! open ftp.mydomain user incoming_orders password cd unix_lighbulbs binary put $1 ! if ($? –ne 0 ) then printf “%s\n” “$SCRIPT : ftp transfer failed” >&2 exit 192 endif Thanks sonya |
|
#2
|
|||
|
|||
|
Quote:
Hello Sonya, always the same reply: you have to study man ftp and some tutorial of shell programming. There is no other way how to proceed. Look at the paragraph "Hier document". I repeat my question: what Unix do you use? The line endif is illegal in ksh or bash or sh shell script. Good luck! ![]() |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > please help am struggling |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|