hi guys the basic idea of what im trying to do is build a tiny lil app that uses scp to copy over an .app folder onto my device. theres probably apps already like this but for the sake of learning how, i want to make one lol
on my app i have 3 textfields
App Path - for the location on my comp
Remote IP - the iphones "root@ip" combo
Remote Location - the folder i want to copy the stuff over to
the argument line i use in junction with scp is:
Code:
[scp setArguments:[NSArray arrayWithObjects:@"-r", [appPath stringValue],
[phoneIp stringValue], [phonePath stringValue], nil]];
which if im doing it right should be
Code:
scp -r ~/myapp.app root@10.0.2.3:/Applications/
but its not doing it that way, it uploads to the phone.. i just dont know where..
also i want to include a respring and reboot option to, so i would need the phoneIP just be the bare root@ip without the colon