Server :: Server File Copy Through SCP Or Wget?
Dec 19, 2010
I am trying to copy a directory and everything in it from one server to another.No matter what I type into SCP, it just gives me back:
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
I tried:scp -r -P 1133 root@XX.XX.XX.XX:/home/imagesShouldn't that recursively copy /home/images from the server XX.XX.XX.XX through SSH on port 1133?Btw - I know you can do it with a tar or just a regular FTP program. The folderI am trying to copy is 40 gig, there isn't enough free space to make a tar (if the server would even do it)
View 6 Replies
ADVERTISEMENT
Feb 3, 2011
We have 2 servers, 1 is the webserver and the other is the Mysql server.
When transfering a 2GB file from the webserver to the Mysql server.
The webserver's connection to the mysql DB server dies completely.
Need to restart the MYSQL process in order for it to come back online.
During this connection downtime, when using phpmyadmin on the mysql server shows no problem running queries etc.
View 2 Replies
View Related
Jun 24, 2011
i am using fc9 server i installed Apache web-server i kept some datafile in my html folder when tried to download remotely through web i can download the file tried to get the file in remotely through wget command i am unable to get the fileor is failed: Connection timed out Retrying below the steps i tried it
my target file is http://X.X.X.X/test.zip
wget -T 0 http://X.X.X.X/test.zip
wget http://X.X.X.X/test.zip
[code]...
View 1 Replies
View Related
Jun 29, 2010
I use the
Code:
wget -r -A <extension> <site>
command to download all files from a certain site. this time i already have some of the files already downloaded and listed in a text file via
Code:
ls > <text file name>
How can i make wget to download from the site i want but ignore the filenames listed in the text file?
View 2 Replies
View Related
Mar 22, 2011
Now i install the Ubuntu 10.4 64 bit on Sunfire X4170I want to save the file via SSH to this server.But i m not sure how to configure.
View 4 Replies
View Related
Jun 10, 2010
Being fairly new to navigating around Linux in a server environment, I simply want to copy a file from the server to a file in my home directory on my laptop. I connected successfully using vpnc and then used ssh to connect to the server. Now, all I want to do is copy a file that I see on the server's home directory to my home directory on my laptop.However, I don't want to use these commands unless I am comfortable with them because the file that I am copying is a big file and I don't want to lose it.
View 3 Replies
View Related
Jul 29, 2010
I update my system to 11.3 and cannot copy file(s) to Windows Server 2003 by Dolphi (smb://user@server/shared). After error inform for dialog box, I click on Cancel Button and see the file, or better, part of file (32.0 KiB) try copy. I can create folder, create file empty, but not copy file or files. The problem isn't permission, because I inform my credentials correctly.
View 8 Replies
View Related
Sep 2, 2010
How i can copy file from server(OS:ubuntu 10.04) to local HDD in my PC(OS:windows 7)
View 5 Replies
View Related
May 31, 2011
I'm running cygwin 1.7.7 on a win2k3R2 Standard edition server. I have a RHEL 4.7 linux host I'm scp'ing files from to the windows system using a simple cygwin scp command from what appears to be OpenSSH_5.5p1 on the cygwin host. When I run the simple scp command on the cygwin host, the counters initially display and increment/decrement, albeit what is at a much slower rate than is actually taking place. After the percent complete reaches a little less than 10%, all the counters from the cygwin console window cease to increment/decrement.
However, when I cd to the directory on the cygwin host where the file is being scp'ed to, the file is continuing to be transferred and a much higher rate than the counters seem to show. Finally, when the file transfer is complete by directly seeing the byte count as equal between the hosts, the scp counters will suddenly jump to 100% complete. This is not the case with my linux to linux scp's. The counters increment/decrement as expected and transfers are about what I'd expect over the same network infrastructure. This appears to be a cygwin ssh/scp implementation issue. I've posited this question to cygwin with no response as yet. The only reference I've been able to find on the 'net refers to buffering causing file transfers to appear to complete later than the transfer really does..........
View 3 Replies
View Related
Feb 24, 2010
There is a centralized FTP server which are accessed by clients to develop some web development project and to achieve this the clients are using ftp service. The problem is when they are trying to copy any files and directories they are getting the following error: "Message reported from the file system: FTP copy not supported,use move instead"
I've checked all the permissions and they are all OK. I don't know why this is happening. they can create and move files and folders but can't copy files and folders.
View 8 Replies
View Related
Jun 8, 2010
It seems to be simple one, but couldn't figure out exactly. Say I copy a file preserving its original modification time using the command
Code:
cp -p file1 file2
Now later, I want to know when file2 was copied... How do I find it ?
View 1 Replies
View Related
May 14, 2010
I have some issue with my amanda backup server, which is connecting with Scalar Quantum i500 via FC. I got the error as below 3 days ago.
These dumps were to tape 000289.
*** A TAPE ERROR OCCURRED: [No more writable valid tape found].
Normally I will load the proper tapes and run the amflush to push stuff from the holding disk to tapes manually. However this time amflush in this case did not help, Amanda immediately responded with an out of tape error again.
Meanwhile I got some errors from dmesg as well
st3: Error 18 (sugg. bt 0x0, driver bt 0x0, host bt 0x0).
scsi1 (0,3,0) : reservation conflict
View 8 Replies
View Related
Jun 14, 2011
I want to run rsync on server A to copy all files from Server B when they are newer than 7 days.(find . -mtime -7) I don't want to delete the files on Server B.
View 2 Replies
View Related
Jul 16, 2011
I am unable to use ncftp command I have defined all variables used. i have to copy the data to another server FTPS. When i am executing this command it is throwing error
ncftp -u : option unknown
I am copying total script what i am executing in my server. Please some one tell me is there any pistake in using the ncftp command , or tell me some other commands to copy data to remote server
BAK="/opt/DBbackups"
NOW=$(date +"%d-%m-%Y")
FTPU="username"
FTPP="password"
[code]....
View 6 Replies
View Related
Aug 4, 2010
I'm trying to use wget on an ubuntu 10.04 server 64bit, with 16GB RAM and 1.1 TB free disk space. It exits with the message "wget: memory exhausted". I'm trying to download 1MB of some sites. After different tries this is the command I'm using:
Code:
wget -r -x -Q1m -R "jpg,gif,jpeg,png" -U Mozilla http://www.onesite.com
(I only need the html documents, but when if I run the -A options only the first page is donwloaded, so I change to -R).
This happens with wget 1.12 version. I've tried the same command in other computers with less RAM and disk space (ubuntu 8.04 - wget 1.10.2) and it works just fine.
View 1 Replies
View Related
Oct 13, 2010
I cant update php in my RHEL Server 5.1 using yum. I am using RHEL Server 5.1 and I cant use yum to upgrade my php. Other site told me that use wget to solve this problem. How to use wget to upgrade php? This is my first time to handle linux server..
View 9 Replies
View Related
Jul 6, 2010
Allright, I made a simple script that tarballs my SQL databases weekly and saves them to a backup harddrive.If possible, I would like to have the backups uploaded to a remote server for storage. But, I must have the script delete the previous upload for size contraints.I can only use rsync, scp or sftp. Haven't used any of them really before... Here's my basic tarball-backup script:
Code:
#/bin/sh
# Dates the new tarballs of current builds.
DATE=`date +%m_%d_%Y`
View 8 Replies
View Related
Jan 12, 2011
I need to write a script that executes a wget. The difficulty being, if wget just sits there with no reply for a very long time, I don't want the script to run that long.
How can I time out the wget command in the script if it doesn't give me a reply in a minute or so?
View 3 Replies
View Related
Jul 12, 2010
There is a partnering website that provides an RSS feed to display on the website I am working on. The website displays information on the feed every time a user accesses the website. The feed changes almost every day. For bandwidth considerations and speed, I would like to download the feed once by the server using a crontab job (my website is in a linux shared hosting environment). The problem exists with the URL structure, which I have no control over.
Here is the URL:
Code:
[code]....
I am aware that there are characters that need escaping and this is where I am getting my errors. I have never written a shell-script but I am also assuming some of the characters are keywords in the Shell Scripting language or Linux I am also aware that I can avoid having to escape by enclosing the URL with single or double quotes. You will notice that the URL has BOTH single and double quotes, so its not as simple.
View 1 Replies
View Related
Jan 29, 2011
I'm trying to download phpmyadmin from sourceforge => http://sourceforge.net/projects/phpm...r.bz2/download .I'm using the wget command followed by direct link from the page. All I get is some irrelevant file that has nothing common with phpMyAdmin-3.3.9-all-languages.tar.bz2.The direct link is for clients with web browsers that triger automatic download to user desktop, but I need to download the package to a server. What is the wget option to get the file from this kind of links?
View 1 Replies
View Related
Feb 18, 2011
I wish to download a webpage, which is secured by username and password, using WGET. The thing is there are many forms on that page and I dont know how to tell WGET which one should it send (by POST method) the parameters. I have solved it till this so far:
wget --post-data="predmet=xxx" --http-user="yyy" --http-password="zzz" [URL]
It gets through the authentication but it will not submit the form.
View 3 Replies
View Related
Sep 23, 2009
I'm debugging some kind of a SOAP problem. I can use wget for any domain I want, besides domains that are hosted on the server itself.
What could it be? Centos firewall & selinux are turned off.
(domains / ips removed from code)
[root@http1 ~]# wget http://www.google.com
--12:09:53-- http://www.google.com/
Resolving www.google.com... 74.125.93.103, 74.125.93.104, 74.125.93.105, ...
Connecting to www.google.com|74.125.93.103|:80... connected.
[Code].....
View 4 Replies
View Related
Jun 21, 2011
iam trying to sync file server data into backup server machine by command- rsync -avu path/of/data ipaddress-of-backup-server:/path/where/to/save after running it ask for root password and manually it is successful.but i want to make it automatic.for that i also tried cronjob and also generated authentication key but iam not successful in login automatically..anybody know how to authenticate root to login for storing data in backup server.
View 14 Replies
View Related
May 24, 2010
I am working on linux server with below specifications.Linux EDT 2008 i686 i686 i386 GNU/LinuxWhile checking the status of the server using the command 'opmnctl status' and when server is down the output is not getting redirected to file.I m using the command as,opmnctl status > abc.txt.
View 2 Replies
View Related
Jun 24, 2010
i was trying to copy some files over my hdd using wget.this was the format of the command the catch is that there is a local website that is installed into directory heirarchy and i would like to use wget to make the html files link to each other in one directory level.the command didn't work inspite of trying different forms, so what's the mistake in this command or is there another way?
View 3 Replies
View Related
Apr 3, 2011
I have a very strange problem for me. In this example dns and IP is hiden for security reason. When I try from putty manager to connect to my Debian and write next command:
[Code]...
View 1 Replies
View Related
Jun 17, 2011
I want to setup a Linux File Server for a small windows network (around 50 users). I do know that I am gona need Smb service/pkg for that. I haven't used Samba for a while now and as per the best of my knowledge, entire communication (including usernames and passwords) between a samba server & windows client machines will be plain text. Is there any way to secure all this communication??
Secondly, if i remember correctly, MS windows wont let me mount more than one samba shares as network disk when all my shares can be accessed by different smb users with different passwords?? is there a solution to this problem? OR may be if there is any other package available for this purpose so that i wont have to use samba?
View 4 Replies
View Related
Jun 28, 2010
I used to have a log file monitoring script on my server but after an auto update recently it seems to have disapperaed.Can anyone think of some log file analyzers that send outputs of ssh, amount of disk space used etc. as I cannot remember the name of the program at all.
View 1 Replies
View Related
Nov 19, 2009
My Pug Server has worked faithfully for many years just sitting in a closet. It is designed wo that you never need to add a monitor or keyboard as it is administered through a web interface. Recently it had a problem with the motherboard and I had to replace it, but the machine is now working. However, it no longer is visible as a network drive on my Windows machine.Unfortunately I have no idea where to start looking to see what the problem is. I did attach a keyboard and monitor and logged on, but everything looks okay (I can see my files, etc.).
This is an old machine (c. 2003), so has an old version of Linux (I have no idea what version, or even how to find out). Since it is never meant to be used directly it doesn't have any GUI installed, so I have to do everything using command line.Does anyone have any suggestions as to how I can even start to determine what the problem is or how I can go about trying to fix it? At this point I would be happy just to get the files out and replace it with a newer NAS.
View 6 Replies
View Related
Jan 8, 2010
i have purchased sun server for my visualization project. Request you to help me finding the io for disk .I have put storage(disks) on different location (File Server) and on server (Application) i have configured 4 virtual machines.
How would i monitor the io for file server from the Application server where i have configured 4 virtual machine. one way to mount the file server share on application server and execute
dd if=/dev/zero of=/share/test.out bs=1024 count=1024 to check the read and write Is there any other way of doing this.
View 1 Replies
View Related