file blank
#1

Until now everything worked correctly, today I changed hosting and server is no longer able to write to a file (can read, but if you write out white)
What may be the problem?
Reply
#2

Be sure to use / instead of \ when defining paths when you're using an online ftp server.
Reply
#3

Check the permission
Reply
#4

pawn Код:
new File:f = fopen("test.txt", io_append);
    fwrite(f, "Ciao come va?");
    fclose(f);
(fs test)

file created and well written, problem might be Y_Ini? i will do some tests..
Reply
#5

The problem might be the directory you save it. Let us see the path for the files.
Reply
#6

everything worked good until the hosting is changed, anyway today i have reuploaded files, the file was created in the right folder (if it doesn't exist) but didn't write anything
Reply
#7

the problem is Y_Ini

Not work:
new INIf = INI_Open("ciao.txt");

INI_WriteInt(xf, "ciao", 50);

INI_Close(xf);


Work:
new File:f = fopen("test.txt", io_append);
fwrite(f, "Ciao come va?");
fclose(f);


before I prepare to change file system, there is a solution already widespread?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)