Vim via FTP doesn't work

Hi there,
I've got an error with netrw and vim: when i try to open a file on my ftp server (either with "vim ftp://login@host" or via Nautilus), i get a:
**warning** (netrw) cannot determine method (format: protocol://[user@]hostname[:port]/[path])
error message.
FTP with other tools (gEdit for exemple) works fine.
Do you know where the error came from ?

> If you are asking me how to disable sftp but let ssh work, it can't be done
Oh, but it can.
SFTP runs as a subsystem to SSH.
If you check /etc/sshd_config you'll find a line near the end:
<pre class=command>Subsystem sftp /usr/libexec/sftp-server</pre>
If you want to run SSH, but not SFTP, comment out this line.

Similar Messages

  • Calendar sync via cable doesn't work with now I've updated to Maverick and ios7

    Calendar sync via cable doesn't work now I've updated to Maverick and ios7.

    I am sorry you are having this trouble. 
    Here is an article on troubleshooting calendar syncing with iCloud.  See if the suggestions there are of help.
    http://support.apple.com/kb/TS3999

  • FTP doesn't work, SFTP does work .... ?

    This is odd.
    I previously had authenticated users be able to log into their home folder using FTP, but this doesn't seem to work anymore (no settings were changed).
    But if the client uses SFTP, it logs in fine.
    I'm stumped! Previously it worked fine via FTP/SFTP, and now only SFTP.
    Anyone have a similar problem? Any help would be great!

    > If you are asking me how to disable sftp but let ssh work, it can't be done
    Oh, but it can.
    SFTP runs as a subsystem to SSH.
    If you check /etc/sshd_config you'll find a line near the end:
    <pre class=command>Subsystem sftp /usr/libexec/sftp-server</pre>
    If you want to run SSH, but not SFTP, comment out this line.

  • IPhone 5 contacts local sync via usb doesn't work - updated

    Syncing an iPhone 5, AT&T 64GB, with Macbook Air 11" mid-2011, 1.8GHz / 4GB.
    OS X 10.10.2; iTunes 12.1.0.50; iOS 8.1.3.
    I am trying to sync my contacts from my OS X Contacts App to my iPhone 5 via USB. The contacts do not sync. The contacts are local, "on my mac". I am using a usb cable through iTunes.
    The iPhone 5 was just restored by Apple Configurator, set up as new iPhone, and is supervised by the MacBook Air.
    I am also synchronizing my local Calendars from the OS X Calendar app; these transfer just fine. This makes me think it is probably not to do with the entire setup of the iPhone, i.e. that it is managed by apple configurator, since some of the sync works correctly.
    Under "info" in the iTunes sync dialog, I have selected the "sync contacts" and "all contacts" and "sync calendars" and "all calendars" options.
    Interestingly, while the Calendars sync options displays options of "selected calendars" and a list of my calendars available to sync, the Contacts section "selected groups" is grayed out. I have one group in Contacts, and it does not show up by name for "selected groups". Instead, the area where groups should be listed for selection is empty. Perhaps iTunes does not have access to my local contacts? It is not listed under apps with access to my contacts under security and privacy, and it has not requested access to my contacts.
    I created a fake contact on the phone and synced it with iTunes. I then turned off contact syncing in iTunes and told it to remove previously synced contacts. The fake contact disappeared. When I turned contact syncing on again, the contact was again pushed to the phone. However, the fake contact did not appear at any point in the OS X Contacts App, and none of my OS X Contacts appeared on my phone -- only the fake contact I had created on my phone and then synced with iTunes.
    I also created a (different) fake contact in OS X Contacts. iTunes sync did not transfer this contact (or any others) from OS X Contacts to iPhone.
    SUMMARY:
    - syncing iPhone 5 via USB with iTunes
    - Calendar sync works
    - Contacts sync doesn't work
    - iTunes appears to have no communication with the OS X Contacts app; in system prefs > security and privacy > privacy > contacts, Pages and Word have access to Contacts, but iTunes is not listed. iTunes Contacts sync "selected groups" does not display my OS X Contacts group names.
    - Contacts created on iPhone sync back to iTunes and are restored back to the iPhone if deleted and resynced.
    - Contacts created on iPhone do not sync back to OS X Contacts; Contacts in OS X Contacts do not sync to iPhone.
    (apologies for premature posting to "Using iPhone"; I accidentally submitted and now can't delete or edit).

    Here's the resolution: I went to my local Apple store and spoke to the guy. After some discussion it turned out that one of the staff had had a similar problem. He suggested this course and I can report that it seems to work. So, (1) open your system preferences and then the print & fax setting and delete the printer in question (2) disconnect the USB between the printer and the TimeCapsule (3) shut everything down and turn off power to your modem, your TimeCapsule and your whole system (4) power on each item in its normal sequence (5) wait for your iMac to complete its boot-up, (6) re-connect the USB between the printer and the TimeCapsule (7) open system preferences and search for and install the relevant printer (8) try printing.
    This is hardly elegant, but it worked. I am told (by the same Apple store) that hitting the "reset" button in the TimeCapsule might also work. If this is intuitive or obvious to anyone else then my compliments to them ...
    Cheers
    OzHutz

  • File download via servlet doesn't work with IE via https

    I have a URL from a jsp page which points to a struts action servlet. This works with firefox via http and https. With IE it works via http but it doesn't work via https. The error message I get is "Internet Explorer cannot download ...File_name.doc from Server_name.
    Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later."
    Here is my code.
    public ActionForward execute(ActionMapping mapping, ActionForm form,
                   HttpServletRequest request, HttpServletResponse response)
                   throws Exception {
              String attachmentURL = AppSettings.get("EAIAttachmentURL");
              String encodingScheme = AppSettings.get("EAI_encoding");
              String filename = request.getParameter("URL");
              String fileStr = URLEncoder.encode(filename, encodingScheme);
              fileStr = fileStr.replaceAll("\\+","%20");
              URL targetURL = new URL(attachmentURL + "/" + fileStr);
              URLConnection connection = targetURL.openConnection();
              connection.setDoInput(true);
              connection.setDoOutput(false);
              connection.setAllowUserInteraction(false);
              BufferedInputStream attachmentStream = new BufferedInputStream(
                        connection.getInputStream());
              * Setting the content disposition filename, so that the
              * attachment preserves the original filename
              response.setHeader("Content-Disposition",
                        " attachment; filename=" + filename);
              if (connection.getContentType() != null) {
                   response.setContentType(connection.getContentType());
              else {
                   response.setContentType("application/octet-stream");
              response.setContentLength(connection.getContentLength());
              response.setHeader("Pragma", "public");
              response.setHeader("Cache-Control", "public, max-age=-1, must-revalidate");
              if ( connection.getContentEncoding() != null ) {
                   response.setHeader("Content-Encoding",
                             connection.getContentEncoding());
              BufferedOutputStream responseStream = new BufferedOutputStream(
                        response.getOutputStream());
              byte[] buffer = new byte[4096];
              int bytesRead;
              try {
                   while ((bytesRead = attachmentStream.read(buffer)) != -1) {
                        responseStream.write(buffer, 0, bytesRead);
              } catch (Exception e) {
                   log.error("AttachmentProxy error: " + e.getMessage());
              } finally {
                   if (attachmentStream != null) {
                        attachmentStream.close();
                   if (responseStream != null) {
                        responseStream.flush();
                        responseStream.close();
              return null;
    There is a bug with IE when downloading via https according to Microsoft support site. Refer to http://support.microsoft.com/default.aspx?scid=kb;en-us;812935
    According to this bug, I have set the response header - "pragma" to public and "cache-control" to public. I've also unchecked the Do not save encrypted pages to disk setting in IE Options, Advanced tab.
    Has anyone come across this problem or a similar problem. Any help is appreciated. Thanks.

    I have a URL from a jsp page which points to a struts action servlet. This works with firefox via http and https. With IE it works via http but it doesn't work via https. The error message I get is "Internet Explorer cannot download ...File_name.doc from Server_name.
    Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later."
    Here is my code.
    public ActionForward execute(ActionMapping mapping, ActionForm form,
                   HttpServletRequest request, HttpServletResponse response)
                   throws Exception {
              String attachmentURL = AppSettings.get("EAIAttachmentURL");
              String encodingScheme = AppSettings.get("EAI_encoding");
              String filename = request.getParameter("URL");
              String fileStr = URLEncoder.encode(filename, encodingScheme);
              fileStr = fileStr.replaceAll("\\+","%20");
              URL targetURL = new URL(attachmentURL + "/" + fileStr);
              URLConnection connection = targetURL.openConnection();
              connection.setDoInput(true);
              connection.setDoOutput(false);
              connection.setAllowUserInteraction(false);
              BufferedInputStream attachmentStream = new BufferedInputStream(
                        connection.getInputStream());
              * Setting the content disposition filename, so that the
              * attachment preserves the original filename
              response.setHeader("Content-Disposition",
                        " attachment; filename=" + filename);
              if (connection.getContentType() != null) {
                   response.setContentType(connection.getContentType());
              else {
                   response.setContentType("application/octet-stream");
              response.setContentLength(connection.getContentLength());
              response.setHeader("Pragma", "public");
              response.setHeader("Cache-Control", "public, max-age=-1, must-revalidate");
              if ( connection.getContentEncoding() != null ) {
                   response.setHeader("Content-Encoding",
                             connection.getContentEncoding());
              BufferedOutputStream responseStream = new BufferedOutputStream(
                        response.getOutputStream());
              byte[] buffer = new byte[4096];
              int bytesRead;
              try {
                   while ((bytesRead = attachmentStream.read(buffer)) != -1) {
                        responseStream.write(buffer, 0, bytesRead);
              } catch (Exception e) {
                   log.error("AttachmentProxy error: " + e.getMessage());
              } finally {
                   if (attachmentStream != null) {
                        attachmentStream.close();
                   if (responseStream != null) {
                        responseStream.flush();
                        responseStream.close();
              return null;
    There is a bug with IE when downloading via https according to Microsoft support site. Refer to http://support.microsoft.com/default.aspx?scid=kb;en-us;812935
    According to this bug, I have set the response header - "pragma" to public and "cache-control" to public. I've also unchecked the Do not save encrypted pages to disk setting in IE Options, Advanced tab.
    Has anyone come across this problem or a similar problem. Any help is appreciated. Thanks.

  • Image transfer via AIM doesn't work in Messages anymore

    My chat contacts and me are experiences many issues with inline image transfer via AIM since Yosemite, especially if two people have different OS versions. If one party is on Yosemite, image transfer with the standard server settings doesn’t work anymore. I read in one of the other threads here that port 5190 is required for image transfer. The default setting is 443 (and it should change the port for image automatically?). Is it possible that something with the ports or the SSL behavior has changed for Messages 9 on Yosemite? (I have computers with 10.10 and 10.8 and experience issues both ways chatting with someone on a different OS).
    It seems to work if everyone switches off SSL which changes the default settings to login.oscar.aol.com and port 5190. If both parties have this setting it works. If one uses port 443 and SSL on it doesn’t. But switching off SSL is not a sustainable solution. Any other ideas? I tried to force port 5190 and slogin.oscar… with SSL but then can’t connect.

    Have responded in Yosemite.
    9:18 pm      Thursday; December 11, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Start BEX via RRMX doesn't work

    Hello
    BW 3.5 /SAP GU 6.2
    It is possible to access bex via system-> program-> BEx -> analyzer.
    However transaction RRMX doesn't start BEX . There is also no error message. But the EXCEL Process starts ( seen in the Windows Task Manager) and disappears immediately.
    I have also checked authorization, where everything is ok.
    Please has anyone a good idea how to solve or at least some investigation ideas.
    Best regards
    Christian Baumann

    > Hi,
    >
    > First try this->
    > Open business explorer through the start menu.
    >
    > If not, then Restarting the BW server will work.
    >
    > Regards,
    > San!
    Hello
    Thanks a lot of your answer. Perhaps I didnt write all important information on this issue down.
    It is a user, who is not able to start Bex via RRMX. However when I start RRMX it works perfectly and we are on the same platform.
    Do you have another idea?

  • [SOLVED] Vim : cterm=italic doesn't work

    I tried to change the colorscheme in Vim to have comments in italic like this :
    hi Comment guifg=#7C7C7C guibg=NONE gui=NONE ctermfg=gray ctermbg=NONE cterm=ITALIC
    But this make the comments' color inverted, which is very ugly, and they are not in italic.
    I'm using urxvt with the font DejaVu Sans Mono, but I think the problem comes from Vim because I can print italic text in the terminal.
    Does someone know if it is possible to fix it ? Thank you !
    Last edited by Pascal C.Plusplus (2012-10-30 18:59:45)

    If the problem is present outside tmux, then you haven't defined font variants your terminal is supposed to use, e.g.
    URxvt.font:xft:DejaVu Sans Mono:style=Book:pixelsize=13
    URxvt.boldFont:xft:DejaVu Sans Mono:style=Bold:pixelsize=13
    URxvt.italicFont:xft:DejaVu Sans Mono:style=Oblique:pixelsize=13
    URxvt.boldItalicFont:xft:DejaVu Sans Mono:style=Bold Oblique:pixelsize=13
    With the above, things should work as you wish in a bare urxvt session.
    With tmux, however, the case looks differently and depends on the screen-256color terminal definition. There appear to be ways to work around the issue, though personally I'm happy with a regular font and slightly darker fg color for all the comments.

  • Playbeck via earpones doesn't work

    Tried playback of music in the Passport "music" app. Works fine via the built in loudspeakers but nothing comes through the earphones when they are plugged in. BBVE reports a fault for this (all other audio tests seem to work).
    It sems that the earphones are not being detected as on my previous Blackberry BOLD they are automatically selected when plugged in. Tis seems not to be the case on the Passport.
    I have tested the earphones supplied with the Passport on my previous Black berry phone (a Bold) and they work fine. I have also tried the earphones from the BOLD on the Passport but no sound comes through.
    The problem is evidently not with the earphones..........maybe I have the setup wong?

    Hi and welcome to the BlackBerry community support fourms!
    This does sound like a hardware issue. However, you can reload your device software through BlackBerry link to see if that solves the problem.
    If reloading does not help, try a different pair of headphones, the device may not be compatible with that kind, but this is unlikely. Your device is probably under warrenty, so you sould see your carrer for a replacment.
    Good luck and let me know if I can further assist you.
    1. If a post has helped you, show your appreciation by clicking Like at the bottom of the message box.
    2. If a post has solved your question, please click ''accept as solution'' to verify your question has been solved.

  • Receive Updates via eMail Doesn't Work

    My "Receive Updates via eMail" and "More System Details" options do not work anymore. They used to work about a couple of weeks ago.
    Does anyone else has the same problem or just me?
    Any suggestions/comments are much appreciated.
    Thank you.

    This is a known bug, it should hopefully be fixed next week when they update the software used by this forum.

  • Saving DNG as copy via Bridge-doesn't work!

    Hi, i just started using Bridge CS3 to download and backup (to an external HD). I download them onto my desktop, converting them to DNG in the process (all is well with that); however, when i ask it to save copies to an external HD, hence creating two sets of files, the copies are RAW not DNG. I don't understand that as the point of making the backup copies is to have an original DNG set of files. I thought perhaps i was doing something wrong but all my playing around does not get me DNG files as copies - is that on purpose? Am i doing something wrong? Or don't i understand the purpose of "save copies to:"?
    All instructions greatly encouraged, please.

    Hi Taiyo,
    It sounds like you are using Adobe Photo Downloader via Bridge's "Get Photos From Camera..." menu command.
    The "save copies" feature will save copies of the original RAW files during the download process; you are seeing the feature work as designed. Some photographers want to keep both DNG files as well as the original original RAW format files, and others choose to keep only the converted DNG files.
    These original RAW can be used as part of a backup workflow, but the "save copies" option alone does not provide the kind of backup workflow I think most photographers want to use. For example if the photographer's intent is to keep the original RAW files as well as the DNGs (I understand that in your case, you just want to backup DNGs), then a robust backup would probably put backup copies of *both* the DNGs and the RAW files on an external hard drive (or more than one external hard drive).
    One way you can use Bridge to save backup copies of your DNGs after they've been downloaded is to select the new DNGs in Bridge and use the "Copy To" command in the Thumbnail contextual menu to make copies of the DNGs on your external drive. Right/Control Click on one of the selected thumbnails to bring up the menu. Recently browsed folders and folders you are browsing in other Bridge windows will appear in the "Copy To" list. A "Choose Folder..." command also lets you make copies to folders you have not yet browsed with Bridge.
    -David

  • Internet sharing via airport doesn´t work

    Hello to everybody,
    my problem is, when I do internet sharing via Airport on my imac (OSX 10.6.8) so I can use my ipad for surfing. The connection establishes for a short time and then it breaks down. Once in a while I can reconnect, but it´s constantly breaking.
    I know, this problem is posted a million times, but it still seems not to be solved (or I didn´t find the right thread with the solution).
    Bthw. I phoned the apple support. They wanted to charge € 49,--. Now I´m quite mad at apple. This *****. They are having a problem with their software and they want to charge me? That´s incredible. I can´t understand what´s the hype about apple. Such an awfull bad support they´re giving (or not giving at all).

    OK. To your information. Today I tried the following: I switched off and on internet sharing twice after boot and voila, wifi seems to work fine. Yeah, that´s what I call a sophisticated computer system. Really crappy stuff!

  • Syncing iOS bookmarks via iTunes doesn't work

    Some background on my bookmarks.  I always used a utility (Xmarks) to sync my bookmarks with their cloud service.  With iCloud and Safari 5.0 this had some major problems and still does.  So basically I copied over my bookmarks to Safari and continued using it.  For a long time Safari and my iPhone had similar but not quite in-sync bookarks.  A week or so ago, Safari 6 (which has been horribly buggy for me) deleted all my bookmarks after one restart.  The bookmarks were on my iPhone.  I didn't mind much because iTunes hadn't been syncing my bookmarks anyway.
    I tried to fix that today to get my bookmarks back on my Mac.  Turning off and on the bookmarks syncing for my iPhone in iTunes seemed to have no effect.  Eventually after a restart of iTunes, I turned on bookmark syncing and it decided to sync my bookmarks.  Unfortunately it deleted all my bookmarks on my iPhone.  I did a restore and I'm back to where I was.
    Any way to fix the bookmark syning via usb cable from Phone to Safari?
    I'm running iTunes 10.7 on up-to-date snow leopard.

    I would try another cable. Make sure to be connecting directly to the computer instead of a keyboard port or Hub. Try another computer.
    Otherwise I would take it directly to Apple so they can either try a restore or determine if it's hardware related.

  • Locking iPhone via icloud doesn't work

    I recently lost an iPhone 5. I went on to my iCloud account and locked the handset via the find my iPhone app. I have since discovered that it's of no consequence at all, apparently. My telco informed me that the SIM was replaced and the phone has been used since then to make calls. Hmmm - bit of misinformation I think - not the theft proof device I'd been told about.
    Pity, I really enjoyed the extra performance from the new hardware...for all of three days!

    @diesel vdub - I'm not sure where you read into my post that I expected an app would be digital handset theft prevention system, but, if you've used the app to locate a lost device, you'll notice that you can put a message on the screen, make the device play a very annoying sound and wipe the device. At what point would you assume that the app wasn't intended as a theft deterrent from it's capabilities? Please do go through the motions of using an app before discussing it's features and relevant merits based on your perusal of the marcoms. As someone closer to the trough when the device was first launched, I do have a very good idea of what the internal apps are intended for.
    For the rest of the gentle souls who offered advice, thank you for your compassionate, sympathetic advice.
    The first things I did in order were, reported the theft to the NSW (my state in Australia)Police, reported the IMEI number as belonging to a stolen device with my service providor and made certain they moved it onto the list of stolen iPhones.
    My initial post was to express dismay with the apps shortcomings and to make those operating on my earlier foundation of faith aware, that reliance on the app is, in my expereince, a fruitless exercise.

  • Uploading a logo via SMW0 doesn't work

    HI.
    I've tried uploading a company logo via SMW0. However I'm prompted to enter a Package. I've tried $TMP, Z001 (the package our developers are currently using), and tried others starting with "T" as suggested. Whether I try to upload as a local object or select the other icon (transportable to other systems), I have not been successful.
    This is a Dev server. Once uploaded, I hope to transfer to QA and Prod, or replicate, whichever is doable.
    Am I missing a step somewhere?
    Thank you.
    Jaime G.

    Jaime,
    Here the steps:
       1. Transaction code - SMW0
       2. X - Binary data for WebRFC application
       3. Hit Enter
       4. Click Execute
       5. Click Settings -> Maintain MIME types
       6. Click the Create button
       7. Fill in :- TYPE : image/gif EXTENSION : .GIF
       8. Click Save
       9. Click Back to the Binary data for WebRFC
      10. Click Create
      11. Fill in :- Obj. name : ZXXXX.GIF Description :
      12. Company Logo
      13. Click Import and specify the filename where your
      14. GIF file is
      15. located.File type is BIN. Finish press the
      16. Transfer button.
      17. If successful, your logo will be shown in the
      18. Binary data for
      19. WebRFC.
      20. Transaction code SM30 - Table/View - SSM_CUST
      21. Click Maintain
      22. Click New Entries
      23. Name Value to be set
      24. START_IMAGE ZXXXX.GIF (this entry may need to created)
      25. RESIZE_IMAGE NO (may need to be created. 'Yes' is the system default if not included. If your graphic contains text or other elements that do not scale well, use this setting. I found that an image of 500x500pixels is a good starting point)
      26. Logoff and Login again (or login to another session to test)

Maybe you are looking for

  • How do I have photos pop-open... not a slideshow?

    Hello, I am trying to create a photo page without a slideshow. I removed the slideshow button from the layout, but when I click a photo in the published page, an enormous slideshow window always opens. I just want to be able to click each image and h

  • Is there any way to combine multiple Apple IDs for the same individual?

    I have two Apple IDs, one of which has a .mac email address. Both have the same name and physical address. With the new iTunes and the coming iCloud, it would be convenient to combine the two for purchase history and access, app updates, etc. How can

  • "Smart" Groups not being recognized when syncing with iPhone

    I have several "smart" groups in my address book but they don't show up as available to sync with my iPhone. What's up with that?

  • XI Support Material Required

    Hi, Can anyone provide me with documents related to xi support activities explaining error handling steps in detail?

  • Processing instruction trouble

    I have this code: sout.write("<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n");             sout.write("<message from=\""+ClientStream.getClientName()+"\" to=\"server\" type=\"new_user\">\n");             sout.write("<type>new_user</type>\n");