General :: FTP Commandline Script To Send Files
Mar 1, 2011
I use in Ubuntu proftpd to send files with a little script over the internet to my website.
If I write all these scripts it's a lot of work and my first question is what is the best way to send files over.
For example do you need to type:
put /directory/file.gz /www/file.gz ? or can it shorter? like
put /directory/file.gz /www/ because then ftp complains it can't create file
View 1 Replies
ADVERTISEMENT
Jan 21, 2011
I am writing a script in which I need to send a email to a @vtext.com address and was confused on how to go about this. (Its in a perl script so ideally it would be a one line command so I can just put in back ticks).
View 1 Replies
View Related
Mar 11, 2010
Is there a simple command line to do this, in an easy way?
View 1 Replies
View Related
Jul 26, 2011
I tried to send mail from my debian system commandline as root user But i did not get the mail in the destination email inbox No errors was shown
View 1 Replies
View Related
Nov 15, 2010
I'm trying to get some insight on how to move forward. I have a bit of a problem. I am just starting out in unbuntu and I have no experience working with 2 os on my computer (coming from windows). I have a lot of files (music, pictures, movies) in windows, but I want to use them on unbuntu. Is there a way for me to have both os access those files, or better yet, is there a way to send all my files to unbuntu, so I can start deleting all my stuff in windows?At the moment, I'm planning to burn all my files to dvds (in windows), then just drop them off in unbuntu, but I'd love it if there was a way which didn't involve me burning tons of dvds...Oh yea, and programs too... can I transfer them, or do I need to just reinstall them on unbuntu (like stepmania, guildwars, dvd shrink, kmplayer, etc
View 2 Replies
View Related
Mar 20, 2011
I typically use rm to delete files, but they don't end up in my trash folder in case I want to recover them. How do I make that happen and how do I access my trash folder via terminal? Doing me best to work from terminal rather than GUI and this one has me stumped. I am using Mint Julia.
View 2 Replies
View Related
Jun 29, 2010
I have 2 computers with linux, How can i send with ftp files from computer1 to computer2 them(shell command)? Steps that i think should be done (miss shell commands): find inner ip of computer1 open the ftp port (21) of computer1 (make computer1 ftp server) send file from computer2 to computer1 with shell command
View 2 Replies
View Related
Sep 9, 2010
I need a way to find all the files not owned by root:root on the commandline. How can this be done?
View 2 Replies
View Related
Oct 23, 2009
if it is possible to send automatic email for users when files added in ftp directory in linux
View 2 Replies
View Related
Feb 25, 2010
I have configured Hardware RAID. Is there any way I can know that through login to linux box?
View 6 Replies
View Related
Apr 6, 2010
I want to close an open port which is in listening mode between my client and server application. Is there any manual command line option in Linux to close a port ??NOTE: I came to know that "only the application which owns the connected socket should close it, which will happen when the application terminates."I dont understand why it is only possible by the application which opens it ... But still eager to know if there is any another way to do it ??
View 4 Replies
View Related
Oct 12, 2010
I have to edit the grub.conf as there was a issue in running in virtual box, so i went to edit the /boot/grub/grub.conf file ( centos )and run
[Code]...
View 4 Replies
View Related
Jul 13, 2010
I am using a script to start an application (with GUI, i.e. windows) in KDE. However, the window will always appear on the currently used desktop. I would like to define which desktop the application will appear to be able to just run in invisible in the background. How can I do this for KDE?
View 1 Replies
View Related
Feb 15, 2011
I want to change the icon image of the executable files from command line.
View 3 Replies
View Related
Nov 18, 2009
I did command:
sudo -s
chmod 770 .
chmod 770 ..
And now I cannot login on my test server notebook. Please do not ask why I use server software on my notebook. Cause I like it and I use it only for typing text en learning linux commands. So I have a notebook with ubuntu server 8.04.2.
First question is:
Why have linux after command ls -l -a this output?
drwxr-xr-x 21 root root 4096 2009-11-04 20:45 .
drwxr-xr-x 21 root root 4096 2009-11-04 20:45 ..
And how must it to set and use? What is it's function? How can I repair my server notebook? Must I unmount my harddisk with a sqrewdriver and connect it to/on an other linux machine? If its needed, I can do that.
View 6 Replies
View Related
Aug 28, 2011
I am trying to start a VirtualBox VM on a separate X screen (in fullscreen) so I can switch between Linux and Windows XP by doing Ctrl + Alt + F<.
I am basically trying to do something like this:
startx "VBoxManage startvm XP" -- :4
startx "VBoxManage startvm "XP"" -- :4 (is this correct for quotes within quotes??)
I get a "bad command line option "VBoxManage" back from the startx script so obviously I am not understanding the rules for how to write "shell magic".
How can I do this correctly, or perhaps there is a better way of achieving a VirtualBox VM on a separate X screen?
View 1 Replies
View Related
Jan 20, 2011
in the middle of script, i need to send the output of (send command on line 8) to a file
#!/usr/bin/expect
spawn telnet 172.20.64.133
expect "ENTER USERNAM <"
[cod]....
i treid the below on line 8 :
1- send "show command;
" > logfile.txt : gives an error extra character after the "
2- logsave logfile.txt 'send "show command;
" ': error invalid command
3- i simply tried to send the output of the whole script to file logsave /home/logfile ./script : seems that logsave work under root only
4- ./script > logfile : the problem with this is that the output of echo or (read "enter your id") command will not be displayed on the screen (actually nothing will be displayed, i have to open the log file to see the output). is there any way to save the log of the "send" ? or to save the log of the complete script without hiding the output on the screen?
View 2 Replies
View Related
Apr 8, 2011
Is there a utility to forward ports on a simple home networking wireless router from commandline using upnp?
View 1 Replies
View Related
Oct 13, 2010
I want to run a cronjob every 15 minutes that checks a directory for files. If the directory contains more than ten files I want it to send an email to me.
All I have is this...
*/15 * * * * ls -l | wc -l | [filename] | mail -s "This is just a test" [email address]
I would rather not write a bash script. Is there an easier way to do this? I was looking into some commands like find and grep.
View 6 Replies
View Related
Feb 21, 2009
I updated to KDE 4.2 when it came out on openSUSE 11.1 and things were working OK.
Now I can no longer send files to the Trash. I get an error in Dolphin saying "The trash has reached its maximum size! Cleanup the trash manually."
I deleted a bunch of stuff from my Trash and I have 1.7GB free on my /home partition so it's not a lack of space.
View 6 Replies
View Related
Apr 18, 2010
whenever i try so send files from my PC to phone, it never works in first attempt, just hangs. In the subsequent attempts it works fine.
View 1 Replies
View Related
May 7, 2010
have a file (called it A) contains;
hostname 192.168.23.65
hostname 10.18.13.253
hostname 10.18.16.253
hostname 177.23.56.58
how can i write a script to get only ip addresses & send it to 3 files with the following info. only:
file1:
192.168.0.0
file2:
10.18.0.0
file3:
177.23.0.0
by creating the 3 files then i will be able to set up subnetmask, gw,....etc.
View 2 Replies
View Related
Jun 7, 2010
Im using sid, have installed gnome-bluetooth but cannot send/receive, browse files on any device. It says that my "personal file sharing" program might not be installed but i have no idea what exact package is it
View 6 Replies
View Related
Oct 4, 2010
why I can't send and receive files with pidgin? when i send files it the dialog is always closing
View 2 Replies
View Related
Dec 7, 2009
I can't send or receive any files with the Empathy Messenger in F12, using the MSN Protocol.The Menu Entry "Send File" in Active Chat remains grey.When my Friends send me files they ask me to accept the Download but I see nothing.
View 4 Replies
View Related
Mar 8, 2011
+ I had struggled with getting it to work on 11.3, KDE 4.4. Brought in the KDE 4.5 repos and did zypper dup with fabulous success. Bluedevil 1.0-2.9 was a charm.
+ We're only days away from 11.4, and that was so painless I figured I'd go ahead and upgrade to 11.4. After hours of RTFM on zypper I got all the 11.4 repos (all I could find) and did zypper dup again.
+ Smooth, painless. Geen probleme.
+ Except: - the upgrade also upgraded bluedevil to 1.0-3.8.1. I've tried rolling back but the problems remain.
+ The problems are: - I cannot send files from the PC to the phone, although I can send files from the phone to the PC.
- The PC prompts are very short-lived and are obscured by the taskbar unless you are primed for them to bring up the notification manager instantly, so pairing from the phone to the PC is difficult
-I cannot browse the phone despite the app suggesting I can. I also had to manually install a directory (/home/$user/$phone_name) to avoid an error message. Presumably the app tries to mount the phone to this directory, but it does not succeed.
+ I do think I have all the necessary devel files, but would love to do a file list comparison with someone who has this working on OS 11.4/KDE 4.5.5 Yes, I know this is beta so don't abuse me, I'm more than willing to do trials and submit explicit data as I have here. But I also would like to get it to work. I had it working on 11.3 / KDE 4.5.5. FWIW, pretty much everything else works flawlessly on OS 11.4. Firefox 4 beta has a few problems, but that is not an OS 11.4 issue...
View 2 Replies
View Related
Jun 30, 2010
How come I cant send files, start video calls etc while using this? The option is there but isn't highlighted and I'm unable to press it.
Is this something to do with the person I'm chatting to, or something else?
View 2 Replies
View Related
Sep 13, 2010
I am having an problem with bluetooth. Computer seems to find my mobile phone, I can send files from PC to my phone, but not vice versa. As I try to send, it pops "Failed" (in phone) and nothing happens.
Kubuntu 10.04
Windows mobile 6 (HTC p3450).
View 1 Replies
View Related
May 5, 2011
do you know any serial comm application other than minicom and cutecom that can send binary files?
View 2 Replies
View Related
Jan 31, 2010
I know that there is little need for me to install an anti-virus etc - but - I was thinking, it is a good idea to scan folders and files that I send to colleagues that run windows.Whats the best way and programme to do this? I guess I simply install an AV programme and thats it!
View 5 Replies
View Related