Hola. Cuando quiero usar la función Frename() no me deja renombrar el archivo y me tira un -1, mirando con el FError() me tira el numero 32 que significa? como puedo solucionarlo?
Ho messo un trace msginfo(ferror,cfile) Tutti e due i messaggi viene visualizzato l'errore 5 , il primo mi dà "." e il secondo ".." è sta cosa che non ho capito.
In the context of Clipper and Harbour programming, the DOS error code 5, as returned by the FERROR() function, indicates "Access denied". This error typically occurs when a program attempts to access a file or directory for which it does not have the necessary ...
In the context of Clipper and Harbour programming, the DOS error code 5, as returned by the FERROR() function, indicates "Access denied". This error typically occurs when a program attempts to access a file or directory for which it does not have the necessary ...
... FOR i = 1 to LEN( aDir ) cFILE := ALLTRIM( aDIR[i][1] ) IF FErase(cDir+cFile ) != 0 ? FERROR() endif NEXT return nil Erased only some files ( 2 not) and the "?Ferror" give me this https://i.postimg.cc/j2JWCZs1/ff.png
... file is in use by some application or some other reason. The best way to find out the reason is to if FERASE( cFile ) != 0 ? FERROR()endif FError() tells you the reason why the file is not erased
... * be even duplicated. * * In an HIT, this is not allowed. * * The untranslated entry will be an empty string. * * On failure, NIL is returned. IF Ferror() is not 0, you can suppose that * an hardware failure happened, else you can suppose that the file is * malformed. * * * HB_I18NSaveTable( cFileName| ...
... correctamente, escribo el ejemplo: cDestino:="c:\archivos\archivo.rtf" cFile:="archivo.rtf" nHandle:=FCreate(cDestino) IF !FError() # 0 FWrite(nHandle,cFile,len(cFile)) FClose(nHandle) *ACÁ COMPARO SI EL TAMAÑO ORIGINAL ES EL MISMO DEL DESCARGADO y me descarga siempre 64k... ...