How To Use Wget Command To Download .htaccess File

Jul 1, 2008

I just want to use wget command to transfer data from a shared host to dedicated server.Anybody knows how to set wget to download the .htaccess file and keep the file/directory's permission the same as they used to be on the old server?
I only knows these:wget -b -c -r -l0 -np -nH -t0

View 5 Replies


ADVERTISEMENT

Command To Stop The Wget Command

Apr 30, 2007

Is there a command i can type into the ssh console to stop a current transfer that i started wit the wget command?

the file im wgeting always stuffs up at 51% but then the server just retries and starts again, its done it 3 times so far and i just want to completely cancle the process if possible....

View 9 Replies View Related

Wget Command

Jan 28, 2007

Its been so long since i used it i have forgot, I need to transfer backups to my new server so i can then install them.

But i have forgot what wget command to use.

View 1 Replies View Related

Command For Tranferring Files Through Wget

Jul 16, 2007

I am trying to move over a client from Verio's hosting to my VPS. The verio control panel looks very amateurish and there is no option to do a full account backup. There is no SSH either.

I tried wget -r ftp://user:pass@hostname/directory/* which was mentioned in another WHT thread, but after it gets connected, it shows the following and stops there:

Quote:

Logging in as accountname ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /directoryname ... done.
==> PASV ...

Can anyone suggest a command that will work? There is only about 35 MB of files there, but I spent hours yesterday trying to download through FTP.

View 5 Replies View Related

How To : Change ( Wget ) Command In Your Server

Jun 21, 2007

Most popular way of downloading these scripts is to use "wget" comman

when we need to change the command wget in our server for download some destructive script and run it through some server side program such as PHP or PERL ...

now i try to start this session by this command ...

PHP Code:

pico /usr/bin/wget 

it's show me like this!

PHP Code:

?ELF^A^A^A^@^@^@^@^@^@^@^@^@^B^@^C^@^A^@^@^@^&#65533;¡^D^H4^@^@^@ u^C^@^@^@^@^@4^@ ^@^H^@(^@^[^@^Z^@^F^@^@^@4^@^@^@4^&#65533;^D^H4^&#65533;^D^H^$^@^@^@^&#1591;^@^@^@^Û^@^@^@c^@^@^@C^@^@^@^@^@^@^@^@^@^@^@^A^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@$^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^E^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^@^@^@  ^@^@$^@^@^@P&#1575;^G^H^@^@^@^@^Q^@ø&#65533;^É^D^@^@^@^@^@^@Æ^@^@^@^R^@^@^@^È^E^@^@^@^@^@^@v^@^@^@^R^@^@^@Û^A^@^@^@^@^@^@&^@^@^@^R^@^@^@^O^E^@$^@I^F^@^@^@^@^@^@<^@^@^@^R^@^@^@^A^E^@^@^@^@^@^@~^A^@^@^R^@^@^@&#1589;^G^@^@^@^@^@^@1^@^@^@^R^@^@^@ñ^@^@^@^@^@^@^@ð^C^@^@^R^@^@^@r$^@^@^@^R^@^@^@A^G^@^@^@^@^@^@M^@^@^@^R^@^@^@^&#1589;^D^@^@^@^@^@^@E^@^@^@^R^@^@^@&#65533;^D^@^@^@^@^@^@=^A^@^@^R^@^@^@Ç^@^@^@^@^@^@^@J^@^$^@&#1588;^D^@^@^@^@^@^@'^@^@^@^R^@^@^@y^D^@^@^@^@^@^@^Z^A^@^@^R^@^@^@^_^F^@^@^@^@^ 

now how can i change this command ? or change anything in this file ( wget ) ...

View 14 Replies View Related

How To Wget To Get A Cpanel Backup File

Jan 10, 2008

I have a backup file at my old server like:
[url]

What is the command line I have to give to get this file by wget to my new server?

Please keep in mind that I have to give my old server user/password in this command line.

View 2 Replies View Related

Wget A File Onto Server It Gives ERROR

Mar 13, 2007

I have this Strange problem with the server.

Whenever i try to wget a file onto server it gives ERROR

Quote:

Resolving superb-west.dl.sourceforge.net... failed: Name or service not known.

If i use the FTP command on SSH. It still gives ERROR

Quote:

"ftp: xxxx.xxxx.net unknown host
Not connected.
Not connected.
Interactive mode off.
Not connected."

Even Paypal cant call back. Some users are facing problems where they have billing Scripts and scripts cant trace callback from Paypal

View 1 Replies View Related

Wich Command Should I Use To Download From SSH

Nov 18, 2007

download a file to my server with SSH.

i know that the command for a simple download is wget [url]

but i have a link wich needs to enter username and password to download... wich will be the command for that case?

View 4 Replies View Related

Cronjob / Wget Error :: /bin/sh: /usr/bin/wget: Permission Denied

Apr 11, 2008

Cronjob is not working for a script on a clients cpanel account:

He set it up to grab from the path below and it is giving this error:

/bin/sh: /usr/bin/wget: Permission denied

The cronjob that is running is:

/usr/bin/wget -O - -q [url]

This is a cpanel box with centos 5

View 14 Replies View Related

Download A .gz File From Ssh

Aug 19, 2008

Logwatch reset my server logs this morning and there's an event I need to check for in /var/log/kern.log

How can I download the gzip of:
kern.log.1.gz

..to my pc desktop, using putty / ssh.

View 5 Replies View Related

Cant Download File

Sep 14, 2007

I have just performed a ftp backup of my entire server. I then zipped it up in Cpanel.

The file size its self it 3322megs big (about 3.3gb). If i press it to download it says:

Forbidden

You don't have permission to access /backup/sepmid07/sepmid07.zip on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/1.3.37 Server at backup.xxx*********** Port 80

I have made sure that i have the right permissions, I have also made sure that it belongs to the correct user. Also next to it where it would say how big it is, it says "-"

View 10 Replies View Related

Ip Is Trying To Download The Same File Many Times

Oct 30, 2009

We have a video streaming server, sometimes the server gets really slow and when we digg into it, we see that the same ip is trying to download the same file many many times. for example i either run this command

netstat -n | grep :80 | awk '{ print $5 }' | awk -F: '{ print $1 }' | sort | uniq -c | sort -n | tail

or go to WHM and see the 'apache stats' and i see 100 http connections from the same ip, trying to download the same video 100 times,,,

what is this? is this some sort of attack? could that be 100 different people that use a proxy? or what is going on?

View 7 Replies View Related

Cannot Download File: Forbidden

Jul 24, 2008

I am having a large problem moving my sites over to another server. WHM is timing out transferring some large sites that are 4-16 gigs in size, so I tried to manually pkgacct and was able to get one of the accounts setup as root, moved it over to public_html so I could wget from the 2nd server. No luck, permission denied. I tried to change permissions in FTP and found out I couldn't change them so I chmodded the file as root, no luck.

From there I set chown and changed it to the user of the FTP account and was able to modify the file from FTP. I'm still getting a forbidden message when I try wget or download from browser.

Forbidden
You don't have permission to access /backup/cpmove-azcorp.tar.gz on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

At this point I'm clueless, I chmodded the file to 777 so what else could be causing this?

View 7 Replies View Related

Php File Popping For Download

Mar 15, 2007

how all the php files popping up for download. Am I missing anything here?

View 2 Replies View Related

Strange File Download

Jan 25, 2007

Users of my web site, running MD-Pro, a PostNuke (php-based) clone, suddenly started to report difficulties downloading files from the download module. We assumed it was the download module and spent ages diagnosing it, uploading fresh versions etc. After some time someone had the bright idea to see if the files could be downloaded direct (using the URLs) to eliminate the web application.

We found: Some users can download all files from the server with no problems.
Some users can download some files but not others.

So far as we can tell only MS Word files are affected, but not all.

The files on the server are not corrupted and there are no permissions issues

Disabling antivirus and firewalls locally makes no difference.

REloading fresh originals to the servedr does not help.

The host reports that no changes to the server have been made recently.

We have discovered that files in the web root are OK. The furhte down the directory structure they are, the less likely they are to download. Performance varies according to the browser in use. According to the host technical support, 'Firefox appears to be returning the data from its own cache. IE is only doing so for root. For the other places IE tries to download the file but stops receiving at exactly the same number of bytes from different locations.'

Using another server on a different host, the problem disappears so it must be due to the host setup in some way. Diagnosis is difficult because the host technical support can't reproduce it.

Platforms include Mac, Windows and Linux and browsers include IE7, Firefox and Safari.

One user with Mac isn't having problems, another with Mac is. All others reporting problems are on Windows. Users are at different locations, using different ISPs so it is unlikely there are common local problems.

The only common element I can see is that the ony files causing trouble are MS Word, though some of these do download OK

We have run out of ideas why this should be happening. How can some users have problems with the same files on the same server and others not?

What could have happened to cause this problem on a site that has been functioning correctly for several months on this server?

View 14 Replies View Related

Lighttpd Force File Download IE

Feb 2, 2008

we are running a file sharing service and use lighttpd as a web server

the problem is that in Internet Explorer are some files i.e. .mpg, .pdf
and others opened directly in the browser

so is there a way to prevent this behavior(to force the browser to
download the file) by setting headers (or something else) in
lighttpd.conf?

View 2 Replies View Related

Apache :: Allowing EXE File Download

Oct 3, 2013

We're running a departmental intranet site on Apache 2.2 (on Windows Server 2003, if that matters). I'm trying to figure out how to post exe files on the web site so I can create a link and users can download the programs.trying various changes to my httpd.conf file, but no matter what I tried I get a 403 Forbidden error and the error.log file shows an error "Options ExecCGI is off in this directory:...".

1) I've tried putting the EXE in various folders.
2) I don't have a .htaccess file and I don't see anything in the httpd.conf file that seems to specifically relate to access for this file type.
3) If I put a zip file in the same folders, I am able to download or open it.
4) The httpd.conf file should be whatever was created when we installed Apache.

View 2 Replies View Related

Apache :: HTTP File - Low Download Speed

Mar 29, 2013

The problem is that HTTP file download speed is nearly 10 times lower than FTP download speed. What could be limiting it? It's about 7Mb for FTP and 70-100Kb for HTTP. Strangely, download speed is OK when browsing from the server itself (e.g. via RDP)

View 2 Replies View Related

.htaccess~ File

Oct 4, 2008

There is a .htaccess~ file in the root directory of my server. .htaccess is also in that place. But what is the purpose of that .htaccess~ file?

View 3 Replies View Related

Moving Large File Storage, Upload/download To Amazon S3

Jul 24, 2007

I'm currently running on a VPS. My site allows for large file uploads and downloads, with files over 600mb in size.

The server has issues when the site gets three or more requests for large file downloads. I'm trying to grow this site to thousands of users and it is hard to do when the site can't handle even three.

I've been told by my host that I need to upgrade to dedicated. My VPS only has 512mb RAM and one large file download is eating up that RAM. This is causing the issue.

I'm a newbie and while I knew I was risking a bit by going with VPS I do find it a bit annoying that these guys advertise 1TB of bandwidth per month but I can't even support downloading 1GB at the same time....maybe it's just me...

Anyway, I am now looking into moving the large files and the upload/download over to Amazon S3. If I do this I am expecting my RAM usage on the VPS to greatly decrease. Is this correct? If my PHP code is running on the VPS, but the actual file download via HTTP is coming from S3, that should not be a heavy load on my box, correct?

any opinions on S3?

View 2 Replies View Related

Apache :: Video File Download - Getting Different Figures When Interpret Data

Nov 12, 2013

Apache 2.2.22

I may be making something here too complicated but a friend downloaded a largish video file via my very basic web server.

Trying to interpret the data I am getting different figures, which one is correct or am I reading it wrongly.

carole [10/Nov/2013:17:55:21 +0000] "GET /cwgl/files/vidlink/videos/vid01.ts.mpg HTTP/1.1" 200 2879608
carole [10/Nov/2013:17:56:07 +0000] "GET /cwgl/files/vidlink/videos/vid01.ts.mpg HTTP/1.1" 200 1902255
carole [10/Nov/2013:18:11:41 +0000] "GET /cwgl/files/vidlink/videos/vid01.ts.mpg HTTP/1.1" 206 357
carole [10/Nov/2013:18:11:49 +0000] "GET /cwgl/files/vidlink/videos/vid01.ts.mpg HTTP/1.1" 206 5317289
carole [10/Nov/2013:18:16:38 +0000] "GET /cwgl/files/vidlink/videos/vid01.ts.mpg HTTP/1.1" 200 1834235652

200 totals = 1839017515

File properties on Ubuntu 2.0 GB (1,971,322,880 bytes)

server-status
1-0319210/3/3_ 82.6457740190482630.01880.001880.00 ip72-197-68-158.sd.sd.cox.net3lanesNULL

The other_vhost_access file says 1839017515
Ubuntu file properties says 2.0 GB (1,971,322,880 bytes)
Apache server-status says 1880.00

View 1 Replies View Related

File Details Command

Jan 12, 2008

How do you get the file size/details of a file through ssh?

View 4 Replies View Related

Htaccess File Not Working

Sep 11, 2006

I'm wondering why sometimes my htaccess files don't seem to work, especially when contained within subdirectories. I've got two problematic situations:

(1) I've got a mod rewrite that supposedly works. I put it in a subdirectory like /dbase/stuff/ but the script ignores it like it just isn't there. Permissions don't change anything and they are currently set to 644. It's very simple and only contains the following code: ....

View 0 Replies View Related

Htaccess File Size

Oct 25, 2009

I manage a high traffic website on one of my dedicated servers. It currently serves around 2 million uniques/mo.

In time, due to page changes, around 200 important URIs got a redirect [L,R=301] in the main .htaccess file that's sitting on the root directory.

Redirects are in the form of : person/J/James_Blake_2000/ --> /user/James_Blake/

Thus, the .htaccess file has reached well above 200 lines.

I would like to kindly ask for advice: should I limit the dimension of this htaccess file ?

How do you guys treat these permanent redirects?

View 7 Replies View Related

Php.ini And .htaccess File Permissions

Aug 17, 2008

I'm on a shared FreeBSD server, running Apache with Drupal, and vBulletin.

I had to create a local php.ini file in my public_html folder for Drupal, and another in my forum folder for vBulletin. Now my question is, what should I set the permissions of these files to? Also, what should I set .htaccess permissions to as well?

I'd like to keep them invisible to the public. But, I don't want any problems with Drupal, or vBulletin ether.

I'm used to using Linux and I know how permissions work on a desktop. I just don't know what they do when used on a server. I'm guessing 640, but I'd like to make sure before I change anything.

View 3 Replies View Related

Apache :: What Is HTAccess File

Jan 31, 2013

what is .htaccess file? use of this file?

View 6 Replies View Related

SCP Command For Transferring Large File

Mar 26, 2008

Can anyone tell me the format of SCP command for transfering an 18gig TAR.GZ file from one srever to another

say im logged in to the old host via SSH and the backup is located at /home/public_html/cpbackup/blahblah.tar.gz

what command would i put down to transfer to the new server

View 3 Replies View Related

Htaccess Redirect (from A File With Spaces)

Nov 26, 2006

I'm trying to redirect from a filename that contains spaces using .htaccess

for example, I want to redirect /test 2.html to http://example.com

I've tried:

ReDirect /test 2.html http://example.com
ReDirect /test 2.html http://example.com
ReDirect /"test 2".html http://example.com
ReDirect /'test 2'.html http://example.com
ReDirect /test%202.html http://example.com
ReDirect /"test 2.html" http://example.com
ReDirect /'test 2.html' http://example.com

And a few others. I can't seem to get the syntax right, and always end up getting an internal server error message. Anyone have any ideas?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved