how to do FTP Active mode?
location: linuxquestions.com - date: August 5, 2011
I need to connect to a remote FTP server and that server only accepts active mode ftp. I am using a production server of Red Hat Linux (not sure of the version) and it defaults to passive connection mode. How can I connect to ftp server using active connection mode? How it should be done?
windows - defaults to active.
linux - defaults to passive.
the command i use:
ftp <ip address> 21
->then the remote ftp server asks for credentials.
Filezilla client have an option that accepts active mode. And that is possible because i noticed Filezilla uses raw ftp commands thru telnet - this is not a solution I am looking for though...the programs we have for automatic file transfers uses commercial FTP Java Library.
I dont have control on the remote ftp server and the server that the automatic ftp program is hosted on...
Your suggestion based on experience is greatly appreciated.
How to start active mode for FTP client in C, linux
location: linuxexchange.com - date: January 1, 1970
I have to write a little command line FTP client for linux in C. It works quite well for common uses (directory managing, retrieving and storing files, etc.), and I want to add the active mode (at the moment every transfer is made under passive mode).
I know that I have to send a command in the shape of :
where a b c d are the ip address blocks and e f the port numbers. However, as I understand it, the ip has to be the ip of the machine on which my client is running, but I've been advised to use getsockname(). From what I've tested, getsockname() gets me the local ip of the interface(s) used by my socket, not my ip seen from the internet. So I can't give this ip address for the server to connect.
The question is : am I understanding the command PORT correctly, and how to get the correct ip to send it ?
FTP Active mode client error in Ubuntu: I won't open a connection to 127.0.1.1
location: linuxexchange.com - date: December 16, 2014
I have created FTP Active mode client. On OS X operating system it works great. But when I have migrated to Ubuntu, it has started to fail. The problem is that on OS X, when I am enabling data connection, my listening socket listens on my wifi router IP. I don't know why, but on my Ubuntu it listens on 127.0.1.1. Because of this, I get response to my PORT commnd:
I won't open a connection to 127.0.1.1
How to prioritize hosts just like I had in OS X?
else if (strcmp(command, "ls") == 0)
// Listening data socket initialization
data_socket = listen_to_server(&ip_address);
if (data_socket == SOCKET_ERROR)
// FTP commad PORT request
if(request_port(&command_socket, ip_address) == SOCKET_ERROR)
// Server response receiving
if(receive_packet(&command_socket, packet) == SOCKET_ERROR)
Ubuntu 10.04 How do I drop down into terminal mode?
location: linuxquestions.com - date: May 6, 2010
I'm trying to exit X entirely and use the console to install my nVidia drivers, I have a .run file. I've tried all of the normal commands like init 3 and everything, killing the X process, Ctrl Alt F1, Ctrl Alt Backspace, but nothing wants to work. What do I need to do?
How do I boot into recovery mode
location: ubuntuforums.com - date: April 25, 2012
I see from a post ..
.. boot into recovery mode and login without X running in terminal mode. Once I login, I type "startx" and the Gnome GUI in go.
How do I do that please ?
how do i get to recovery mode ubuntu 10.04?
location: ubuntuforums.com - date: June 17, 2010
ok so i have been haviung the same problem for a while now and it is starting to **** me off, with every distribution of ubuntu i am getting thuis stupid message when i log in it is ionoly every once i a while that i get it but saince i have upgraded to 220.04 cannot fix it. i could fix it befor pretty easily, the probklem is when i get t o the login screen i get this generic login menu whne i attept to login i get this message somethiung like power management is not installed correctly. like i said b4 it was easy to fix, all i would do is to go to the ubuntu recovery thing, which is apparently not available ion 10.04 it does not evn give me a choice which to boot how do i get to recover mode in ubuntu 10.04?
How do I force Unity to run in 2D mode?
location: ubuntuforums.com - date: January 14, 2012
I am running my system through VNC right now and from time to time menus will act funky. For instance I might click the Edit menu in open office and I'll see it flash up for a split second and then disappear. The mouse may, or may not, cause parts of the menu to appear and disappear as I roll over that area of the screen but it's very unreliable. In the past when problems like this would happen I would just disable compiz and run in a non-accelerated 2D mode. How do I do this with Unity?
EDIT: I just figured it out on my own. You go into Compiz Config and uncheck OpenGL. Duh
How do I get active directory to add users to linux server
location: linuxquestions.com - date: March 29, 2013
In my school they use active directory to manage users that login to a number of things. That being the wireless network, the logins for the lab computers if you want to access a windows share that is mounted automatically. Plus this adds users to the email server (runs centos), and their ftp and ssh server (also runs centos). I want to know how to make linux server automatically add users to it's local user database when an active directory user is created, also so they can use the ssh, email and ftp server with the credentials that are in the active directory server. And if it's not too much to ask I also want it to add joomla users to my joomla interface as well. perhaps make it add users when they register through the joomla interface but this is only a bonus, I originally didn't want this part of the question but if you have any ideas you are free to express any ideas you may have.
How do I exit Full Screen Mode
location: ubuntuforums.com - date: June 15, 2011
I am writing this question via a second user as I can only get full screen mode in ubuntu on my main user site. No doubt the solution is simple but I don't know what it is. As I said. Ubuntu only appears in full screen mode with no access to the scroll bar down the right hand side. f11 only goes from big to bigger.
What is the solution please?
How do I start ftp service and check if port open?
location: linuxquestions.com - date: November 24, 2005
I have a linux machine, Debian distribution
The machine was started without the ftp daemon running. How can I start the ftp daemon.
And where does the ftp daemon live? What directory?
The ftp port may also have been blocked. How can I check if the ftp port is open?
Page: 1 2 3 4 5 6 7 8 9 10