SOAP API method ProfileDir_file

Back to API references

Description
The parameter is the name of the file and it returns a ProfileFile object if the supplied filename exists in this dir or false if no such file was found

Parameters
Parameter 'id' : int
Unique identifier (id) of the object ProfileDir. The method only applies to the profiledir with this id.
Parameter 'name' : string
Parameter 'login' : Structure of type 'login'
Optional login data

Return values
Return value 'profilefile' : Structure of type 'profilefile'

Structure 'login'
This structure login was mentioned above. This structure has the following properties:
Property 'username' : string
The username of the login attempt
Property 'account' : string
The account name of the login attempt
Property 'password' : string
The password for the login attempt

Structure 'profilefile'
This structure profilefile was mentioned above. This structure has the following properties:
Property 'author' : string
The name of the person who uploaded the file.
Property 'created' : timestamp
The timestamp when the file was uploaded for the first time.
Property 'modified' : timestamp
The timestamp when the file was last modified.
Property 'id' : int
The ID of the file.
Property 'mimetype' : string
The mimetype of the file.
Property 'hashcode' : string
Expose the file hashcode
Property 'data' : binary
The data of the file. The data is base64 encoded.
Property 'name' : string
The filename of the file.
Property 'size' : int
The size of the file.