it would be great if you could integrate this with ksnapshot, so that we could upload screenshots to imageshack or sometother image hosting like tinypic and the url returned would be copied to the clipboard.
Great thing, I thought about making such a menu for my Arcor.de free webspace account. If I want to get access to my web space, I use a terminal, type "ftp" and I'm asked to enter my username and password so I can upload files using "put /local/file /file". Do you know how do insert this procedure into a bash script?
Seems like there's no way to specify user name and password in the command line. Do you now a way to start ftp mode and then enter data with BASH?
#!/bin/bash
ftp
When I run this script in a terminal, I'm asked for my user name and password. Can't I tell the BASH to enter this data for me by telling it what actions to perform (fill in "username" and ENTER, "password" and ENTER...) ?
thanx in advance!
Ratings & Comments
7 Comments
it would be great if you could integrate this with ksnapshot, so that we could upload screenshots to imageshack or sometother image hosting like tinypic and the url returned would be copied to the clipboard.
Its a nice idea but the scp command requires a password. when executing this servicemenu it doesn't prompt me for a password so no file gets uploaded.
amm nice image you've got there. Can you post alink to it please ?
Got it from www.deviantart.com but it seems it's not there anymore.
Great thing, I thought about making such a menu for my Arcor.de free webspace account. If I want to get access to my web space, I use a terminal, type "ftp" and I'm asked to enter my username and password so I can upload files using "put /local/file /file". Do you know how do insert this procedure into a bash script?
I think you can use something like ftp username:pass@my.ftp.site.com
Seems like there's no way to specify user name and password in the command line. Do you now a way to start ftp mode and then enter data with BASH? #!/bin/bash ftp When I run this script in a terminal, I'm asked for my user name and password. Can't I tell the BASH to enter this data for me by telling it what actions to perform (fill in "username" and ENTER, "password" and ENTER...) ? thanx in advance!