Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chriztian Steinmeier 2800 posts 8790 karma points MVP 8x admin c-trib
    Mar 15, 2010 @ 13:03
    Chriztian Steinmeier
    0

    Original file wasn't moved

    Hi,

    I had 2 issues with a 38MB flv movie that was uploaded via FTP to a "largeimports" folder in the Media section.

    1. The file wasn't moved to the created media folder
    2. The umbracoFile property for the item was set to '.flv' (items created through the UI doesn't include the dot in this property)

    (I was able to just move the file on the server through the FTP client, and to fix the XSLT to use contains() when looking for flv items, so I'm good for now.)

    /Chriztian

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Mar 16, 2010 @ 22:06
    Simon Dingley
    2

    Hi Chriztian, I have made some changes...well overhauled the whole package really so now if the import fails the node is removed and you don't end up with a media node and no file. Any errors will now be also be logged so you can determine what the problem was. I have also amended the package to exclude the dot character from the file extension. Keep an eye out for the updated package which I keep trying to get out and unfortunately paid work gets in the way and has to come first as it pays the bills ;)

  • Chriztian Steinmeier 2800 posts 8790 karma points MVP 8x admin c-trib
    Mar 16, 2010 @ 22:11
    Chriztian Steinmeier
    0

    That's great Simon.

    This package was the solution to my client's problem, and as I stated, the issues were able to be worked around, so we're good.

    /Chriztian

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Apr 16, 2010 @ 23:21
    Simon Dingley
    1

    It seems there is a very good reason for the original file not being moved. I packaged it up with that line commented out as a result of my own testing as it was saving me having to keep moving my files back to the original location. I apologise for that.

    The new version is on its way and allows multiple upload directories, multiple file selection and WILL move the original file ;)

    I have also amended your second point in the coming release.

    Simon

  • Chriztian Steinmeier 2800 posts 8790 karma points MVP 8x admin c-trib
    Apr 17, 2010 @ 00:14
    Chriztian Steinmeier
    0

    Hi Simon,

    That's sounds great. D'oh for the commenting part :-) Haven't we all tried that at some point?

    /Chriztian

Please Sign in or register to post replies

Write your reply to:

Draft