@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13



Comments:

<0> for every 5 minute
<1> No, the problem has nothing whatsoever to do with "making a crontab".
<2> so do it with a little shell script and run that from your crontab.,.
<0> to ftp thedomain then user/p*** then cd /path/to/dir; wget http://shell.gigared.org/~Reach/estadistica.html
<2> no.. no.. and .noo .. you CAN NOT DO.. what you want to do..
<0> but i need the command to how to upload the file on that ftp account
<1> DoMiNiCaNo: With your nick, I doubt you'll listen, but 'man ftp'.
<0> there is not understanding me :(
<2> you want to get a file from site a) http://shell.gigared.org/~Reach/estadistica.html and you want to transfer it to site b) ftp.thedomain.com ? and you want to do this every 5 minutes.. ? do you have a shell account on ftp.thedomain.com? is that where you are ssh'd into ?
<2> 3 questions.. yes or no answers..
<2> I can't help you if you don't answer my questions.. are they clear enough? do you understand them >
<2> ?
<3> DoMiNiCaNo: take a deep breath
<3> you can do this



<3> we're all counting on you
<4> acl Safe_ports port 8021 433 563
<4> sorry
<4> -----------------
<4> acl Safe_ports port 80 21 433 563
<4> http_access allow Safe_ports
<4> why my squid dont accept ssl connections ?
<2> isn't ssl 443 ?
<5> yup
<2> bklaptop:~>cat /etc/services | grep 443
<2> https 443/tcp # http protocol over TLS/SSL
<2> https 443/udp
<4> yes but when i try to open any site with SSL it doesn work
<0> perplexity yes i want to transfer the site to the ftp ftp.domain.com in SSH
<4> simple http connections works perfectly
<2> ok.. are you ssh'd into ftp.domain.com or do you have a shell account there ?
<4> https doesn`t
<5> Sinoid: ssl works via port 443. look at what you have again, closely.
<2> read the stuff you posted again Sinoid
<0> i can`t ssh into the ftp.domain.com
<0> i have another account
<0> on that account i can ftp ftp.domain.com
<2> ok, so you can't do it directly from one machine to the other.. you need to do it in 2 steps..
<0> and i connect it
<0> right
<4> Fiver what i must look ??? 443 is allowed
<2> from the http box to machine "C" and then from machine "C" to the ftp box
<5> Sinoid: not according to what you pasted it's not. look again.
<2> Sinoid look at it *again* and closer this time
<0> nop perplexity
<0> damn i am very confuse
<0> agrr
<2> no DoMiNiCaNo ... listen to me very closely
<0> let msg you
<2> no..
<2> listen to me closely..
<0> you sicking me :(
<2> wait.. I have an idea..
<0> look perp
<0> (07:04:16) [Reach@shell Reach] $ id
<0> uid=1052(Reach) gid=1052(Reach) groups=1052(Reach)
<0> this is my account
<2> on which box
<0> (07:04:17) [Reach@shell Reach] $ ftp ftp.canalmetropoli.com
<0> Connected to ftp.canalmetropoli.com.
<0> 220 ProFTPD 1.3.0rc2 Server (ProFTPD on Lemoore.MHSolutions.net) [::ffff:63.207.249.86]
<0> Name (ftp.canalmetropoli.com:Reach):
<0> i put my login/p***word
<5> doh!
<2> now.. which box is your shell account on ?
<2> ok.. so you have an account on the web host.. ?
<2> easy then..
<0> yes
<2> you just log into the ftp site and "put" the file you wanna transfer
<0> is a url
<0> not a file
<0> ftp> http://shell.gigared.org/~Reach/estadistica.html
<0> ?Invalid command.
<2> ok.. whatever..



<2> wget http://shell.gigared.org/~Reach/estadistica.html
<0> i can`t!
<0> omg!
<2> why not ?
<0> ftp> wget http://shell.gigared.org/~Reach/estadistica.html
<0> ?Invalid command.
<2> no
<0> i am in ftp> !
<0> i am logged!
<2> well get out of ftp!
<0> ok
<0> done
<0> i downloaded the file
<0> what now ?
<2> right.. now log into ftp and "put" the file.. simple
<0> ftp> estadistica.html
<0> ?Invalid command.
<2> no.. put estblah.html..
<0> DAMN GOD
<0> thank you !!!!!!!!!!!
<4> perplexity iptables -A INPUT -p tcp --sport 443 -j ACCEPT had solve the problem with SSL!!
<2> ok DoMiNiCaNo , now all you have to do is script it and add it to cron
<0> perplexity can i kiss you ?
<2> only if you are 18, blonde and a nuclear physicist with a double D cup size
<0> i am men but i don`t like men i am not a gay anyway
<0> but damn it
<0> you save my fuc*ing life
<0> :P
<0> :*******
<0> hehehe
<2> guys.. DoMiNiCaNo needs to be able to script an ftp upload to a remote site.. he does not have access to lftp. any ideas ?
<5> write a bash script using ftp
<2> ftp can't be scripted by default.. I'm thinking it will work with "expect"
<5> I see a number of google.com/linux results for "non-interactive ftp"
<2> yeah.. just struggling with what he has to work with on this machine..
<2> I wish he'd come out of my pvt window and back into the main channel so I'm not the only one throwing ideas about.. my head hurts
<3> expect should work but i think you better script it for him
<2> no expect on the system
<2> I wonder if he's got gcc.. he could just install lftp locally and use that
<2> or compile up a static binary and upload that
<0> i have access in crontab
<0> but the problem is the login/p*** when i ftp :/
<2> Fiver you 'da man :)
<5> :D
<2> http://kb.iu.edu/data/afqg.html
<2> DoMiNiCaNo check that web page out
<5> here's another one if you have trouble getting the first to work: http://linux.ittoolbox.com/code/archives.asp?d=2255&a=s&i=6 (extract only the parts you need)
<2> yep.. same MO though.. fake stdin to ftp..
<0> the only part i have to get
<0> i the ftp lines
<0> is*
<0> that is on crontab ?
<2> no.. make a shell script to do it and just call that from your crontab
<2> it's so easy. honestly..
<0> sorry i dunno very much bsd/linux :/ i am just a webmaster :/
<0> what mean shell script ?
<2> did you ever read the page I posted a link to ?
<0> yeah
<2> the bit beginning with " #!/bin/sh "
<0> that is very simple script
<0> :P
<2> is a shell script.. it's a file.. a text file.. just create it with vi..
<0> or pico :P
<0> okey let me see
<2> or whatever.. <sob>
<0> i crontab what mean the first step 0,30 * * * *
<0> in 30 second gona exec the command ?
<6> DoMiNiCaNo: no every 30 minutes
<6> cron has a resolution of 1 min
<2> */10 * * * * pgrep
<2> works every 10 for me here


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #linuxhelp
or
Go to some related logs:

#linuxhelp
#teens
Diskoteka (Kobbe
#linuxhelp
Shmechera
what is the difference between char *argv[] and char **argv
#linux
#linuxhelp
insert into radcheck
tartgirl



Home  |  disclaimer  |  contact  |  submit quotes