Read only on ftp connection?

Hello!
I tried to establish an ftp connection to a server to upload some files, but I had only read permissions. My friend told me it worked from windows(very annoying!). Yes, I had a Windows 7 Boot Camp installation and was able to transfer the files from there. However I don´t like the idea of having to downgrade system just to do some ftp. The server filesystem was EXT4 and I also downloaded a separate free FTP client from App Store: Still no write permission!
After all, in Mac OS there is an option connect to server using login name and password then why shouldn´t it just work like OS X is expected to?
Thanks for your replies

I doubt it is the filesystem as the FTP server should be handling file IO.
Try in the Terminal. There are several ways you can connect.
It is basically ftp user@host, but you can type man ftp to see a list of ways to add username and password, port, etc. Once in man, type q to quit.
Once you log in, you'll have an ftp> prompt. Use the ftp commands to "put" or "get" a file, and "ls" to see what is there. The rest of the commands are in the man page.
Basic FTP has pretty much been dropped from OS X as it is completely insecure. However, I'm not sure why a third-party ftp client had trouble. Maybe it was how you logged into the server.

Similar Messages

  • HOW to read file using ftp???

    Hi to all,
    I have problem with reading file using ftp connection, i want to read only 1024 bytes for one time, and i have
    next code wich read this:
    byte buffer[] = new byte[1024];
    while( (readCount = input.read(buffer)) > 0) {
    bos.write(buffer, 0, readCount);
    but I dont know how to put all read data in one byte[] if i dont know length of file.
    I can't do some like: byte file[] = new file[1000000];
    Thanks for all sugestions!

          * Download a file from a FTP server. A FTP URL is generated with the following syntax:
         * <code>ftp://user:password@host:port/filePath;type=i</code>.
          * @param ftpServer FTP server address (incl. optional port ':portNumber').
          * @param user Optional user name to login.
          * @param pwd Optional password for <i>user</i>.
          * @param fileName Name of file to download (with optional preceeding relative path, e.g. one/two/three.txt).
          * @param destination Destination file to save.
         * @throws MalformedURLException, IOException on error.
         public void download(String ftpServer, String user, String pwd, String fileName, File destination) throws MalformedURLException, IOException {
            if (ftpServer != null && fileName != null && destination != null) {
                StringBuffer sb = new StringBuffer("ftp://");
                if (user != null && pwd != null) { //need authentication?
                    sb.append(user);
                    sb.append(':');
                    sb.append(pwd);
                    sb.append('@');
                }//else: anonymous access
                sb.append(ftpServer);
                sb.append('/');
                sb.append(fileName);
                sb.append(";type=i"); //a=ASCII mode, i=image (binary) mode, d= file directory listing
                BufferedInputStream bis = null;
                BufferedOutputStream bos = null;
                try {
                    URL url = new URL(sb.toString());
                    URLConnection urlc = url.openConnection();
                    bis = new BufferedInputStream(urlc.getInputStream());
                    bos = new BufferedOutputStream(new FileOutputStream(destination.getName()));
                    int i;
                    while ((i = bis.read()) != -1) { //read next byte until end of stream
                        bos.write(i);
                    }//next byte
                } finally {
                    if (bis != null) try { bis.close(); } catch (IOException ioe) { /* ignore*/ }
                    if (bos != null) try { bos.close(); } catch (IOException ioe) { /* ignore*/ }
            }//else: input unavailable
        }//download()If you don't want to strore the data into a file, use ByteArrayOutputStream instead of a FileOutputStream.

  • How to make schema read only ?

    Hi,
    database=10.2.0.3
    o/s=windows
    i want to make a schema read only when users connect to database they can view it update and insert must be restricted to all users how it can be done
    example
    There is XYZ schema in that I have around 200 roles assigned
    anyone have idea pleas do update

    clcarter wrote:
    Or if the schema is all contained in one tablespace ...
    alter tablespace <tblspc> read only;could do the trick ... ;)Of course, then NO user could do any updates . . .
    Don't really know if that's what the OP wanted ...

  • SQL 2012 AlwaysOn cluster IP not moving after failover, causing database to be read-only

    SQL Server Cluster Name: SQLDAG01
    SQL Server Cluster IP: 10.0.0.50
    Cluster Listener IP: 10.0.0.60
    Node 1 Name: SQL01
    Node 1 IP: 10.0.0.51
    Node 2 Name: SQL02
    Node 2 IP: 10.0.0.52
    Everything is fine when SQL01 is the primary. When failing over to SQL02, everything looks fine in the dashboard but for some reason the cluster IP, 10.0.0.50, is stuck on node 1. The databases are configured to provide secondary read access. When executing
    a query on SQLDAG01, I get an error that the database is in read-only mode. Connectivity tests verify that SQLDAG01, 10.0.0.50, connects to SQL01 even though SQL02 is now the primary.
    I've been Googling this for the better part of the day with no luck. Any suggestions? Is there a Powershell command force the cluster IP to move to the active node or something? Also I'm performing the failover as recommended, from Management Studio connected
    to the secondary node.

    This was the answer, it had been setup to use the cluster name instead of the application name. Whoever installed Sharepoint connected it to SBTSQLDAG01 instead of SHAREPOINT01. Once we changed Sharepoint to connect to SHAREPOINT01, the failover worked as
    expected. We did have a secondary issue with the ARP cache and had to install the hotfix from http://support.microsoft.com/kb/2582281 to resolve it. One of the Sharepoint app servers was failing to
    ping the SQL node after a failover, the ARP entry was stuck pointing to the previous node. This article actually helped a lot resolving that: http://blog.serverfault.com/2011/05/11/windows-2008-and-broken-arp/
    One thing I did notice is that the SQL failover wizard does not move cluster groups "Available Storage" and "Cluster Group", I had to move those through the command line after using the wizard. I'm going to provide the client with a Powershell script that
    moves all cluster groups when they need to do a manual failover. This also happens to be why the Sharepoint issue started, "Cluster Group" is what responds to the cluster name SBTSQLDAG01. Moving that group over to the node that has the active SQL cluster
    group also made it work properly, but using the application name is the correct method.
    Thanks everyone for all your help. Although the nitpicking about terminology really didn't help, that was a pointless argument and we really could have done without it. Yeah I know 2008 called is "Failover Cluster Manager" and MSCS is the "2003 term" but
    really, they're basically the same thing and we don't really need to derail the conversation because of it. Also, If you look at the screenshot below you can clearly see "AlwaysOn High Availability" in SQL Management Studio. That's what it's called in SQL,
    that's where you do all the work. Trying to tell me it's "not a feature" is wrong, pointless, and asinine, and doesn't get us anywhere.
    Sorry it took so long to get back, I was off the project for a couple weeks while they were resolving some SAN issues that caused the failover to happen in the first place.

  • External drive reverts to read-only on airport extreme

    I have an external drive that works fine (full access read/write) when connected directly to my Macbook but reverts to read-only when I connect to it through my airport extreme.  It also won't let me change the permisssions over the network.  I have another drive used for Time Capsule connected to the Airport Extreme and it works fine, as well as the printer.  The problem drive is formatted OS X extended (journaled).

    Nicky McCatty wrote:
    Earlier this morning my external drive, a Western Digital Firewire 800 1TB, was behaving normally. I shut my MacBook Pro down, and took it out for two hours. When I returned, Time Machine reported that my drive appeared to be read-only. I see that BOTH of my external Firewires now show up as read-only.
    What causes this to happen, and what can I do about this problem?
    A number of things. Most common is probably a power loss; second is probably disconnecting without first ejecting.
    It's not permissions; try running +*Repair Disk+* on them, per #A5 in Time Machine - Troubleshooting (or use the link in *User Tips* at the top of this forum).

  • Read only tables

    I am trying to write protect a Table so that it can only be viewed by others but not write (modified) the data in the table.
    How can I create and modify a table in order for it to be only viewable.
    Thanks

    Should be no problem, as long as your GIS application does not log in to the database as the owner of the table with the SDO_GEOMETRY.
    The following example (laboriously) demonstrates this from creating two users through proving the second can only get the data owned by the first in read/only mode.
    I've given the second the priv of creating a private synonym to avoid constantly having to reference the owner's name.
    It's all done in sqlplus, however, the italicized comments are not in the sqlplus source.
    pop2@fuzzy:~> sqlplus system/password
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Apr 24 08:21:27 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Create the sdo_owner and the sdo user.
    Give the first permission to create tables, the second permission to create synonyms
    but (in this case) not tables.
    SQL> create user sdo_owner identified by sdo
      2  default tablespace users temporary tablespace temp
      3  quota unlimited on users
      4  account unlock;
    User created.
    SQL> create user sdo_user identified by sdo
      2  default tablespace users temporary tablespace temp
      3  quota unlimited on users
      4  account unlock;
    User created.
    SQL> grant connect, create table to sdo_owner;
    Grant succeeded.
    SQL> grant connect, create synonym to sdo_user;
    Grant succeeded.
    Connect as the owner, create and data fill the table.
    Give the user the permission to select only
    SQL> connect sdo_owner/sdo
    Connected.
    SQL> create table my_layer (
      2    layer_item varchar2(20),
      3    geom sdo_geometry
      4  );
    Table created.
    SQL> insert into my_layer
      2  values ( 'Test',
      3     SDO_GEOMETRY( 2003, 8203, sdo_point_type ( 15, 45, null ), null, null )
      4  );
    1 row created.
    SQL> grant select on my_layer to sdo_user;
    Grant succeeded.
    Now connect as the user, verify we can get information.
    Create a synonym to save typing.
    Check that it works, and finally see whether this is truly read-only.
    SQL> connect sdo_user/sdo
    Connected.
    SQL> select * from sdo_owner.my_layer;
    LAYER_ITEM
    GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    Test
    SDO_GEOMETRY(2003, 8203, SDO_POINT_TYPE(15, 45, NULL), NULL, NULL)
    SQL> create synonym my_layer for sdo_owner.my_layer
      2  ;
    Synonym created.
    SQL> select * from my_layer;
    LAYER_ITEM
    GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    Test
    SDO_GEOMETRY(2003, 8203, SDO_POINT_TYPE(15, 45, NULL), NULL, NULL)
    SQL> insert into my_layer values ( 'Test Insert',
      2  SDO_GEOMETRY( 2003, 8203, sdo_point_type ( 15, 45, null ), null, null )
      3  );
    insert into my_layer values ( 'Test Insert',
    ERROR at line 1:
    ORA-01031: insufficient privileges
    SQL> update my_layer set layer_item='Updated';
    update my_layer set layer_item='Updated'
    ERROR at line 1:
    ORA-01031: insufficient privileges
    SQL> delete from my_layer;
    delete from my_layer
    ERROR at line 1:
    ORA-01031: insufficient privilegesHopefully others will be able to use the example as well, as this works the same for non-spatial stuff.
    HTH
    /Hans

  • Can anyone help me answer whether Robohelp has a secure ftp (sftp) or secure http connection protocols?  it only lists ftp or http, but not specifying if secure? Thanks.

    Can anyone help me answer whether Robohelp has a secure ftp (sftp) or secure http connection protocols?  it only lists ftp or http, but not specifying if secure? Thanks.

    Hello again
    First off, sorry for confusing anyone with the WYSIWYG reference. Failed attempt at humor. Ah, live and learn.
    Can you expound on what you mean when you say: But there does seem to be “disagreement” regarding whether RH supports HTTPS?
    If you are only referring to this thread, are you sensing "disagreement" because Willam said you can serve content to users?
    Here's the deal. I sort of "read between the lines" with your post and made an assumption and it seems I may have needed to ask you to clarify before tossing an answer out. The assumption I made was based on your statement of: it only lists ftp or http
    That made me believe you were referring to the Publish section in the Single Source Layout properties. (shown below)
    This dialog allows you to specify a protocol used to UPLOAD your generated content to a server.
    What Willam was referring to was the END USERS viewing the content AFTER it has been uploaded.
    Cheers... Rick

  • The options to replicate a secondary read-only copy of a big database with limited network connection?

    There is a big database on remote server. A read-only replicate is required on a local server. The data can only be transferred via FTP, etc. It's ok to replicate it once a day.
    Logshipping is an option. However, it need to kill all the connections when doing restoring. What's the other options (pros/cons)? How about merge repl or .Net sync framework?

    Hi
    ydbn,
    Do you need to update data on the local server and propagate those changes to remote server? If no, you can use log shipping or transaction replication achieve your requirement.  It doesn’t need to kill all the connections if you
    clear the Disconnect users in the database when restoring backups check box when configuring log shipping,
    With transaction replication, the benefits are as follows.
    Synchronization. This method can be used to keep multiple subscribers synchronized in real time.
    Scale out. Transactional replication is excellent for scenarios in which read-only data can be scaled
    out for reporting purposes or to enable e-commerce scalability (such as providing multiple copies of product catalogs).
    There are a few disadvantages of utilizing transaction replication, including:
        • Schema changes/failover. Transactional subscribers require several schema changes that impact foreign keys and impose other constraints.
        • Performance. Large-scale operations or changes at the publisher might require a long time to reach subscribers.
    However, if you need to update data on the local server and propagate those changes to remote server, merge replication
     is more appropriate, and it comes with the following advantages:
        • Multi-master architecture. Merge replication does allow multiple master databases. These databases can manage their own copies of data and marshal those changes as needed between other members of
    a replication topology.
        • Disconnected architecture. Merge replication is natively built to endure periods of no connectivity, meaning that it can send and receive changes after communication is restored.
        • Availability. With effort on the part of the developers, merge-replicated databases can be used to achieve excellent scale-out and redundancy options.
    Merge replication comes with some disadvantages, including:
        • Schema changes. Merge replication requires the existence of a specialized GUID column per replicated table.
        • Complexity. Merge replication needs to address the possibility for conflicts and manage operations between multiple subscribers, which makes it harder to manage. For more details, please review this
    article.
    For the option of sync framework, I would like to recommend you post the question in the Sync Framework forums at
    https://social.msdn.microsoft.com/Forums/en-US/home?category=sync . It is appropriate and more experts will assist you. Also you can check this
    article about introduction to Sync Framework database synchronization.
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • Mountain Lion FTP server read only issue

    Can anyone help me figure out why my users have read only access via FTP.
    1. I created networked users and groups
    2. shared some folders
    3. activated ftp on one of those shares
    First issue was users could access that share via AFP but could not connect via FTP?
    Finally I figured out that each user had to have a login shell of /bin/bash.
    Aslo had to let each networled user to be bale to log in?
    then if i log in with an ftp client it works i can write files but if i log in via finder (apple K) connect to server ftp://server.local i can only get read access and not RW?
    I think this may have something to do with passive and active mode but can anyone help?
    Why is it so hard to set up?
    Thanks

    Just so you know the update is, apparently apple has not allowed wright access via ftp thorugh the finder since before 10.2.
    So i guess its just one of thos things that apple got rid of.
    Sorry unless you use a workaround like. http://code.google.com/p/macfuse/
    Good luck

  • When connecting SharePoint Foundation 2013 contacts to Outlook 2013 in Outlook it is read only.

    Hello.
    When I connect Sharepoint 2013 Calendars and Contacts to Outlook 2013 I receive the message " You cannot make changes to contents of this read-only folder" if I try to insert a new contact or a new appointment in SharePoint through Outlook (in
    Account Settings of Outlook, in the SharePoint tab I have "Server version=Not available" and "Permissions=Read Only").
    The same users, through the SharePoint web page, insert a new contact or a new appointment.
    Thank you.
    Regards.
    Alessandro

    It seems there are issues with 64 bit office version
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/1f2280e9-9e1d-4ad3-8042-21efb14e6246/when-connecting-sharepoint-2010-calendar-to-outlook-2013-in-outlook-it-is-read-only-how-do-we-make?forum=sharepointgeneralprevious
    My Blog- http://www.sharepoint-journey.com| Twitter
    If a post answers your question, please click "Mark As Answer" on that post and "Vote as Helpful

  • SQL Server 2005 replaced with SQL Server 2014 trying to connect front end Access as guest (read only ODBC)

    We have replaced a SQL Server 2005 with a SQL Server 2014 (new physical server.)  Have the new server set up to use SQL Server login OR Windows user login. Had old server connecting (for a particular DB) to front end Access (2010 or 2013) as guest for
    anyone logged into the Windows NT Network with a read only ODBC connection. Have the DB in the new server set to include guest as db_datareader (with only SELECT permission for the securables of each table and view being linked) but when any Windows user not
    specifically listed as a SQL DB user tries to use the front end they get an error of:
    Microsoft SQL Server Login
    Connection failed:
    SQL State: '28000'
    SQL Server Error: 18456
    [Microsoft][OCBC SQL Server Driver][SQL Server] Login failed for user {domain\user}.
    After closing that pop-up window a server login window appears. Of course, since the guest user is not specifically listed as a user in the DB that fails also. It seems like there should be a very simple solution to this, but I can't seem to find it. I want
    to allow anyone logged in on the Windows system (locally) to be able to open the MS Access file (on their work station machine) and run their own (read only; select) queries on the SQL Server database. Any suggestions?
    Thanks a billion in advance ----

    Thanks for the response Olaf. I have now spent weeks researching this. I realize that using the guest account in most situations is not advised. As mentioned, I have restricted the guest account to allow the db_datareader role only, and have explicitly denied
    all other roles, as well as allowing select only, and still have no access for the guest account.
    The suggested fix in the second link you provided, of using Windows groups is not plausible for my situation either. We are a scientific field research institution, with a few long term users and lots of users that may have Windows accounts for a few months,
    and then they are gone. It would be a nightmare for the network tech to try to keep a group account up to date, and we need to give access (read only, of course) to anyone logged into the system. Realize that the ONLY access of any kind to this database is
    thru MS Access ACCDB, using a (by default) read only OCDB connection.
    This type of access is used particularly because researchers need to be able to set up their own queries, and the MS Access query interface is particularly convenient for people who are not themselves SQL experts, yet are trying to get some very advanced
    levels of output. Putting the database online is not practical because then we are back to the need for a comprehensive query interface, and just picking up general subsets of the data online (from a basic web page search feature) would be out of the question,
    since the result set would involve hundreds of thousands if not millions of records.
    So - that said - what exactly would you suggest, assuming we don't have the funds to buy a whole new system, and have spent plenty of money with Microsoft's Enterprise level MS Office so that all work stations have MS Access, and Microsoft's SQL Server,
    as well as running our network on Microsoft's network software.

  • I have connect a seagate HDD formated on NTFS to my macbook pro with Mac OS 10.7 but my HDD is read only any idea how can i change it to read & write ?

    i have connect a seagate HDD formated on NTFS to my macbook pro with Mac OS 10.7 but my HDD is read only
    any idea how can i change it to read & write ?

    i tried the trial version of tuxera and it gives me the possibility to read & write , Thanx fschweig.
    @ Samberl : what is the benifts of keeping my drives on mac format and this SW mediafour i install on my PC to let it write the mac formated HDD ?
    is it free ?
    all the best
    Adiab

  • I have an external hardrive for MAC, I needed to save something from my work computer so I can pass it on to my MAC, it requiered me to re-format my external HD and now when I connected to my MAC I only have "read only rights". How do I fix it?

    I have an external hardrive for MAC, I needed to save something from my work computer so I can pass it on to my MAC, it requiered me to re-format my external HD and now when I connected to my MAC I only have "read only rights". How do I fix it? I run my Itnues from this external and now my library is gone. Luckily I have it saved somewhere else, which is not a problem, but I won't be able to write to this HD for right now. I can't see an option to give those permission back.

    cptjuanjvarona wrote:
    I have an external hardrive for MAC, I needed to save something from my work computer so I can pass it on to my MAC, it requiered me to re-format my external HD and now when I connected to my MAC I only have "read only rights". How do I fix it?...
    Unless what you have to transfer is enormous, skip the external HD altogether and use a USB flash drive; you can get them with capacities to 128GB. Format the flash drive as FAT32 or ExFAT as LowLuster suggests so it can be read and written to on both PC's and your Mac.

  • I am connecting an external USB HDD and I can see it on my Apple Macbook Air. BUT this drive is READ only. How can I write to it?

    I am connecting an external USB HDD and I can see it on my Apple Macbook Air. BUT this drive is READ only. How can I write to it?

    Drive Partition and Format
    1.Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    Steps 4-6 are optional but should be used on a drive that has never been formatted before, if the format type is not Mac OS Extended, if the partition scheme has been changed, or if a different operating system (not OS X) has been installed on the drive.

  • External Hard Drive "read only" when connected to mac.

    Hi
    I have a Lacie external hard drive, formatted FAT, which has always worked fine on our macbook pro until the macs internal drive crashed and had to be replaced. now, when i connect the lacie i can access everything, but cannot move it around or add new folders, etc. under permissions it says "read only" how do i change this? when i connect to a pc it works normal.
    the macs software is OS X Version 10.5.8.
    im sure that its a really simple answer but i dont know enough about mac to find it...

    NTFS is read only on OS X. there are drivers to make it writable, so you could try to get those to work or you can copy the data off & reformat to FAT 32.
    if you want to try the drivers: http://www.macupdate.com/info.php/id/24481
    reformatting the drive: http://cnettv.cnet.com/8301-13415_53-10286826-11.html

Maybe you are looking for