General :: Uploading Pages To Server As One String?

Feb 11, 2011

authors recommended to upload pages of a site in a condensed form to the server to save in uploads and downloads by visitors. This involved removing all unwanted spaces and making one single string whenever possible.Is this approach still encouraged?Is there software that does that and respects the line-oriented scripts like Javascript embeded in HTML code?

View 1 Replies


ADVERTISEMENT

General :: Error While Uploading A Php File To Server?

Jun 14, 2011

I got an error while uploading a file named "xxxxxxxx.php"to linux server

Error in detail
Upload of file 'xxxxxxxx.php' was successful, but error occurred while setting the permissions and/or timestamp. If the problem persists, turn on 'Ignore permission errors' option.
Permission denied.
Error code: 3
Error message from server: Permission denied
Request code: 9

View 5 Replies View Related

General :: Uploading A *.php File To Real Server It Don't Transfer?

Nov 13, 2010

Whenever I am uploading a *.php file to real server It don't transfer.

View 1 Replies View Related

General :: Uploading Files To A CentOS-server With Vsftpd

Sep 16, 2010

I'm having difficulties with uploading files to a CentOS-server with vsftpd. I have the exact same configuration on a Fedora10 and there I have no problems...

[Code]...

View 2 Replies View Related

Server :: Web Server Sees The Pages But Not The Folder That Has All The Images For The Pages

May 14, 2010

I'm very new to Linux, and I have ran a Windows XP server before, with a Apache2 Server software for Windows. and didn't have any problems with it, but I really want to set this server up with Linux.

The server is running, but the only thing that comes up in the browser, is the html pages, the pages call all the images from a folder /images/ but for some reason I can't get it to pull the folder up. None of the graphics show on any of the pages.

I also have a VirtualHost setup, and have another website set up in the DocumentRoot with the 2nd site, but it won't come up ether, even tho it is listed as the 2nd VirtualHost, and have that folder set up as the DocumentRoot.

I'm just using IP Addresses for now till I get this all sorted out.So if I enter the IP the main page comes up, just no graphics. if I enter the IP Address/2ndSiteFolder/ I get a directory listing with the 2nd site folder listed, so now if I click on the 2ndSiteFolderName, it comes up as IP/2ndSiteFolder/2ndSiteFolder/ Now the 2nd site comes up, and so does all the Graphics for that site, even if I go to some of the other subfolders site. So its just weird. I don't know what I need to do to get this to work right.

I know it has to do with setting up the folders for VirtualHost, I just don't know what it is. I have been working on this for a week, and I'm not getting anywhere..

View 9 Replies View Related

General :: Man Pages Not Displayed / Saying Formatting Pages And Then It Is Displaying Blank Page?

Sep 9, 2009

when i input man <cmd>.....it's saying formatting pages....n then it is displaying blank page.

View 6 Replies View Related

Server :: Error When Uploading Via Ssh

Jul 2, 2010

We are having this problem when a user tries to upload a file to the Red Hat 4.0 server via SSH (sftp). When the user tries to write the file it returns this error:

Error 8 :/FILENAME (dst):undefined error (server msg: 'Failure')

The error doesn't give you any description for some reason. When I try to upload the same file with root user there is no error and it works perfectly, but with other users it returns this error. I first suspected that it is a permissions problem, but then the same error is there even if I open up all permissions wide for the directory that the file is copied into (set permissions to 'drwxrwxrwx').

View 7 Replies View Related

Software :: Schedule Uploading To Server Between 1-5am?

Dec 17, 2010

I have been messing with rsync but I don't see any kinda time limitations that will start the sync at 1am and stop it at 5am and resume the next night. Im dealing with some rather big files so the program will need to be able to resume an upload. I would like to use the ssh protocol to send the files as it's encrypted. (something like scp is fine too) but I can't see how to get them to stop at 5am (I thought of using a cron job but then how do I stop it at 5 without corrupting the partially uploaded file...)Both OS's are linux/unix based (Debian/Max OS X with ports)

View 3 Replies View Related

Programming :: Copy String A To String B And Change String B With Toupper() And Count The Chars?

Oct 22, 2010

copy string a to string b and change string b with toupper() and count the chars

View 3 Replies View Related

General :: Replace String With Empty String Of Dir Path ?

Apr 2, 2011

I want to replace a string of directory path in a string to empty:

Code:

But this doesnt seem to give me the desired thing:

Code:

This gives the desired outcome, but its specific, i need a variable in the sed not a string. And if I replace STRING="/mnt/sda1/record/$dd/" then I cant use it for something else, cause its has all the weird backslashes now.

View 3 Replies View Related

General :: Extract A String Within A String Using A Pattern?

Nov 4, 2010

i have a file name using the following pattern:

PREFIX: AR
SOURCE: LEGACY
DATETIME: YYYYMMDD_HH24MISS
SUFFIX: .txt

sample filename:AR_LEGACY_20101104_105500.txti want to extract the source which is LEGACY in this case. how do i do this using shell?

View 1 Replies View Related

OpenSUSE Network :: Uploading Files To Remote FTP Server Using Passive Mode With Enabled SuSeFirewall2

Feb 28, 2010

I've got problems uploading files to a remote FTP server using passive mode with enabled SuSeFirewall2 (Using 11.2)

I've disabled Firewall and everything went ok. Why firewall disables or terminates OUTGOING connections to a remote FTP?

View 7 Replies View Related

General :: Limit Uploading In The Squid?

Dec 1, 2010

i have centos os squid 2.6 version,i have to configured squid to restrict some ip to 10 kb upload for that i set request_max_body_max_size but this directive is applicable to all ips but i want to limit uploading for some paricular ips.

View 1 Replies View Related

General :: Awk Gsub() Command - String (column) Manipulation - Replace The Value Of The $1 Column In The Awk Print String?

Mar 7, 2010

i use this script to get the time and date of back and fourth transactions for a particular execution id. I use a substr command on the 5th column to to cut the milli seconds off the time value. - otherwise the times would look like 08:30:04.235

grep <executionID> <auditfile> | awk '{ print $1, $2, $3, $4, substr($5,1,8}
FIX -> Mon 3/1/2010 08:30:04
FIX <- Mon 3/1/2010 08:32:36
FIX <- Mon 3/1/2010 08:35:08

[code].....

anyhow - i append two sed commands to further clarify the direction of the message.

awk '{ print $1, $2, $3, $4, substr($5,1,8} | sed -e 's/->/ ->IN/g' | sed -e 's/<-/<-OUT/g'
FIX -> IN Mon 3/1/2010 08:30:04
FIX <- OUT Mon 3/1/2010 08:32:36

[code]....

I tried using an awk gsub () command within the string instead of the two seds, but it did not work:

awk '{ print gsub(/<regex>/, <replace with>,$1), $2, $3, $4, substr($5,1,8}

the sed works ok, but it would be cooler to make the replacement within the awk command:

gsub(/->/,-> IN, $1)

Is there a way where i could replace the value of the $1 column in the awk print string?

View 1 Replies View Related

General :: File Has Finished Uploading From Another Location?

Jun 5, 2011

Let's say we have machine 1 and machine 2. Machine 2, which is linux based, is receiving a file (let's say cat.jpg sent via SCP from machine 1 (doesn't really matter which operating system..) How can I know in machine 2, that the file has finished uploading from machine 1 ? Please note that by "knowing" I mean by running a command (via a cron that runs every minute), and not by an event driven way ("make the scp issue a command when it is finished uploading"). Another limitation I have is that I can't change anything in machine 1 or in the way it SCP files.

If it really matters: the files being transferred are video file, MP4 extension. machine 2 is ubuntu 10.10

View 5 Replies View Related

General :: Auto Video Conversion After Uploading

Aug 31, 2010

I am running Debian 5.0.5 and want it to convert a video file after upload, then update in MySQL if possible? I have tryed ff-mpeg and yes I could convert to FLV but the Pixelation where very bad and and if I closed the browser it finished the conversion but didn't updated it in the database.

View 1 Replies View Related

General :: Connection Refused Error With Uploading Using Ftp

Aug 11, 2011

I now have a .tar.gz that has been created during my script, and finnaly i need to upload it via ftp to my computer, but i am unable to because i keep getting the "Connection refused" error, despite the fact that all the syntax appears to be right. in a bout of frustration, i have deleted the code and now no longer have what i had written.. so could someone please let me know the syntax to upload a file to a server? I am aware that other threads have been started about this issue but I am trying to ftp from an iPhone to a computer...

View 4 Replies View Related

General :: Maintain Uploading Record In Squid?

May 4, 2011

I have Squid Cache: Version 2.6.STABLE21, installed on RHEL5. as well as configured SARG.
It provides downloading detail of squid users. but does not provide uploading detail.I want to maintain uploading record of my users.(e.g which user upload which file/data)

View 9 Replies View Related

General :: Poor Uploading Speed In Openvpn?

Aug 19, 2010

I had configured openvpn (2.0.9) on my Centos 5.4 machine.I want to route all client traffic through my gateway.So i had enabled (push "redirect-gateway ") in server configuration.Now the problem is the upload speed is very low while connecting through vpn.Normally i got 700 kbps download and 650 kbps upload speed.But while connecting through Vpn the upload speed is only 110-130 kbps but download is almost stable.Here is my Server and client conf Files.

Server
******
port 1194
proto udp

[code]...

View 3 Replies View Related

General :: String Replace In Filenames - Files Already Contain The String "Soundtrack"

Jun 11, 2011

Moving right along, I have a folder of MP3 files containing various Movie sound tracks and scores. I'm using Audio Tag Tool to tag all the files at once with an "Artist" of "Soundtrack", and to inherit the "Title" tag from the file name. After that, I will rename all the files (Using Audio Tag Tool -- awesome program, btw) with the format "<Artist> - <Title>.mp3"

The problem, is many of my files already contain the string "Soundtrack", which would be redundant. I happen to be a perfectionist, so I'm unable to ignore it and move on. Hence my question to you fine folk: I want to delete all instances of "soundtrack" (-i case irrelevant) in the filenames before I go through the above steps. But, its not quite that simple. This is a sample of some of the file names:

[Code]....

View 3 Replies View Related

Fedora :: Apache Not Parsing Php Pages / Trying To Run Php Script In Browser Its Not Opening Php Pages?

Feb 19, 2010

I have a Cent OS 5.4 32 bit final installed in my dedicated server.

I used to run lighttpd with php in my server until now and all was fine.But yesterday I changed my website which needs apache to run. So installed apache using yum install httpd command.

Then I added the virtual host name of my domain in webmin panel but when i try to run my php script in browser then its not opening php pages.

Instead it downloads php files like index.php when i open in browser.So I guess apache is not able to compile and run php pages. Only html pages are opening right now..

View 2 Replies View Related

General :: Uploading Files To S3 Account From Command Prompt?

May 6, 2011

I've got several large files sitting in my linux hosted account that I need to upload to my S3 account. I dont want to download them first and then upload it into S3. Is there any way I can "upload" it via the linux command line environment? Or access it via a website working with lynx?

View 1 Replies View Related

General :: Uploading A Text Into A Webpage From Command Line

Apr 1, 2011

my webpage PHP below. I would like to enter "Hello, in the main inputbox field" below (You are editing: textfile.txt) and click "SAVE" directly from command line.

Sort of : wput_php "hello, in the main inputbox field" click save, and here is it. the text would be uploaded.

PHP Code:

[Code]....

View 2 Replies View Related

General :: Uploading And Downloading Large Files Between Clients?

Jun 5, 2011

I am looking for a file sharing program to install on my dedicated server that will allow me to upload large MP3 files and allow my clients to download them. these files are recordings of counseling sessions for families who are seeking help for their children.

What I am looking for is similar to the system this company uses [URL].

View 4 Replies View Related

Server :: Apache Server - Adding Web Pages ?

Oct 14, 2010

I rented a server to run CS 1.6 game servers. I had someone install Apache and configure my server to be able to use control panel for my game servers( i am running 4 gservers and have 5 ips = 1 ip is free). When i type my primary ip in the web browser it displays the Apache test page.

My question is can i add pages to the Apache without messing up anything with the control panel or my game servers. I am familiar with html. My primary ip is used for 1 of th egame servers but i can change that if necessary. And if possible to add pages how to add a site name, sth like [url] instead of entering the primary ip to display the content.

View 4 Replies View Related

General :: Parse File From Remote Server To Caculate Count Of String Existence In That File?

Aug 30, 2010

I need to parse the file of same name which exist on different servers and calculate the count of string existed in both files.Say a file abc.log exist on 2 servers.I want to search for string "test" on both files and calculate the total count of search string's existence.For example if file abc.log on server 1 has string "test" 2 times
and file abc.log on server 2 has string "test" 4 times.then the output will beStringName : Countexampletest : 6 timesNote : I have created the password less connectivity using ssh-keygen.

View 2 Replies View Related

Server :: DHCP Server Option T150 Code 150 = String?

Jan 6, 2011

I have come across this option given below in dhcpd.conf file for DHCP Server configuration. Can any body let me know what this option is all about.Code:option T150 code 150 = string;

View 2 Replies View Related

Server :: Lighttpd - After Installation Could Not Get Web Pages

Aug 9, 2010

I have installed lighttpd from svn as

Code:

Then I created four directories

Code:

And ls -l for following is

Code:

So permissions are correct upto here.

Then

Code:

Changed the following to

Code:

To

Code:

Then

Code:

Now I run

Code:

I can see

Code:

lighttpd is running.

Following is lighttpd.conf [url]

I created some html pages in /var/lighttpd/ in a directory called jp (which I had made).
Permissions of Document ROOT

Code:

And the directory

Code:

I was not able to see the webpages [url] but I was able to see [url] so why I could not browse the directory jp

I am getting a 404 not found error. Where as the page exists.

View 4 Replies View Related

Server :: Php Blank Pages On Apache

Dec 13, 2010

Im using fedora 8 and have installed php5 ,and mysql and i see only php blank pages ,some idea? must be php.ini, but i am newbie installing php and apache, i disabled selinux, and grant all the permisssions to excecute..

View 3 Replies View Related

Server :: Apache Configuration - Pages Do Not Load

Mar 20, 2010

I have apache running on my server, and also Zoneminder, a surveillance system running on the same machine. Both services runs without glitches, and I think apache's config as well as ZM's config are fine. I am not sure I understand how apache (not to mention the whole thing zoneminder, apache, web browser...) works. Pretty hard to manage when you dont know what you are doing. Also, when I try the supposed to work zoneminder webpage in my web browser, I get nothing (a blank page), or sometimes a "Not found" error message. The latest seems to be from apache because it is the same font as the "It works!" message when I try http://localhost:80

The only bit of information I have so far is in the apache error log (/var/log/httpd/error_log) and it says:
Code:
[Sun Mar 21 00:35:14 2010] [error] [client 192.168.0.100] script '/srv/httpd/htdocs/zm.php' not found or unable to stat
[Sun Mar 21 00:46:04 2010] [error] [client 127.0.0.1] File does not exist: /srv/httpd/htdocs/zm
It seems that the "zm.php" is missing.... That would be why Apache cant find the page?

View 14 Replies View Related







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