Detecting an event at ftp port

Hello,
I am writing a program that is supposed to detect when a file has arrived through an ftp port to a certain folder, and process it upon detection.
Would it be appropriate to use a SocketServer on port 21 for this scenario?
If not, do you have any pointers which way to go?
TIA,
Selma

Nope.
If an FTP server is running on a computer on port 21, you will not be able to create a ServerSocket on that port (since it's already in use). Operating systems limit one thing listening per port. That's the way they are intended to work.
As for an alternative solution...
You can get a directory listing every x minutes and check for differences.... shrug
Maybe other people have better solutions.

Similar Messages

  • Is there a way to detect the event when device goes to sleep and the screen blackens?

    I want to detect the event when the iOS device goes to sleep and the screen blackens?
    Is there any way to do it?

    Hi,
    A small idea, please check whether it will work or not.
    You can achieve this by using combination of DNS server and reverse proxy server.( Customized apache). Make 'A' record for www.abcd.com to reverse proxy server IP address in your DNS.
    So it will resolve your reverse proxy IP address for requests.
    Configure appche to accept incoming request for www.abcd.com and points towards www.abcd.com/parameters.
    I think this will solve your problem.  Only one condition is that proxy server will communicate with www.abcd.com on behalf of client.
    Follow the link for configuration of reverse proxy server
    http://www.slashroot.in/how-configure-basic-apache-reverse-proxy
    HTH
    Naisam

  • How do I set up my Belkin router to forward ftp port to macMini?

    I am trying to set up my spare macMini (non-intel) as an ftp server, but I am not able to connect to the ftp server (office) from a remote location with my MacBook Pro (home). I have tried to make the right settings as below:
    1. forwarded ports 20 and 21 on my Belkin router to the private IP of my macMini (192.168.2.15)
    2. set up a dynamic dns account xxx.dyndns.org so that this domain is updated with the current public IP
    3. set Sharing Preferences to allow ftp access and turned off the Firewall
    I think the port forwarding info is not correct because it does connect if I use the DMZ setting and hard code the public IP to the private IP.
    Any help appreciated,
    Cynthia

    Are you sure that your Internet Service Provider (ISP) doesn't block the ftp ports?
    Is is fairly common these days for ISPs not to allow any kind of file server on ordinary household contracts.
    Anyway, I'd suggest you rule that out before you get further into the intricacies of port forwarding.
    I also hope that you only have the firewall turned off for the ftp ports -- or if not, that your router has firewall protection.

  • Error in Detect Break event.vi

    Hey friend,
    As you can see i have just opened an example detect break event.vi.
    The error is"Wite class conflict".
    Please help me on this.
    I have a program which uses thisVI.that program is showing the warning
    " This VI needs a driver or toolkit component that is not found. Missing resource file "visarc"."
    please help me on this.
    Solved!
    Go to Solution.
    Attachments:
    detect break.pdf ‏65 KB

    yes i have NI-VISA . .
    I am using 8.6 verision of LAbview

  • Should FTP port be opened for client_to_as function

    I need to transfer a file from the client machine to the Solaris Server where the 10g forms are running. I was planning on using the webutil_file_transfer.client_to_as function. I know we have to set some properties in the webutil.cfg file. Other than that, should the FTP port be open on the server for the file to be transferred from the client machine. Basically, wanted to know if FTP protocols are used to transfer the file so that certain securities can be set on the server.
    Also does anyone know how to delete the file on the solaris server programmatically through Oracle Forms? After the file is transferred from the client to the server and processed, I need to delete the file. I am assuming you can use the HOST command, but not sure of the exact syntax and what permissions are required to delete the file from the client machine.

    I have never used the "Client_To_AS" method, however, according to the documentation all you need to configure is the webutil.cfg and insure the transfer.appsrv.enabled parameter is set to TRUE and if the transfer.appsrv.accessControl parameter is set to TRUE then you also need to ensure the target directory on the App Server is listed in the transfer.appsrv.write list. There is no mention that FTP must be enabled on the App Server.
    The documentation also states that you should call the WebUtil_File_Transfer.IsASWritable function with the target file name to ensure you are able to write to the file location on the server.
    As to how to delete a file, you can use the "rm <filename>" command in Solaris to remove the file. Also, here is the link to the documentation I used to reply to your post.
    http://www.oracle.com/technology/products/forms/htdocs/webutil/web_util.pdf
    Hope this helps.
    Craig...

  • Using FTP port 21

    I have a WRT54G2 router. I recently got a LaCie network hard drive that uses remote access (FTP) to access the hard drive. I have connected & transferred files locally but have not been able to connect remotely. LaCie support tells me that I need to get port 21 open on my router. I am not sure exactly how to do that. I have contacted my ISP (at&t) & they do not block port 21 or anything to do with FTP. Thanks so much, I'm fairly new at this stuff.

    First of all, I would STRONGLY advise not opening port 21 on your router, unless you are going to do it temporarily for times you want to transfer files. Opening FTP (port 21) is like opening the door for hackers. You may find your bandwidth being used by people trying to gain access to your system....
    If you MUST do it, make sure the FTP server on the network drive is secure...thoroughly research the device on community bulletin boards to find out if there any known vulnerabilities that cannot be overcome. If you STILL want to go ahead, make sure you configure it with a very strong password, that is unlikely to be cracked...there are numerous sites out there that can help you to pick a strong password.
    If your FTP server in the device supports it, and you know the IP address from which you will be accessing it, see if you can restrict FTP access to only your loacal network, and any specific IPs you will be accessing it from.
    Then, once you have finally decided you want to potentially allow the world to access your files, go to portforward.com, where you can find out how to set up port forwarding (opening ports) on your router.
    Tomato 1.25vpn3.4 (SgtPepperKSU MOD) on a Buffalo WHR-HP-G54
    D-Link DSM-320 (Wired)
    Wii (Wireless) - PS3 (Wired), PSP (Wireless) - XBox360 (Wired)
    SonyBDP-S360 (Wired)
    Linksys NSLU2 Firmware Unslung 6.10 Beta unslung to a 2Gb thumb, w/1 Maxtor OneTouch III 200Gb
    IOmega StorCenter ix2 1TB NAS
    Linksys WVC54G w/FW V2.12EU
    and assorted wired and wireless PCs and laptops

  • Connect to non standard ftp port

    Hi ,
    Is it possible for PI to connec to non standard ftp port to pick files using ftp adapter??
    how abt non standard ftp servers?

    Hi Teja,
    > Is it possible for PI to connec to non standard ftp port to pick files using ftp adapter??
    According to my knowledge it is possible, you have to mention that port in the communication channel. 
    > how abt non standard ftp servers?
    Reffer the below links
    http://www.nsoftware.com/kb/tutorials/biztalkftpadapter.aspx
    http://wikis.sun.com/display/JavaCAPS/SunAdapterfor+Batch-FTP
    Regards
    Ramesh

  • NIO Selector object can't detect OP_ACCEPT event in time.

    We developed a server with Java NIO. we use a special thread to accept new SocketChannel object, read data, write data with a Selector object in server side. The client side is similar with the server side, it also use a special thread to connect to server, read data, write data.
    Now, we found sometimes the time that the socket channel object can't be accepted in server side in time. for example:
    the client side:(output after socketchannel.finishConnect is true)
    11:20:27.937 Finished connect to <remote:/127.0.0.1:9433,local:/127.0.0.1:3602> .
    the server side:(output after serversocketchannel.accept method)
    11:33:11.93 Accepted connection from /127.0.0.1:3602.
    From the log, we knew that the client created a socket channel object and finished connect at 11:20:27.937 but selector object detected this OP_ACCEPT event and accept this socket channel at 11:33:11.93. this process need 13 minutes.
    No server can accept this so long delay. this issue happen only when the machine is in high load.
    I reproduce it by the below steps:
    1, start 3 servers in one machine.
    2, run 40 threads to access one server. the machine is in very high load, then quickly this issue happen.
    by the way, the implement of server side is below:
    while (!shutdown) {
    try {
    int readyCount;
    try {
    readyCount = selector.select();
    } catch (java.nio.channels.ClosedSelectorException ex) {
    readyCount = -1;
    if (readyCount == -1 || isWindowsChannelBug4881228(readyCount)) {
    // Reset the selector
    logger.error("windows channel bug 4881228");
    } else if (readyCount == 0) {
    logger.debug("select wakeup");
    } else {
    Iterator keyIter = selector.selectedKeys().iterator();
    while (keyIter.hasNext()) {
    SelectionKey key = (SelectionKey) keyIter.next();
    keyIter.remove();
    if (key.isConnectable()) {
    ((ChannelConnection) key.attachment()).finishConnect();
    if (!key.isValid()) {
    continue;
    if (key.isAcceptable()) {
    ServerSocketChannel ssc = (ServerSocketChannel) key.channel();
    try {
    SSLEngine sslEngine = null;
    if (ssc == sslSocketChannel) {
    sslEngine = sslContext.createSSLEngine();
    sslEngine.setWantClientAuth(true);
    sslEngine.setUseClientMode(false);
    ServerChannelConnection conn =
    new ServerChannelConnection(this, ssc.accept(), sslEngine);
    conn.setConnectTime(System.currentTimeMillis());
    conn.registerForRead(selector);
    } catch (IOException ex) {
    if (!key.isValid()) {
    continue;
    if (key.isReadable()) {
    try {
    ((ChannelConnection) key.attachment()).processInput();
    catch (Throwable ex) {
    logger.error(ex);
    if (!key.isValid()) {
    continue;
    if (key.isWritable()) {
    try {
    ((ChannelConnection) key.attachment()).processOutput();
    catch (Throwable ex) {
    IOException iex=new IOException(msg(FailedWriteResponse));
    iex.initCause(ex);
    logger.error(iex);
    if (!key.isValid()) {
    continue;
    processPendingRequests();
    catch (Throwable ex) {
    logger.error(ex.getMessage(), ex);
    try {
    Thread.sleep(1000);
    } catch (InterruptedException ex2) {
    // ignore
    The client side is similar with the up.
    I can't understand it. Normally, the selector should detected OP_ACCEPT event quickly. but why not?
    Anyone who met this issue?

    You have an empty catch{} block for IOExceptions when handling isAcceptable(). So the prima facie presumption is that an error condition is arising, that you are ignoring. Fix that first and retest.
    After that, if you still have a problem, I have some comments.
    1. Create the SSLEngine and/or the ServerChannelConnection after accepting the connection, not before, and only if you got a non-null accepted channel. It is still valid for accept() to return null after you get OP_ACCEPT.
    2. Get rid of the sleep() in the exception handler - what's that for?
    3. select() for a specific timeout, not forever, and use the selectCount == 0 case to do something useful such as scanning for idle connections that you might want to drop.
    3. Catch IOException explicitly as well as Throwable, in the outer loop, not per operation, and close the current key's channel if you get it. You can't do anything more with a channel that's had an IOException of any kind, except a SocketTimeoutException, and you won't get that in non-blocking mode.

  • Two FTP ports on a single solaris server

    can i have two FTP ports on single Solaris server ? If yes, HOW ??

    Hi adiyakiran,
    This is possible in third party ftp server wu-ftpd. you can download it from http://www.sunfreeware.com.
    read wu-ftpd faq URL: http://www.wu-ftpd.org/wu-ftpd-faq.html
    Testing on a different port number then ftp:21
    This can be done from the command line or with a special definition in /etc/services ,/etc/inetd.conf. For command-line, look up -P and -p in the ftpaccess(5) manpage.
    To set up with special definitions, add 2 ports with consecutive numbers in /etc/services, and then start wu-ftpd on these ports. Add to /etc/services something like :
    ftptest 4021/tcp #command port
    ftptest-data 4020/tcp #data port
    Then start wu-ftpd from /etc/inetd.conf like :
    ftptest stream tcp nowait root /usr/etc/in.ftpd in.ftpd
    The key is the name 'ftptest' which associates the port assignment in the /etc/services file to that in the inetd.conf file. Make certain the choice of ports in /etc/services (4021 and 4020 above) are from the local use list and don't conflict with other port assignments (see RFC1700, ASSIGNED NUMBERS). One important subtlety. The data
    port is not really derived from the data port declaration in the /etc/services file. The FTP specification (RFC765) states the data port is defined as one less than the command port. However, including the data port declaration in the /etc/services file prevents it from being accidentally assigned to something else.
    Thanks.
    regards,
    senthilkumar.
    SUN - DTS

  • Arch/Pacman FTP ports

    Does anyone know what ports you need to have open in the outbound direction when using pacman.
    For example - on my adsl router (with builtin firewall) I typically drop all outbound conections in combination with explicitly allowing connections out to ports 20, 21, 53, 80, 443, 873 etc etc.....
    Now - I can't get pacman to connect out using this configuration so I've had to temporarily allow all outbound connections through my rouiters firewall while configuring Arch and sure enough pacman now connects out and I can download arch packages.
    So am just wondering, does Arch/Pacman use any "strange" ftp ports by any freak chance- not sure whether it's an issue with the active/passive thing or what - anyone have any ideas?
    Thanks.

    You can also use wget to download the packages instead of pacman's internal downloader.  You need to uncomment the " XferCommand"  line in /etc/pacman.conf
    It might work in your case.

  • CSM not passing ACK in FTP port 1985?

    We have a pair of CSM 4.1.6 in bridge mode and we have a VIP for passive ftp set. We are seeing consistent errors with FTP port 1985. We took several captures and notice that conns show ESTAB on CSM but the client sends the SYN receives the SYNACK then sends the ACK but the ack never gets to the server and this only happens on port 1985. I also looked at the capture on the server and see that the ACK never gets to the server. We try TCP ports 1984 and 1986 everything works perfectly. Has anyone seen anything like this before?
    vserver PSCO_FTP---21
    virtual 10.x.2.100 tcp ftp service ftp
    vlan 690
    serverfarm PSCO_FTP---0000
    persistent rebalance
    inservice
    serverfarm PSCO_FTP---0000
    nat server
    no nat client
    predictor leastconns
    real 10.x.5.100
    inservice
    real 10.x.6.100
    inservice
    probe PROD-FTP
    EdSw02#sh mod csm 4 conns vserver PSCO_FTP---21 det
    prot vlan source destination state
    In TCP 690 172.x.2.57:1985 10.x.2.100:21 ESTAB
    Out TCP 691 10.x.6.100:21 172.x.2.57:1985 ESTAB
    vs = PSCO_FTP---21, ftp = Control, csrp = False

    Thx sadbulali, I see...but according to the tcp dumps on client and server you never see a FIN in either direction. What you do see is the client sending SYN the real gets the SYN it sends a SYN/ACK and the client then receives the SYN/ACK then the client proceeds to send the ACK which never reaches the real server...And it seems to be stopping at the CSM.

  • AirPort Extreme FTP port is open when doing Remote Port Scan

    I have a question regarding the AirPort Extreme Base stations running firmware 7.7.3.  Currently the AirPort is not port-mapping any services, however when I do a remote port scan of that particular AirPort I have noticed some TCP ports are open from the outside, such as FTP port 21, RTSP port 554 and ARCP port 7070. Why is that? I thought the AEBS blocks these services by default, unless otherwise configured to be open.  Is this a vulnerability with the firmware?

    TCP and UDP ports used by Apple software products - Apple Support
    Your 554 and 7070 may be open due to links to itunes store. It is not a big vulnerability since it is for streaming.
    Port 21 is more a concern.. It is used internally by the AE apparently.. but I really do not know why. FTP as a protocol is not offered to the outside world. so you cannot connect to it and get info for files.. even if you have a hard disk plugged in. Why it should be open to the outside world I am not sure.
    Do you have BTMM turned on? It may be involved with remote services.
    If you are concerned it is not hard to fix.. port map those ports to a non-existent client in the network.. however your itunes store connection might stop working as well as some other things... that need those ports open.. There is also a good chance you cannot map them when they are used.. so do a factory reset and before you setup other applications or BTMM do the port map and see what happens.
    You can also post the details to apple directly but I honestly doubt you are facing any big issues here.

  • FTP port?

    Hello,
    I am trying to use a non-standard FTP port (2121) with B2B (10.1.2) but it seems not to work as it should (or as I anticipate anyways).
    I change the "receiver control port" and it picks up the files fine from the endpoint. But when it sends file it sends them to "port 21".
    So is there spoused to be a "sender control port" somewhere or am I missing something?
    I also noticed this post B2B Sftp Port number but that is about SFTP and this is vanilla plain old FTP so nothing fancy.
    // Michael Medin

    Yes, that is what I have configured as follows:
    *Remote TP [CAB]:*
    Delivery Channel:
    Name: CAB_CABTest_EDIEL_DC
    Document Exchange: CAB_EDIEL_FTPDocEx
    Transport: CAB_CABTest_EDIEL_FTPTransport
    Transport:
    Name: CAB_CABTest_EDIEL_FTPTransport
    Transport Server: CAB_CABTest_EDIEL_FTPTransportServer
    URI:     /Recv
    Transport Server [CAB_CABTest_EDIEL_FTPTransportServer]:
    receiver control port = 2121
    *Host TP [GoteborgEnergi]:*
    Delivery Channel:
    Name: GoteborgEnergi_CABTest_CAB_EDIEL_FTPDC
    Document Exchange: GoteborgEnergi_EDIEL_DocEx
    Transport: GoteborgEnergi_CABTest_CAB_EDIEL_FTPTransport
    Transport:
    Name: GoteborgEnergi_CABTest_CAB_EDIEL_FTPTransport
    Transport Server: GoteborgEnergi_CABTest_CAB_EDIEL_FTPTransportServer
    URI: /Send
    Transport Server [GoteborgEnergi_CABTest_CAB_EDIEL_FTPTransportServer]:
    receiver control port = 2121
    The interesting thing here is that there is a FTP server at port 21 as well which is what is being used for sending:
    Transport log like so:
    2009.11.11 at 09:17:27:871: Thread-16: (DEBUG) FTPAgent.login(): Enter
    2009.11.11 at 09:17:27:871: Thread-16: (DEBUG) Host name is 'cabkonvappinv'.
    2009.11.11 at 09:17:27:874: Thread-16: (DEBUG) Host cabkonvappinv FTP command: USER cabftpt3edi
    2009.11.11 at 09:17:27:874: Thread-16: (DEBUG) FTP Command: USER, reply:
    *331 User name okay, need password.*
    2009.11.11 at 09:17:27:874: Thread-16: (DEBUG) Host cabkonvappinv FTP command: PASS
    2009.11.11 at 09:17:27:915: Thread-16: (DEBUG) FTP Command: PASS, reply:
    2009.11.11 at 09:19:28:163: Thread-12: (DEBUG) FTPAgent.login(): Enter
    2009.11.11 at 09:19:28:163: Thread-12: (DEBUG) Host name is 'cabkonvappinv'.
    2009.11.11 at 09:19:28:164: Thread-12: (DEBUG) Host cabkonvappinv FTP command: USER cabftpt3edi
    2009.11.11 at 09:19:28:164: Thread-12: (DEBUG) FTP Command: USER, reply:
    *331 Password required for cabftpt3edi.*
    2009.11.11 at 09:19:28:164: Thread-12: (DEBUG) Host cabkonvappinv FTP command: PASS
    2009.11.11 at 09:19:28:165: Thread-12: (DEBUG) FTP Command: PASS, reply:
    530 User cabftpt3edi cannot log in.
    2009.11.11 at 09:19:28:165: Thread-12: (ERROR) Server 'cabkonvappinv' unable to login , reply code = 530
    In the above log you can see we get different 331 response:
    And trying from command line ftp yields:
    ftp cabkonvappinv 21
    331 Password required for cabftpt3edi.
    ftp cabkonvappinv 2121
    331 User name okay, need password.
    So I am pretty sure it uses "the wrong port".
    If you want I can send you the b2b log as well but here are some extracts but I have not been able to see any information about the "sending transport server" so it is not very useful:
    // Michael Medin
    2009.11.11 at 09:12:57:547: B2BStarter thread: B2B - (INFORMATION) oracle.tip.adapter.b2b.transport.TransportInterface:initialize: Props: ftp://cabkonvappinv//Send file.receiver.wallet_location = /etc/ORACLE/WALLETS/oracle/ewallet.p12
    file.receiver.polling_interval = 60
    file.receiver.path = /Send
    file.receiver.marker = false
    marker = false
    ccc = false
    file.receiver.channel_mask = None
    file.receiver.minimum_age = 0
    filename_format = *_%MSG_ID%.edi
    file.receiver.van = false
    file.sender.channel_mask = None
    file.receiver.user = cabftpt3edi
    PROTOCOL_ENDPOINT = null
    file.receiver.password = *****
    file.receiver.preserve_filename = false
    transport_callout_waittime = 30
    preserve_filename = false
    file.receiver.control_port = 2121
    file.receiver.ccc = false
    van = false
    polling_interval = 60
    2009.11.11 at 09:19:28:154: Thread-12: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Calling Send to transmit the message
    2009.11.11 at 09:19:28:154: Thread-12: B2B - (DEBUG) Protocol Name: FTP
    2009.11.11 at 09:19:28:154: Thread-12: B2B - (DEBUG) Version Name: 1.0
    2009.11.11 at 09:19:28:154: Thread-12: B2B - (DEBUG) Endpoint: ftp://cabkonvappinv//Recv
    2009.11.11 at 09:19:28:155: Thread-12: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send URL: FTP://CABKONVAPPINV//RECV
    2009.11.11 at 09:19:28:155: Thread-12: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send TO Endpoint: 506 ftp://cabkonvappinv//Recv
    2009.11.11 at 09:19:28:155: Thread-12: B2B - (DEBUG)
    Protocol = FTP
    Version = 1.0
    Transport Header
    Content-Transfer-Encoding:binary
    filename:GoteborgEnergi_2009Nov11_09_19_28_127.dat
    ACTION_NAME:Process_EDIFACT_PRODAT_D97A
    DATE:Wed, 11 Nov 2009 08:19:26 GMT
    file.sender.type:BINARY
    TO:CAB
    DOCTYPE_NAME:PRODAT
    FROM_PARTY:GoteborgEnergi
    DOCTYPE_REVISION:D97A
    FROM:GoteborgEnergi
    MESSAGE-ID:internal_C0A8D210124E2535D6000000F899B200-1B2BIDSuffix
    TO_PARTY:CAB
    Connection:close
    Parameters
    -- listing properties --
    http.sender.timeout=0
    2009.11.11 at 09:19:28:166: Thread-12: B2B - (WARNING)
    Message Transmission Transport Exception
    Transport Error Code is 530 User cabftpt3edi cannot log in.
    StackTrace oracle.tip.transport.TransportException: FTPAgent cannot login to cabkonvappinv. Check user name and password.
         at oracle.tip.transport.basic.ftp.FTPAgent.login(FTPAgent.java:580)
         at oracle.tip.transport.basic.ftp.FTPAgent.init(FTPAgent.java:614)
         at oracle.tip.transport.basic.FileSource.init(FileSource.java:189)
         at oracle.tip.transport.basic.FileSource.<init>(FileSource.java:111)
         at oracle.tip.transport.basic.FileSender.send(FileSender.java:119)
         at oracle.tip.transport.b2b.B2BTransport.send(B2BTransport.java:311)
         at oracle.tip.adapter.b2b.transport.TransportInterface.send(TransportInterface.java:1034)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1757)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:975)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
         at java.lang.Thread.run(Thread.java:534)
    2009.11.11 at 09:19:28:166: Thread-12: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send Error in sending message
    2009.11.11 at 09:19:28:166: Thread-12: B2B - (INFORMATION) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Request Message Transmission failed
    2009.11.11 at 09:19:28:166: Thread-12: B2B - (DEBUG) DBContext beginTransaction: Enter
    2009.11.11 at 09:19:28:166: Thread-12: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
    2009.11.11 at 09:19:28:166: Thread-12: B2B - (DEBUG) DBContext beginTransaction: Leave
    2009.11.11 at 09:19:28:166: Thread-12: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab FTPAgent cannot login to cabkonvappinv. Check user name and password.
    FTPAgent cannot login to cabkonvappinv. Check user name and password.
    2009.11.11 at 09:19:28:360: Thread-12: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
    2009.11.11 at 09:19:28:360: Thread-12: BusinessLogicLayer - (DEBUG) Push Stack: updateBusinessMessage
    2009.11.11 at 09:19:28:361: Thread-12: BusinessLogicLayer - (DEBUG) Pop Stack: updateBusinessMessage
    2009.11.11 at 09:19:28:362: Thread-12: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:notifyApp retry value <= 0, so sending exception to IP_IN_QUEUE
    2009.11.11 at 09:19:28:370: Thread-12: B2B - (DEBUG) Engine:notifyApp Enter
    2009.11.11 at 09:19:28:371: Thread-12: B2B - (DEBUG) Enqueue Engine AQJMSCorrelationID = null
    2009.11.11 at 09:19:28:371: Thread-12: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
    <Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <correlationId>internal_C0A8D210124E2535D6000000F899B200-1B2BIDSuffix</correlationId>
    <b2bMessageId>internal_C0A8D210124E2535D6000000F899B200-1B2BIDSuffix</b2bMessageId>
    <errorCode>AIP-50079</errorCode>
    <errorText>Transport error: FTPAgent cannot login to cabkonvappinv. Check user name and password.
    FTPAgent cannot login to cabkonvappinv. Check user name and password.</errorText>
    <errorDescription>
    <![CDATA[Machine Info: (tsr-appint.goteborgenergi.se)
    Transport error: FTPAgent cannot login to cabkonvappinv. Check user name and password.
    FTPAgent cannot login to cabkonvappinv. Check user name and password.  ]]>
    </errorDescription>
    <errorSeverity>2</errorSeverity>
    </Exception>
    2009.11.11 at 09:19:28:377: Thread-12: B2B - (DEBUG) Engine:notifyApp Exit
    2009.11.11 at 09:19:28:377: Thread-12: B2B - (DEBUG) DBContext commit: Enter
    2009.11.11 at 09:19:28:379: Thread-12: B2B - (DEBUG) DBContext commit: Transaction.commit()
    2009.11.11 at 09:19:28:379: Thread-12: B2B - (DEBUG) DBContext commit: Leave
    2009.11.11 at 09:19:28:379: Thread-12: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequest Exit
    2009.11.11 at 09:19:28:380: Thread-12: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage:
    ***** REQUEST MESSAGE *****
    Exchange Protocol: Generic Version 1.0
    Transport Protocol: FTP
    Unique Message ID: GoteborgEnergi_2009Nov11_09_19_28_127.dat
    Trading Partner: CAB
    Message Signed: No
    Payload encrypted: No
    Attachment: None
    ***** REQUEST MESSAGE *****

  • FTP Port from 21 to 211

    Greetings,
    I have an:
    Xserve
    2x 2GHz Dual-Core Intel Xeon
    2GB 667 MHz FB-DIMM
    Trying to reconfigure the FTP port from 21 to 211 (or any other, except 21).
    How do I tell the Xserve to listen for that particular port for FTP instead of 21?
    I already forwarded the port 211 to the IP address assigned to the Xserve.
    Thank you.

    First let me preface this by saying I think this is a really bad idea.
    There are two common reasons for using non-standard ports for services. One is to circumvent network filters (such as those imposed by an ISP), the other is to hide the fact you're running a particular server.
    In the former, there are usually easier ways to overcome that, for example, port forwarding at the router, tunneling over SSH or a VPN, or using a different protocol SFTP, for example.
    In the latter you're largely wasting your time since any serious hacker isn't trying any particular port to get into your machine, they run a port scan and analyze whatever responds. Any worthy hacker (is that a legitimate term? ) will know almost immediately what kind of service is running on any given port.
    In addition to all of that, FTP is a major PITA due to its use of multiple ports. While you may use port x for the FTP control connection, you typically use port x-1 for the data connection, meaning you need to open port 210 as well as 211.
    Then comes the future. Running non-standard ports requires that you remember the changes and re-apply them after any future updates - Apple have a habit of updating files they don't expect users to change and you may find that FTP reverts to a standard port without you realizing.
    That said, FTP's main control file is /System/Library/LaunchDaemons/ftp.plist.
    In there you'll find the part that tells FTP which network ports to listen to:
    <key>Sockets</key>
     <dict>
      <key>Listeners</key>
      <dict>
       <key>SockServiceName</key>
       <string>ftp</string>
       <key>Bonjour</key>
       <true/>
      </dict>
     </dict>
    The SockServiceName is the relevant part - in this case it tells the daemon to listen on the 'ftp' port.
    At this point you have two options - either tell it to use a different port, or redefine what 'ftp' relates to.
    In the first option, I think (but haven't confirmed) you can just change the <string>ftp</string> with an alternate port number, e.g.:
       <key>SockServiceName</key>
       <string>211</string>
    The other option is to edit the file /etc/services (which is where the daemon looks up the port names) and redefine the ftp port number:
    ftp 21/udp # File Transfer [Control]
    ftp 21/tcp # File Transfer [Control]
    Change both these numbers to 22. You may also need to change the 'ftp-data' ports listed immediately above in the file.
    As mentioned before, whichever option you choose (.plist or /etc/services) you should be prepared to re-apply the change if Apple overwrites them.
    If you're running a firewall you will also need to edit your firewall rules to match the new port numbers.

  • Changing Application that uses FTP port 21

    We have a Windows server that uses an OCR software that allows our printers to scan documents to our Mountain Lion server to a document management application (at least thats what we are trying to do). The problem is that the OCR software is sending it to an FTP share but will not let you specify the FTP port number. By default Mac uses port 21 and I know how to change that port to something else. I just need to know if there is a way to let another application take control of port 21?

    Sure.  Shut off the ftp server on the target system. 
    At most there can be one application listening to a particular TCP port.  If you don't want that to be ftp, shut it off.
    But I'd tend to doubt that'll help, here.
    I'd be interested in learning a little more about how this OCR tool works and how this file transfer supposedly happens, as ftp is a paragon of insecurity and also largely incompatible with modern network security and firewalls, but this particular request for a changed-port seems quite unexpected. 
    The identity of the OCR software might help, as a look at the documentation would be interesting, too.

Maybe you are looking for

  • To Update rows in Table in OA Framework

    Hi All, I have one requirement to update the table. For the first time when User opens the form, nothing is stored in database for the user id. He opens the form and enter 5 rows and click on save button.So 5 rows get inserted in database. Each recor

  • Why is there no solution to the incredibly slow youtube iPhone4 problem

    Ok it has been long enough.  Could Apple at least recommend a phone that works on YouTube?

  • What is the Web Dynpro tab on the portal page?

    Newbie here... I am confused between NDWS and the Web Dynpro tab on the portal page.  As I don't have access to either right now, I need to know what is required by a Portal Content Admin to maintain an application.  The Basis people do the JCO setup

  • Looking for a consultant

    We need a consultant to do work on one specific project within labview.  We are located in Erie, PA so some one in the area would be best, but we could work with someone remotely.  Please contact me if you are interested and we can discuss the projec

  • PO Mass price change

    Hi all!     I want to change the net price for around 100 PO's. How to do this? Thx in advance. Yuvi.