This topic is locked

Import - temporary directory name

6/30/2010 7:53:40 AM
ASPRunnerPro General questions
P
Philip author

Hello,

Is it possible to name the "temporary directory name" for import as a path?

I would like to do dath in a similar manner as for the path to the database or for picture upload.

This would have the advantage that we do not have to give WRITE right to every temporary folder on the web server.
Regards,

Philip

A
ann 7/2/2010

Philip,
click '...' button next to the Import page check box (Choose pages tab) and adjust temporary directory name (its set to tmp by default).

P
Philip author 7/2/2010



Philip,
click '...' button next to the Import page check box (Choose pages tab) and adjust temporary directory name (its set to tmp by default).


Ann,

I guess you missunderstood my question <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=50942&image=1&table=forumreplies' class='bbc_emoticon' alt=':rolleyes:' />

I do not want to change the NAME of the folder but the PLACE (PATH) of it.

Is that possible?
Philip
P.S.

The most convenient way would be a similar behaviour of ASPRunner as for images. Since 6.2 we can even put an "absolute path".

A
ann 7/2/2010

Philip,
you can change import path in the generated TableName_import.asp file.

Find this line and edit it as needed:

sPath = server.MapPath("tmp")
P
Philip author 7/2/2010



Philip,
you can change import path in the generated TableName_import.asp file.

Find this line and edit it as needed:

sPath = server.MapPath("tmp")



Thanks - I will try that.