Hi All,
I am using a webdav server
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.
Hi,
My local server is :/usr/abcd/
Remote server is :/Usr/host/test/
I want to send files from local unix directory(All files starting with O_999) to
remote host unix directory.
Can any body give me the Unix Shell script to do this.
One more doubt: Shall we need to change the file... (1 Reply)
hi dear i m very new to socket programing .
i need the source code which sends file from server to client .
i mean both server n client programe which sends file .
can u do this for me please
my email id is email id removed
regards bilal (1 Reply)
Hi Frnds,
I have a task in my project wherein i have to send out a mail from my C++ code.With some file attachements.Please help me in this.
At a higher level wat i can tell is my code generated 3 csv file and i have to send these files as attachement.
My code is executed in unix... (6 Replies)
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)
Dear Experts,
please help i am very much confused here and not getting the right path,
actually i want to send a file from client to a server,
initially i used mmap() which is failing most of the time so i want to use general IO streams to do that,
i can open a file in "rb" mode
and read... (1 Reply)
Hi,
I am trying to write some test code for bigger project where my perl script will send file over to server. This is the current SERVER and CLIENT code I have so far. When I type "hi" from client I get hello back from server and like wise I send send command I get respond back the problem... (1 Reply)
Hi All,
I have to send a processed file to 24 different server locations. I feel, if this job can be done parallel in the background - Time will come down.
I found the script to FTP the file for a single server location through past Unix posts as below:
#!/usr/bin/ksh
ftp -v -n... (16 Replies)
I'm trying to write a Perl script where a file from a UNIX server box connects to a Windows server box and copies that file into the Window box.
The main problem I have right now is that whenever I try to connect to the Windows box, the connection is refused.
The error message that always pops... (2 Replies)
Discussion started by: kooshi
2 Replies
LEARN ABOUT PHP
mssql_connect
MSSQL_CONNECT(3)MSSQL_CONNECT(3)mssql_connect - Open MS SQL server connectionSYNOPSIS
resource mssql_connect ([string $servername], [string $username], [string $password], [bool $new_link = false])
DESCRIPTION mssql_connect(3) establishes a connection to a MS SQL server.
The link to the server will be closed as soon as the execution of the script ends, unless it's closed earlier by explicitly calling
mssql_close(3).
PARAMETERS
o $servername
- The MS SQL server. It can also include a port number, e.g. hostname:port (Linux), or hostname,port (Windows).
o $username
- The username.
o $password
- The password.
o $new_link
- If a second call is made to mssql_connect(3) with the same arguments, no new link will be established, but instead, the link
identifier of the already opened link will be returned. This parameter modifies this behavior and makes mssql_connect(3) always
open a new link, even if mssql_connect(3) was called before with the same parameters.
RETURN VALUES
Returns a MS SQL link identifier on success, or FALSE on error.
CHANGELOG
+--------+------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+------------------------------------+
| 5.1.0 | |
| | |
| | The $new_link parameter was added |
| | |
+--------+------------------------------------+
EXAMPLES
Example #1
mssql_connect(3) example
<?php
// Server in the this format: <computer><instance name> or
// <server>,<port> when using a non default port number
$server = 'KALLESPCSQLEXPRESS';
// Connect to MSSQL
$link = mssql_connect($server, 'sa', 'phpfi');
if (!$link) {
die('Something went wrong while connecting to MSSQL');
}
?>
SEE ALSO mssql_close(3), mssql_pconnect(3).
PHP Documentation Group MSSQL_CONNECT(3)