I need help on a script that syncs a directory with a webdav directory.
For example I have the folders:
./upload/
./upload/client
./upload/client/department
./upload/client2
./upload/client2/department
each of these folders contain docs that need to goto the webdav.
also the client names... (1 Reply)
Hey,
I have a WebDav directory mounted and everything seems fine except for one thing. All file/directory names appear in all UPPERCASE, when in actual fact they are lowercase on the remote machine.
For example:
foo/bar/baz.html on the remote host, appears on my local machine as... (0 Replies)
Hi all
i have a such question this is my shell script my script must upload file to webdav server
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
#!/bin/sh
###... (1 Reply)
Hello!
I need some advice about using WebDav in Mac OS 10.5
My problem is that I mount a WebDav folder in the hard drive pointing to a webdav directory service running under apache (it's Alfresco, if you know it) but the permissions of this directory, when mounted, are only for the user who... (0 Replies)
hi all,
i have configured Apache with WEBDAV & my aim is sharing outlook calendars because we don't use M$ ExChange.
From outlook i did a simple test & am able to share a calendar.
I want to create share for each user & then authenticate against LDAP before they can publish their... (0 Replies)
I configured a WebDAV server using Apache. Here is my configuration:
DAVLockDB /var/www/DAVLock.db
<Location /majid>
AllowOverride None
Options +Indexes
DAV On
AuthUserFile
/var/www/users.db
AuthName Authentication
AuthType Basic
<Limit... (1 Reply)
Hi All,
I am using a webdav server
host name : abc.xyz.com.ak
username : user123
password : password123
port : 80
I need to send files stored in my windows system to the server, any idea how to do it.
I dont know how to create a url in linux for webdav server using details. (2 Replies)
Discussion started by: prakhar_dubey
2 Replies
LEARN ABOUT PHP
rawurlencode
RAWURLENCODE(3) 1 RAWURLENCODE(3)rawurlencode - URL-encode according to RFC 3986SYNOPSIS
string rawurlencode (string $str)
DESCRIPTION
Encodes the given string according to RFC 3986.
PARAMETERS
o $str
- The URL to be encoded.
RETURN VALUES
Returns a string in which all non-alphanumeric characters except -_.~ have been replaced with a percent ( %) sign followed by two hex dig-
its. This is the encoding described in RFC 3986 for protecting literal characters from being interpreted as special URL delimiters, and for
protecting URLs from being mangled by transmission media with character conversions (like some email systems).
Note
Prior to PHP 5.3.0, rawurlencode encoded tildes ( ~) as per RFC 1738.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.3.4 | |
| | |
| | Tilde characters are no longer encoded when |
| | rawurlencode(3) is used with EBCDIC strings. |
| | |
| 5.3.0 | |
| | |
| | Now conforms to RFC 3986. |
| | |
+--------+---------------------------------------------------+
EXAMPLES
Example #1
including a password in an FTP URL
<?php
echo '<a href="ftp://user:', rawurlencode('foo @+%/'),
'@ftp.example.com/x.txt">';
?>
The above example will output:
<a href="ftp://user:foo%20%40%2B%25%2F@ftp.example.com/x.txt">
Or, if you pass information in a PATH_INFO component of the URL:
Example #2
rawurlencode(3) example 2
<?php
echo '<a href="http://example.com/department_list_script/',
rawurlencode('sales and marketing/Miami'), '">';
?>
The above example will output:
<a href="http://example.com/department_list_script/sales%20and%20marketing%2FMiami">
SEE ALSO rawurldecode(3), urldecode(3), urlencode(3), RFC 3986.
PHP Documentation Group RAWURLENCODE(3)