No overwrite option for upload?

Last post 10-10-2007 7:27 PM by BarryR. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 10-10-2007 6:37 PM

    No overwrite option for upload?

    Is it the programmers responsiblity to check if the file exists? It's not an issue but I don't want to program a function for this if it's going to be added. Currently if you try to upload a file with the same name you will get an error..is this the way it will stay? 

  • 10-10-2007 7:14 PM In reply to

    • BarryR
    • Top 10 Contributor
    • Joined on 07-20-2007
    • San Diego
    • Posts 602

    Re: No overwrite option for upload?

     This has been discussed and we have plans to enhance uploads in the future.  For now the suggestion would be to check yourself using ListFolder to verify the file doesn't already exist or to call delete before uploading.

    Regards,
        Barry R.
     

    IM Support (Feel free to add me)

    MSN: barryruffner@msn.com
    Gmail: barryruffner@gmail.com
    Filed under: , ,
  • 10-10-2007 7:24 PM In reply to

    Re: No overwrite option for upload?

     That's fine for soap uploads but what about HTTP uploads? I'm assuming the uploads will just fail if the file already exists...there is not way to check before hand since the user selects the file to send directly.

  • 10-10-2007 7:27 PM In reply to

    • BarryR
    • Top 10 Contributor
    • Joined on 07-20-2007
    • San Diego
    • Posts 602

    Re: No overwrite option for upload?

     Correct, the error response will be sent back to the forwarding URL via the http Get string as: http://forwardurl/something?NVX.Error=123

    Regards,
        Barry R.
     

    IM Support (Feel free to add me)

    MSN: barryruffner@msn.com
    Gmail: barryruffner@gmail.com
Page 1 of 1 (4 items)