Menu

FTP

2009-08-05
2013-04-05
  • Nicholas Stuart

    Nicholas Stuart - 2009-08-05

    Is there any particular reason that FTP isn't one of the options for creating the image?

     
    • Nicholas Stuart

      Nicholas Stuart - 2009-08-05

      After doing some research I've realized that the thing in common through out the imaging processes is the need for a mount. I've found a way to mount ftp as a filesystem through CurlFTPFS. This package is found in the apt repo.

      I'm not sure if this is an open project, but if I add a modification that will allow one to use FTP would it be allow to be integrated into the Clonezilla image?

       
      • Steven Shiau

        Steven Shiau - 2009-08-05

        Due to a bug (http://clonezilla.org/clonezilla-live/doc/showcontent.php?topic=02_Restore_disk_image), curlftpfs can not be supported in Clonezilla.
        Actually the problem for curlftpfs is, it does not support "O_APPEND" function, i.e., it's not implemented in curlftpfs.
        If you need is only to read the image, yes, you can use curlftpfs to mount the FTP server and restore the image. However, if you want to mount FTP server and write the image, it won't work for Clonezilla.

        Steven.

         
    • Nicholas Stuart

      Nicholas Stuart - 2009-08-05

      I'm sorry if I'm a little hasty, I usually don't get this quick a response from a foruum. What is this 0_APPEND Function? Is this a limitation by CurlFTPFS or from the drbl scripts themselves?

      I've been successful in using it to write to an FTP server. The only problem I foresee is that FTP permissions could get in the way.

       
      • Steven Shiau

        Steven Shiau - 2009-08-05

        The limitation is on curlftpfs. The function 0_APPEND we need is to append the file on the mounted ftpfs. It's not implemented in curlftpfs, that's why we have some errors as in
        https://sourceforge.net/forum/message.php?msg_id=5412121
        (I pasted the wrong URL in my previous reply)

        Steven.

         
    • Nicholas Stuart

      Nicholas Stuart - 2009-08-06

      Ah. Okay, I see what the problem is now. Seems like an unusual one, since 0_append is a C file descriptor. I was trying to search for 0_append, and that was where I got it wrong, it's O_append, as in oh, not zero. Thanks for the information.

       

Log in to post a comment.

MongoDB Logo MongoDB