05-01-2019
More details, please. Debug logs, error messages?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
We are getting the following error while in the middle of an ftp with a remote server
transfer.07-25-02-124529:425 Can't build data connection: Operation already in progress.
This can happen in the middle of a successful connection... we might transfer several files successfully before and /... (3 Replies)
Discussion started by: MizzGail
3 Replies
2. UNIX for Advanced & Expert Users
On HP-UX 11 how do I get the port number of an active ftp connection? (2 Replies)
Discussion started by: mbb
2 Replies
3. IP Networking
Hi,
Anyone have any pointers on how I would go about creating some sort of listener (preferably, but not exclusively in Java) that would monitor an ftp port and react to arrival of a new file?
Thanks in advance.
Selma (2 Replies)
Discussion started by: Selma
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am connecting my remote unix servers using putty ( port 23, telent ). Right now I am doing ftp operation using command prompt. I would like to know the freeware ftp tool for telent ( port 23 ) which would give the interactive mode for ftpe operation. I know ther ftp tool like winScp... (4 Replies)
Discussion started by: thambi
4 Replies
5. SCO
Hi there,
I have a client who wants to FTP to his server (UW7.1.4). He don't wants to use the standard 21 port but a differtent port like 8210.
I added an extra ftp1line in the /etc/services and /etc/inetd.conf as same as the original ftp line. Restarted TCP/IP but when I connect with an... (0 Replies)
Discussion started by: p.vvugt
0 Replies
6. Linux
Hi,
I am having small query and wheather it is possible ? that user can transfer the files using ftp client examples (filezilla) , but he can not use putty to login using ftp and run the commands,
Regards,
Manoj (2 Replies)
Discussion started by: manoj.solaris
2 Replies
7. IP Networking
Hi all,
Simple question.
What is the command to ftp to other port, says 55555
Astelnet we can use: telnet IPaddress portNumber right?
What about ftp? Thanks a lot (4 Replies)
Discussion started by: wilsonSurya
4 Replies
8. HP-UX
Hi Experts,
Need your help in enabling the ftp port in HP-UX box.
Is there any command/config file that needs to be changed?
Also is it possible to open it only for few selected IPs only? (9 Replies)
Discussion started by: sai_2507
9 Replies
9. IP Networking
Hi,
I'm trying to connect ftp over ssh port forwarding to a sever(UnixC) behind FireWall(F/W). here's my env and question.
UnixA(SSH Client) ----F/W ---- UnixB(SSH Svr) ---- UnixC (FTP, 21)
UnixA wants to connect ftp service of UnixC via SSH port forwarding on UnixB.
Unix A,... (3 Replies)
Discussion started by: hanyunq
3 Replies
10. Shell Programming and Scripting
Hi, does anybody know if it is possible to specify a particular port for an FTP address within a .netrc file ?
i have a script which opens the ftp to a machine and then instigates .netrc to login etc.. within .netrc i need it to go to a particular port to enable me to automate the dropping of... (2 Replies)
Discussion started by: forefather1977
2 Replies
LEARN ABOUT PHP
ftp_connect
FTP_CONNECT(3) 1 FTP_CONNECT(3)
ftp_connect - Opens an FTP connection
SYNOPSIS
resource ftp_connect (string $host, [int $port = 21], [int $timeout = 90])
DESCRIPTION
ftp_connect(3) opens an FTP connection to the specified $host.
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 FTP stream on success or FALSE on error.
EXAMPLES
Example #1
ftp_connect(3) example
<?php
$ftp_server = "ftp.example.com";
// set up a connection or die
$conn_id = ftp_connect($ftp_server) or die("Couldn't connect to $ftp_server");
?>
SEE ALSO
ftp_close(3), ftp_ssl_connect(3).
PHP Documentation Group FTP_CONNECT(3)