07-19-2005
FTP from SCO UNIX to Windows XP PC
I am trying to start an FTP session from my UNIX PC to a PC running XP.
I aim to run a cron to manipulate remote files on the Windows M/C.
I cannot connect to the Windows M/C when i start rthe FTP session on the UNIX box. I can do it fine the other way round.
I have set entries in /etc/hosts and similar files but no joy. Is it a windows problem? Any ideas?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there!
We have a SCO UNIX box that uses a bunch of dumb terminals. We also have a workgroup of 5 stations Is there a way that we can network the UNIX box to the workgroup for dumb terminal.. A novice would think you could TCP the UNIX machine through a hub and use hypertermal as a dumb... (6 Replies)
Discussion started by: huilai
6 Replies
2. UNIX for Dummies Questions & Answers
I downloaded some applications from CD on a windows2000 PC to a Unix Sco machine using the WS-FTP program.
When I tried to run the applications on the Unix machines I got an error. The files must have been corrupted in the process of transferring files from a Windows 2000 to a Unix Sco... (9 Replies)
Discussion started by: BAM
9 Replies
3. UNIX for Advanced & Expert Users
First off I did try google for help on this topic, didn't really find anything.
When I try to ftp from my SCO Unix box (SCO_SV servername 3.2 5.0.5 i386) to a proFTPD server within my company I get this error
Connected to 10.?.?.?.
220 ProFTPD Server ftp.hostname.com
Name (10.?.?.?:root):... (1 Reply)
Discussion started by: whegra
1 Replies
4. Filesystems, Disks and Memory
Hello Moto
I hope someone can help
We's here at work, have a unix box with sco openserver 5 on it, so it has a nice gui interface.. and also a fair few windows computers..
a system admin guy b4 me, has set up a user called neil, which can, when u try to access the unix box using windows... (2 Replies)
Discussion started by: haggo
2 Replies
5. IP Networking
I have a client who is operating a SCO UNIX 4.3 server with Informix 4.12. My problem is that I need to get hold of the data using a Windows PC.
Where the hell do I start? :confused:
Thanks
Richard.
rgray@euriskotechnology.com (3 Replies)
Discussion started by: euriskotech
3 Replies
6. UNIX for Dummies Questions & Answers
my problem is like this
while ftping locally it works,
but when users from WAN try the ftp services it doesnt comes
the message it displays is as follows "connection closed by remote host "
please help
Thanks (5 Replies)
Discussion started by: Athos19
5 Replies
7. Shell Programming and Scripting
i need to ftp a file from windows to a unix machine by executing a sript(perl/shell/php) from that unix machine.i can also use HTML and javascript to build forms. (3 Replies)
Discussion started by: raksha.s
3 Replies
8. AIX
Hi Friends,
I have this script for ftping files from AIX server to local windows xp.
#!/bin/sh
HOST='localsystem.net'
USER='myid_onlocal'
PASSWD='mypwd_onlocal'
FILE='file.txt' ##This is a file on server(AIX)
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies
9. Shell Programming and Scripting
Hi, I am new to this subject.....Can someone please help me out with the script...
unix usernm "sdhftst"
unix pwd "chsd13"
windows usernm "dfghtst"
windows pwd "chsd13"
path..../xxx/xxxxx/xxxxxx/xxxxxxx
please can u get me a script...its only one file to get ftp.
Thanks... (2 Replies)
Discussion started by: himakiran9
2 Replies
10. Shell Programming and Scripting
Hi,
Is it possible to ftp a huge zip file from windows to unix server using unix shell scripting?
If so what command i need to use.
thanks in advance. (1 Reply)
Discussion started by: Shri123
1 Replies
LEARN ABOUT PHP
ftp_ssl_connect
FTP_SSL_CONNECT(3) 1 FTP_SSL_CONNECT(3)
ftp_ssl_connect - Opens an Secure SSL-FTP connection
SYNOPSIS
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)