Passing parameters to bash script
Ive set up the following ftp script. (called FTP)
Code:
#!/bin/sh the screen.jpg file is in the working directory at the time but it outputs ./FTP: line 5: Screen1.jpg: command not found (local-file) (remote-file) Any ideas? |
i'm not sure but try this one
./FTP ./screen.jpg greetz |
Code:
FILE= $1 |
Thanks Dark_Helmet. You were spot on.
|
you can use $HOME/.netrc file to automate ftp transactions
man netrc |
All times are GMT -5. The time now is 07:22 AM. |