# Dosya fonksiyonları

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/file-functions-script.htm)Dosya fonksiyonları (sadece kod ifadelerinde kullanılabilir) geçerli anda okunan tablo dosyası hakkında bilgi döndürür. Bu fonksiyonlar, tablo dosyaları dışındaki tüm veri kaynakları için NULL sonucunu döndürür (istisna: ConnectString( )).

Her bir fonksiyonun kısa açıklamasını ve söz dizimini görmek için her bir fonksiyonun açılan menüsünü kullanın. Daha ayrıntılı bilgiler için söz dizimi açıklamasında fonksiyon adına tıklayın.

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/file-functions-script.htm)

#### Attribute

Bu kod fonksiyonu, farklı medya dosyalarının meta etiketlerinin değerini metin olarak döndürür. Şu dosya biçimleri desteklenir: MP3, WMA, WMV, PNG ve JPG. filename dosyası yoksa, desteklenen bir dosya biçimi değilse veya attributename adında bir meta etiketi içermiyorsa, NULL döndürülür.

[**Attribute**](https://help.qlik.com/tr-TR/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/Attribute.htm)(filename, attributename)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/file-functions-script.htm)

#### ConnectString

ConnectString() fonksiyonu, ODBC veya OLE DB bağlantıları için etkin veri bağlantısının adını döndürür. Herhangi bir connect deyimi yürütülmemişse veya disconnect deyiminden sonra yürütülmüşse, fonksiyon boş bir dize döndürür.

[**ConnectString**](https://help.qlik.com/tr-TR/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/ConnectString.htm)()

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/file-functions-script.htm)

#### FileBaseName

FileBaseName fonksiyonu, şu anda okunan tablo dosyasının adını içeren, yol veya uzantı olmadan, bir dize döndürür.

[**FileBaseName**](https://help.qlik.com/tr-TR/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/FileBaseName.htm)()

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/file-functions-script.htm)

#### FileDir

FileDir fonksiyonu, şu anda okunan tablo dosyasının dizinine giden yolu içeren bir dize döndürür.

[**FileDir**](https://help.qlik.com/tr-TR/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/FileDir.htm)()

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/file-functions-script.htm)

#### FileExtension

FileExtension fonksiyonu, şu anda okunan tablo dosyasının uzantısını içeren bir dize döndürür.

[**FileExtension**](https://help.qlik.com/tr-TR/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/FileExtension.htm)()

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/file-functions-script.htm)

#### FileName

FileName fonksiyonu, şu anda okunan tablo dosyasının adını içeren, yol olmadan ancak uzantıyı içerecek şekilde, bir dize döndürür.

[**FileName**](https://help.qlik.com/tr-TR/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/FileName.htm)()

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/file-functions-script.htm)

#### FilePath

FilePath fonksiyonu, şu anda okunan tablo dosyasının tam yolunu içeren bir dize döndürür.

[**FilePath**](https://help.qlik.com/tr-TR/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/FilePath.htm)()

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/file-functions-script.htm)

#### FileSize

FileSize fonksiyonu, filename dosyasının veya filename belirtilmemişse, şu anda okunan tablo dosyasının bayt cinsinden boyutunu içeren bir tamsayı döndürür.

[**FileSize**](https://help.qlik.com/tr-TR/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/FileSize.htm)()

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/file-functions-script.htm)

#### FileTime

FileTime fonksiyonu, belirtilen dosyasının son değişiklikliğine ilişkin UTC biçiminde bir zaman damgası döndürür. Dosya belirtilmezse fonksiyon, okunmakta olan tablo dosyasının son değişiklikliğine ilişkin UTC biçiminde bir zaman damgası döndürür.

[**FileTime**](https://help.qlik.com/tr-TR/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/FileTime.htm)([ filename ])

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/file-functions-script.htm)

#### GetFolderPath

GetFolderPath fonksiyonu, Microsoft Windows SHGetFolderPath fonksiyonunun değerini döndürür. Bu fonksiyon, giriş olarak Microsoft Windows klasörünün adını alır ve klasörün tam yolunu döndürür.

[**GetFolderPath**](https://help.qlik.com/tr-TR/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/GetFolderPath.htm)()

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/file-functions-script.htm)

#### QvdCreateTime

Bu kod fonksiyonu, bir QVD dosyasından varsa XML üst bilgisinin zaman damgasını; aksi takdirde NULL döndürür. Zaman damgasında saat UTC olarak sağlanır.

[**QvdCreateTime**](https://help.qlik.com/tr-TR/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/QvdCreateTime.htm)(filename)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/file-functions-script.htm)

#### QvdFieldName

Bu kod fonksiyonu, bir QVD dosyasındaki fieldno numaralı alanın adını döndürür. Alan yoksa NULL döndürülür.

[**QvdFieldName**](https://help.qlik.com/tr-TR/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/QvdFieldName.htm)(filename , fieldno)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/file-functions-script.htm)

#### QvdNoOfFields

Bu kod fonksiyonu bir QVD dosyasındaki alanların sayısını döndürür.

[**QvdNoOfFields**](https://help.qlik.com/tr-TR/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/QvdNoOfFields.htm)(filename)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/file-functions-script.htm)

#### QvdNoOfRecords

Bu kod fonksiyonu bir QVD dosyasında o anda bulunan kayıtların sayısını döndürür.

[**QvdNoOfRecords**](https://help.qlik.com/tr-TR/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/QvdNoOfRecords.htm)(filename)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/file-functions-script.htm)

#### QvdTableName

Bu kod fonksiyonu bir QVD dosyasında depolanan tablonun adını döndürür.

[**QvdTableName**](https://help.qlik.com/tr-TR/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFunctions/QvdTableName.htm)(filename)