Hey guys,
Any chance of getting a thread under 'Special Interest Topics' for Interix/SFU? This has to be one of the most poorly documented pieces of software floating around and it works great for interoperability of windows systems with the rest of your unix/linux network rather than having to... (3 Replies)
Just installed SFU in my PC running under Windows XP Pro. Could someone tell us how to change directory and to its subdirectories either by Korn Shell or C Shell?
I tried, cd f:\ or chdir f:\ but it didn't work. (1 Reply)
I tried to run my ksh scripts in SFU and it always says "not found" as in the example below:
$ .file
/bin/ksh: .file: not found
Did I miss something in the SFU Installation? (2 Replies)
hi guys
i am trying using this awk command which works perfectly on unix
awk '$1>=dt' dt="2007-12-03" filename
but when i run same command for same file under SFU it does nothing simply prints the file ( just like cat command ) i am not getting why ?
any way i used sed for same ( little... (5 Replies)
I am new in UNIX so pardon me if I am asking this question. We are using SFU in Windows to have a Windows folder mounted over UNIX. While we can see the mount, everytime i cd on the mounted folder (e.g. cd CONFIG) I always get Permission denies error. Does anyone know why I cannot go inside the... (11 Replies)
Hi all
How can I use ps command on korn shell emulated by SFU on Windows Server ?
All others commands work fine, but this one I don't know :confused:
Many thanks
---------- Post updated at 11:28 AM ---------- Previous update was at 10:12 AM ----------
Ok, it works fine in fact, I'm... (0 Replies)
Hi all
I have a problem again under Korn Shell with SFU.
If I use sqlplus.exe like this :
$ sqlplus.exe "/ as sysdba"
SQL*Plus: Release 9.2.0.1.0
SQL> select value from v$parameter where name='user_dump_dest';
VALUE
-------------------------------------------------------------... (9 Replies)
Hi, I support a small lab of older HP UX 9 and 10 boxes. We have some older NT 4.0 machines at each UX box, with a old ZFS Server programs hosting two mounted directories. (Each UX and NT machine is on its own private network via crossover cable). Due to hardware failure/support EOL on NT, I have... (3 Replies)
Hi all,
i am currently setting my windows XP environment to use with Services for Unix (NFS Client) to mount my unix file system as a network drive. However, though i could mount the unix file directory successful, but the folder is empty (which is not). Why is this so? i have imported my unix... (6 Replies)
Hi all,
When I execute ps command with SFU (Microsoft Windows Services for UNIX), the result is returned as an empty line.
Other commands will return correct results.
How can I get the result of ps command correctly?
Thank you. (2 Replies)
Discussion started by: tcx731
2 Replies
LEARN ABOUT PHP
ftp_ssl_connect
FTP_SSL_CONNECT(3) 1 FTP_SSL_CONNECT(3)ftp_ssl_connect - Opens an Secure SSL-FTP connectionSYNOPSIS
resource ftp_ssl_connect (string $host, [int $port = 21], [int $timeout = 90])
DESCRIPTION ftp_ssl_connect(3) opens an explicit SSL-FTP connection to the specified $host.
Note
Why this function may not exist
ftp_ssl_connect(3) is only available if both the ftp module and the OpenSSL support is built statically into php, this means that on
Windows this function will be undefined in the official PHP builds. To make this function available on Windows you must compile your
own PHP binaries.
Note
ftp_ssl_connect(3) is not intended for use with sFTP. To use sFTP with PHP, please see ssh2_sftp(3).
PARAMETERS
o $host
- The FTP server address. This parameter shouldn't have any trailing slashes and shouldn't be prefixed with ftp://.
o $port
- This parameter specifies an alternate port to connect to. If it is omitted or set to zero, then the default FTP port, 21, will
be used.
o $timeout
- This parameter specifies the timeout for all subsequent network operations. If omitted, the default value is 90 seconds. The
timeout can be changed and queried at any time with ftp_set_option(3) and ftp_get_option(3).
RETURN VALUES
Returns a SSL-FTP stream on success or FALSE on error.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.2.2 | |
| | |
| | The function was changed to return FALSE when it |
| | can't use an SSL connection, instead of fallback- |
| | ing to a non-SSL one as previously. |
| | |
+--------+---------------------------------------------------+
EXAMPLES
Example #1
ftp_ssl_connect(3) example
<?php
// set up basic ssl connection
$conn_id = ftp_ssl_connect($ftp_server);
// login with username and password
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
echo ftp_pwd($conn_id); // /
// close the ssl connection
ftp_close($conn_id);
?>
SEE ALSO ftp_connect(3).
PHP Documentation Group FTP_SSL_CONNECT(3)