How to connect to an FTP server via Midnight Commander _User_Menu_?

Hi everyone.
There's a nifty command that works in MC and makes it connect to an FTP server and display its directories just as if they were local ones: cd ftp://USER_LOGIN@SERVER_NAME. The only thing it asks for is a password, obviously. That's exactly what i'm looking for, theoretically.
I know it's not really a standard Bash command, because if invoked outside MC, it returns an error (directory not found).
I got kind of tired of typing it in (or copypasting it) every time, so i thought why not make it automatic? A Bash alias or a shell script wouldn't work, because as i said, it's not really a bash command.
But what surprised me was that it didn't work as an entry in MC's menu, too.
Tried to go another way, discovered kftp, apparently it's completely not what i am looking for.
And i didn't even understand what F9 > Left > FTP Link in MC did. It isn't automatic as well anyway, i have to type everything in manually.
Can anyone advise how to automate FTP connection in MC, or even in Bash (so that MC just treats it like a regular directory)?
Big thanks in advance.
Last edited by kiruch (2010-07-04 20:53:44)

kiruch wrote:mcsilva, here are the contents of my ~/.netrc file: machine ftp.0fees.net login MYLOGIN password MYPWD
When i invoke cd ftp://ftp.0fees.net, it tells me bash: cd: ftp://ftp.0fees.net: No such file or directory
This is not the correct way. You are using bash command line. For this to work it must be:
# mc cd ftp://ftp.0fees.net
kiruch wrote:When i invoke it as an entry of MC's menu (what i'm aiming for), i get /tmp/mc-cyril/mcusr6BWdYd: line 2: cd: ftp://ftp.0fees.net: No such file or directory - well, basically the same.
I don't know what do you mean by "invoke an entry of MC's menu",
Is this:
Left->FTP link or Right->FTP link ?
kiruch wrote:And finally, if i type cd ftp://ftp.0fees.net manually into MC's command prompt, i get a red alert message that says Cannot chdir to "ftp://ftp.0fees.net". Input/output error (5)
In the first post you said you were able to login with "cd ftp://USER_LOGIN@SERVER_NAME", so MC is working well.
This error you showed is the same which I have when I type "cd ftp.0fees.net" in the MC command prompt (maybe you typed wrong...)
Instead, when I try "cd ftp://ftp.0fees.net" the popup error is:  "ftpfs: Login incorrect for user anonymous"
This is what I expected, because I don't have the username and password and I'm trying a anonymous login.
Are you sure your typing is right? Please, check your typing and try again.

Similar Messages

  • How to connect to a FTP server using a proxy in a DMZ with XI file adapter?

    Hello,
    Want to connect to an ftp server using a proxy in the DMZ. I don't see any standard options in the XI file adapter to use a standard. Is there a workaround?
    I already looked at https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=57137
    But it didn't help me.
    Regards,
    Erik van Lisdonk

    U can't use FTP over SSH i.e., SFTP. But u may use FTPS by enabling the SSL layer on J2EE of XI. See this
    SFTP vs. FTPS in SAP PI
    Regards,
    Prateek

  • How do i find the ftp server address information in business catalyst, adobe technical support says

    how do i find the ftp server address information in business catalyst, adobe technical support says mine are wrong. I haven't changed nothing and it used to connect. someone please meassge me, not too sure how to use a forum and do not know how to get catalyst support.

    Hi Michael,
    I think you are referring to the changes switching from regular FTP to SSH connection which is now required. 
    Please review the article below covering this recent update and the changes needed to establish your connection via (DW or FTP client).
    - http://forums.adobe.com/docs/DOC-2841
    Kind regards,
    -Sidney

  • How to delete file on ftp server

    hello,how to delete file on ftp server?thank you!

    I was trying to hint to the fact that you gave no where near enough information.
    Have you already written anything? Such as software that will connect to an FTP server?
    Are you using a 3rd party package?
    Are you doing it by hand, using sockets?

  • How can I registry an FTP server in SLD ?

    Dear all,
    In the web site: ****************/Tutorials/XI/XIMainPage.htm, I find many integration scenarios which use an FTP server as a sender or a receiver or both. I would like to configure one of them, but i don't know how can i registry an FTP server in SLD, and use this FTP server as a Business Service in Integration Directory.
    If you know and have the document about this topic, could you please help me?
    Many thanks and best regards,
    Vinh Vo

    Hello Vinh,
    In the SLD Create a Technical System of ThirdParty Type.
      Choose Home ® Technical Systems.
           2.      Choose New Technical System.
    The System Type screen appears.
           3.      Select the Third-Party indicator and choose Next.
    The General screen appears.
           4.      Enter system details and choose Next.
    The Installed Products screen appears.
           5.      On the left, select installed software products by selecting the Installed indicator.
    On the right, all software components that are part of the selected software products appear.
           6.      On the right, select installed software components by selecting the Installed indicator.
           7.      Choose Finish.
    Check this :
    http://help.sap.com/saphelp_nw70/helpdata/EN/fa/0aad3efa11b300e10000000a114084/content.htm

  • How to connect to a Sql server from Oracle using db link

    Hi All,
    Does anybody have any idea about how to connect to a sql server from oracle database using db link to syncronize the data? I need to pull the data from Sql server table to Oracle tables and relay messages back to the sql server.
    Thank you,
    Praveen.

    we have 2 products - DG4MSQL and DG4ODBC.
    DG4ODBC is for free and requires a 3rd party ODBC driver and it can connect to any 3rd party database as long as you use a suitable ODBC driver
    DG4MSQL is more powerfull as it is designed for MS SQL Server databases and it supports many functions it can directly map to SQL Server equivalents - it can also call remote procedures or participtae in distributed transactions. Please be aware DG4MSQL requires a license - it is not for free.
    Check out Metalink and you'll find notes how to configure both products.
    For a generic overview:
    Note.233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases
    And the setup notes:
    DG4ODBC
    Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX) :
    Note.466225.1 How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit RDBMS.HS-3-2 :
    Note.109730.1 How to setup generic connectivity (HSODBC) for 32 bit Windows (Windows NT, Windows 2000, Windows XP, Windows 2003) V817:
    Note.466228.1 How to Setup DG4ODBC on Linux x86 32bit
    DG4MSQL
    Note.466267.1 How to Setup DG4MSQL (Database Gateway for MS SQL Server) on Windows 32bit
    Note.562509.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) 64bit Unix OS (Linux, Solaris, AIX,HP-UX)
    Note.437374.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) Release 11 on Linux

  • Trying to connect to a ftp server

    I am able to connect to Cerberus (5.0.0.5) using the web browser or using a CoreFTP client, but I can't connect programatically using org.apache.commons.net.ftp.FTPClient. 
    Below is my code (this is actually using the java ftpclient through Coldfusion) :
    ftpsClient = CreateObject("java","org.apache.commons.net.ftp.FTPClient").init();
    ftpsClient.connect(JavaCast("string","xxx.xxx.xxx.xxx"),21);
    connected = ftpsClient.isConnected();
    login = ftpsClient.login(JavaCast("string","username"),JavaCast("string","password"));
    This is what I see in the ftp server log file:
    2011/12/13 13:47:54  [0]  Client connected to Cerberus FTP Server 5.0.0.5 on 'machine'
    2011/12/13 13:48:41  [1]  Incoming connection request on FTP interface 0 at xxx.xxx.xxx.xxx
    2011/12/13 13:48:41  [1]  FTP connection request accepted from xxx.xxx.xxx.xxx
    2011/12/13 13:48:45  [1]  USER svc.script
    2011/12/13 13:48:45  [1]  331 User svc.script, password please 
    At this point the Coldfusion/Java client returns "Truncated server reply".  I also tried not using the login, and instead sending the user command and pass command separately like this:
    userCmd = ftpsClient.sendCommand(JavaCast("string","USER" ),JavaCast("string","username" ));
    But as soon as I send the "USER" command I see the above in the log file and the same reply, "Truncated server reply".
    When I use the cfftp tag like this:
    <cfsetting requesttimeout="1000">
    <cfftp action="open" connection="ftptest" secure="false"
        server="xxx.xxx.xxx.xxx" port="21"
        username="username" password-"password" timeout="1000" stoponerror="true">
    I receive a "java.net.ConnectException: Connection timed out: connect"
    Does anyone have any ideas?  Thanks much.

    This has been resolved.
    There is a bug in the apache commons ftpclient that misinterprets /r in the welcome message.  The ftp server people made a change that fixes this.
    With cfftp, when I changed the server attribute on the cfftp open to the server name instead of the ip address, it started working.  To me this is a bug in ColdFusion, you should be able to use the ip address.
    The other thing I noticed is when you use getfile, you have to set the the failifexists attribute to "false".  If you don't, it fails every time and the file has a "0" size, whether the file actually does exist.  To me, another bug.

  • I just registered a domain name. I would like to publish an iWeb site to own server. How do I get the FTP server settings?

    I just registered a domain name. I would like to publish an iWeb site to own Mac Mini server. How do I get the FTP server settings?

    reference:
    http://www.macinstruct.com/node/152
    http://www.macminiserver.com/
    http://www.macdrifter.com/2011/04/more-dropbox-fun-ftp-access/

  • HT204387 how to connect iphone4s to other phones via bluetooth??????

    how to connect iphone4s to other iphones via bluetooth??????

    You can't. It's not and never has been a feature of the phone. Here is a list of what you can connect the phone too using Bluetooth:
    http://support.apple.com/kb/HT3647?viewlocale=en_US&locale=en_US

  • An error occurred while connecting to the FTP server '127.0.0.1:14147'

    HI Experts,
    I have been tried Content Conversion by using the FTP. Under Adapter Monitoring --> Communication Channel monitoring i found this error:
    An error occurred while connecting to the FTP server '127.0.0.1:14147'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx:  4     '. For details, contact your FTP server vendor.
    Regards,
    -Prabhakar.A

    Hi
    Pl mention the error correctly, whats the FTP error code? (something like this: 426, 521)
    Could be due to 2 reasons:
    1) insufficient privileges
    2) wrong port
    Srikanth Srinivasan
    Edited by: Srikanth Srinivasan on Jun 20, 2010 2:19 PM

  • Error occurred while connecting to the FTP server: java.lang.NullPointerExc

    Hello Experts,
    I have a scenario wherein i have to send file from FTP to application server of ECC.
    I don't want to do any mapping and transformation; Just need to transfer the file as it is.
    I have achieved this using Integrated scenario.
    But in the sender communication channel i get an error saying "Error occurred while connecting to the FTP server "*.*.*.*:*": java.lang.NullPointerException"
    I have checked all my FTP parameters many times and everything is correct.
    Thanks,
    Lalit Mohan Gupta.

    Hi,
    You can check the connect test of FTP in either of the below ways.
    1. Use FTP Dos command (i.e go the run and type ftp..) and from there try to login to the source FTP server by using FTP Commands. If you are able to connect to the same then ask your basis to check the connectivity test from PI server.
    If you are not able to connect check the error you are getting and post the same if you are not able to resolve the same.
    2. There is Program from SAP which need to be deployed into Server and after that you can test the ftp connection by yourselves from PI server. Search in sap support for Connection Test SAP Note..
    HTH
    Rajesh

  • The WSUS administration console was unable to connect to the WSUS Server via the remote API. (Server 2k8)

    I have installed a new server for WSUS on Server 2k8, This is a stand alone server on Internet No client system is connected on this server as I have to copy these updates to my LAN which never connects to internet. (Previously I was using server 2k3. for
    online & server 2008 on my LAN , now I have changed the server for Online)
    Wsus has finished the synchronization & downloaded updates of around 67GB & its downloading more updates. The server shows me some updates are waiting to approved. but when I click the link for those updates I get following error message.
    error code is as follows -
    The WSUS administration console was unable to connect to the WSUS Server via the remote API.
    Verify that the Update Services service, IIS and SQL are running on the server. If the problem persists, try restarting IIS, SQL, and the Update Services Service.
    System.Net.WebException -- The operation has timed out
    Source
    System.Web.Services
    Stack Trace:
       at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
       at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
       at Microsoft.UpdateServices.Internal.DatabaseAccess.ApiRemotingCompressionProxy.GetWebResponse(WebRequest webRequest)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Microsoft.UpdateServices.Internal.ApiRemoting.ExecuteSPSearchUpdates(String updateScopeXml, String preferredCulture, Int32 publicationState)
       at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.ExecuteSPSearchUpdates(String updateScopeXml, String preferredCulture, ExtendedPublicationState publicationState)
       at Microsoft.UpdateServices.Internal.BaseApi.Update.SearchUpdates(UpdateScope searchScope, ExtendedPublicationState publicationState, UpdateServer updateServer)
       at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.GetUpdates(UpdateScope searchScope)
       at Microsoft.UpdateServices.UI.AdminApiAccess.UpdateManager.GetUpdates(ExtendedUpdateScope filter)
       at Microsoft.UpdateServices.UI.AdminApiAccess.BulkUpdatePropertiesCache.GetAndCacheUpdates(ExtendedUpdateScope updateScope, ComputerTargetScope computerTargetScope)
       at Microsoft.UpdateServices.UI.SnapIn.Pages.UpdatesListPage.GetListRows()
    I Have tried desabling the firewall,disabling the antivirus protection. Tried by changing the default rule Please Help.

    Hi Sagar,
    First, please check if the RAM is exhausted. When there is not enough RAM, this issue may occurs.
    Please try to run iisreset on the WSUS server, then try to reconnect.
    Also, please try to run the server cleanup wizard to remove the unused update.
    Best Regards.
    Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to connect client database to server database

    please provide me the steps that how to connect client database to server database in oracle 10g i am getting error ORA-12560 TNS:Protocol adapter error.

    Why don't you search in this forum ???? There are many link which would help
    ORA-12560 adapter error, connecting to remote database
    ORA-12560: TNS:protocol adapter error
    How to solve ORA-12560:TNS:protocol adapter error?
    ORA-12560: TNS: protocol adapter error

  • How to connect LIVE CYCLE Policy server from ADOBE ACROBAT

    Hi All,
    I want to know how to connect to Livecycle Policy Server from Adobe Acrobat.
    I had generated mykeystore and changed the server.xml.
    https://localhost:443/ is working on server m/c
    but when i configure Acrobat security setting and add new server with server name as the IP Address of Server(10.224.72.38)
    then it gives error : "Enable to connect to the service at https://10.224.72.38:443.
    Please tell me how to connect to the server.
    Thanks in Advance

    Hi All,
    I want to know how to connect to Livecycle Policy Server from Adobe Acrobat.
    I had generated mykeystore and changed the server.xml.
    https://localhost:443/ is working on server m/c
    but when i configure Acrobat security setting and add new server with server name as the IP Address of Server(10.224.72.38)
    then it gives error : "Enable to connect to the service at https://10.224.72.38:443.
    Please tell me how to connect to the server.
    Thanks in Advance

  • How to connect j2me to sip server

    Hi friends ...
    I am new to this topic and i just want to know how to connect a real sip server with the j2me application .
    I tried using the GoSIP demo given in wtk2.5 . its working fine with local SIP proxy and registrar given in that .
    But i want to connect to a real SIP Server. Even i have a registered sip number.
    Can any one please help me how to sort out this problem as i am very new to this topic. Is there any source given for this ??? If so please tell me ...
    Thanks in advance ......

    is it possible to make
    voice calls from the GoSIP example given in the
    wtk2.5 demo examples ?
    Probably not. Have you tried?
    I have a sip account and i just want to know how to
    register my sip account with the sip server using a
    j2me application .
    Change the SipHeader and / or SipAddress
    What are the changes to be made in the GoSIP example
    to connect to a real sip server and not to the sip
    proxy server
    See above
    and what are the syntax to be changed
    in it ????
    Syntax is a property of the programming language, not the application.
    And one question mark is enough to pose a question, 4 is overkill and perceived as rudeness.
    Please help me in solving out this problem ....
    What have you done to help yourself?
    Read the javadoc for jsr-180
    http://www.forum.nokia.com/document/Java_ME_Developers_Library_v2/GUID-2508C2ED-C0BE-4512-9302-6805AB7ACB0E/index.html
    Introduction to the SIP API for Java ME
    http://dev2dev.bea.com/lpt/a/565
    A presentation on the architecture and capabilites of SIP
    http://phoenix.labri.fr/documentation/sip/Documentation/Papers/Programming_SIP/Presentation/Jain/SIP_for_J2ME.pdf
    Thanks in advance ....
    If you're looking to solve a need by cut-n-paste programming sans understanding, you're unlikely to get it here.
    Increase your level of understanding, experiment with your codes and post back when you have a specific issue.
    Good luck, Darryl

Maybe you are looking for

  • LabVIEW 64-bit crashes upon startup but LabVIEW 32-bit works fine.

    Recently had to uninstall and reinstall both LabVIEW 32 and 64-bit versions because the network administrator is dumb.  Now 32-bit works fine but the 64-bit version immediately crashes upon opening.  Getting the following Labview Crash: Exception: Un

  • Import dialogue doesn't appear

    I have been using (and teaching!) LR since version 1. I am currently using LR 3.4.1 on a Windows XP SP3 machine (x32). I have a problem that has been getting progressively worse. I never used to have a problem importing. Then, once in awhile, when LR

  • Page Navigation Increases Memory

     Hi All,       1)        I am developing an windows phone 8.1 app which holds  10 to 20 (thumbnails only ) thousands of images in a page. the page contains 3 to 4 ListViews ,GridViews . how to handle those no of images in a listview and gridview with

  • I get an error when I updated my phone

    Dear team, I tried to update my iphone and I get an error, after that my iphone doesnt work and the screen shows the iTunes logo.How I cab fix it? Thanks

  • SAP BW Transaction Key

    Hi, There is a field called BWVORG (SAP-BW Transaction Key) in the data sources for Inventory namely 2LIS_03_BF and 2LIS_03_UM which gets mapped to 0PROCESSKEY in BW. I want to know in which transaction of R/3 I will be able to see all those availabl