PUTFILE with SETCURRENTDIR

Previous topic - Next topic

PaLe

HI,
with the last IDE 8.148 I've this problem, tested on Win SEVEN and iPhone 3G (4.1):

The PUTFILE command save a NEW file in the EXECUTABLE directory instead the path of SETCURRENTDIR command.

Sorry 4 the easy "basic" code...

PaLe

[attachment deleted by admin]

Kitty Hello

output GETCURRENTDIR$() with STDOUT and check if that's really it.
On iPhone I'd try PLATFORMINFO$("DOCUMENTS"), anyway.

PaLe

Tks Kitty,
I changed the code with GETCURRENTDIR$() ant tested on XP, 7, WinCe, WIZ and work fine except iPhone...  :'(

this evening i'll try with the PLATFORMINFO$("DOCUMENTS") command.

Maybe also GET/PUT INI command because I need and prefer to save the data in the iphone.app path...

Paolo


[attachment deleted by admin]

PaLe

I'm sorry for my Mistake (easy ???)....  :nw:

The program work fine on iPhone!!!

only now I understand where I can ( & I MUST) save the datas on iPhone....
I explored the folder on iphone and checked that it's in the previous of app directory...

kitty,
thanks for help and sugges



[attachment deleted by admin]

Kitty Hello

you can't write to .app, nor to .app/Media on iPhone. It's write protected.

PaLe

fortunally I understood in time  ;)   ....  ( never  :giveup: )



:offtopic:
O_O how I have to do to close this topic ?