X xemaps Verified User Joined Apr 13, 2006 Messages 386 Location Europe Dec 7, 2006 #1 Can we have ability to specify another port than 21 for ftp backup ? I have storage wich need port after 1024 thanxs
Can we have ability to specify another port than 21 for ftp backup ? I have storage wich need port after 1024 thanxs
D dreamline Verified User Joined Dec 3, 2005 Messages 108 Dec 30, 2006 #3 I second this feature.. Since port 21 is a well known port to use for FTP it would be nice to be able to choose a port to FTP to...
I second this feature.. Since port 21 is a well known port to use for FTP it would be nice to be able to choose a port to FTP to...
DirectAdmin Support Administrator Staff member Joined Feb 27, 2003 Messages 8,509 Jan 1, 2007 #4 Hello, For the time being, you can edit the script: /usr/local/directadmin/scripts/ftp_upload.php to modify to port. Related guide for modifying the script: http://help.directadmin.com/item.php?id=111 John
Hello, For the time being, you can edit the script: /usr/local/directadmin/scripts/ftp_upload.php to modify to port. Related guide for modifying the script: http://help.directadmin.com/item.php?id=111 John
D dreamline Verified User Joined Dec 3, 2005 Messages 108 Jan 1, 2007 #5 Thank you for the workaround i'm gonna try that..
X xemaps2 Verified User Joined Jan 2, 2007 Messages 21 Location near you... Jan 3, 2007 #6 hope future version will not need workaround.
P polo Verified User Joined Apr 2, 2005 Messages 120 Jan 17, 2007 #7 Link didn't help me... don't understand How do you specify a port, do you know the exact line to add to the script?
Link didn't help me... don't understand How do you specify a port, do you know the exact line to add to the script?
DirectAdmin Support Administrator Staff member Joined Feb 27, 2003 Messages 8,509 Jan 17, 2007 #8 edit the ftp_upload.php script. Change: PHP: $conn_id = ftp_connect($ftp_server); to PHP: $conn_id = ftp_connect($ftp_server, 21); Related documentation: http://ca.php.net/manual/en/function.ftp-connect.php John
edit the ftp_upload.php script. Change: PHP: $conn_id = ftp_connect($ftp_server); to PHP: $conn_id = ftp_connect($ftp_server, 21); Related documentation: http://ca.php.net/manual/en/function.ftp-connect.php John
J jlpeifer Verified User Joined Jun 6, 2006 Messages 103 Apr 4, 2007 #9 I've been trying to get this to work but am having no luck. Is there a log file I can view that might give me a clue as to what's going on?
I've been trying to get this to work but am having no luck. Is there a log file I can view that might give me a clue as to what's going on?