problems with 'upload' function

RuubenRuuben Member Posts: 41
edited 2010-01-04 in NAV Three Tier
Hello, i'm trying to use the UPLOAD function without dialog box, using <TEMP> but i don't get it. Can anybody write the correct code for this?

Thanks!

Comments

  • fitolfitol Member Posts: 46
    It's not possible with UPLOAD, <TEMP> only works with DOWNLOAD.
    There is nothing you can do about this, that is simply how MS has made it.
  • RuubenRuuben Member Posts: 41
    Hi, i think it's possible as i read in this topic:

    http://www.mibuso.com/forum/viewtopic.php?f=32&t=32458&hilit=upload+function
  • fitolfitol Member Posts: 46
    Have you tried it yourself?
    I have because I needed it and couldn't make it work.
    I even made a support case at Microsoft Premier Support and their answer was: It's not possible.
    If you can prove me and MS wrong about this I personally will be happy.
  • Marc_Hansen_[MSFT]Marc_Hansen_[MSFT] Member, Microsoft Employee Posts: 12
    It is correct that <TEMP> only works for DOWNLOAD and not for UPLOAD.
    We did this feature for DOWNLOAD to enable the application code to work with temp files on the client box along with client side automation.
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • RuubenRuuben Member Posts: 41
    Ok... so how could i copy a file into the server without upload function?
  • Marc_Hansen_[MSFT]Marc_Hansen_[MSFT] Member, Microsoft Employee Posts: 12
    You can still use the upload.
    If you give a file without a path it will be placed in a special user folder on the Server.
    You can use the file datatype to generate a temp file name.
    You need to administer the temp file in code.
    This posting is provided "AS IS" with no warranties, and confers no rights.
Sign In or Register to comment.