Caravan Business Server>Help>Objects>FTP Object>
Properties>
file
|
Name
|
file
|
Text
|
dowloads the current file
|
Syntax
|
<caravan>ftpsite(file)</caravan>
|
Sample
|
<caravan>mytable(picture)=ftpsite(file)</caravan>
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
Filespec
|
Name
|
Filespec
|
Text
|
pattern to match the filename-example: *.html, a*.doc etc. Default filename is *.*
|
Syntax
|
<caravan>ftpsite(filespec)="*.doc"</caravan>
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
User
|
Name
|
User
|
Text
|
To set the user to the FTP object
|
Syntax
|
<caravan>ftpsite(user)=username</caravan>
|
Sample
|
<caravan>ftpsite(user)="guest"</caravan>
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
Password
|
Name
|
Password
|
Text
|
To set the password for the FTP object
|
Syntax
|
ftpsite(password)=password
|
Sample
|
ftpsite(password)="admin"
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
Filename
|
Name
|
Filename
|
Text
|
Ftp filename to be set to "filename". If file does not exists the ftp filename is set to null.
|
Syntax
|
ftpsite(filename)="filename"
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
Folder
|
Name
|
Folder
|
Text
|
Ftp remote directory to change to the specified "directoryname".
|
Syntax
|
<caravan>ftpsite(folder)="foldername"</caravan>
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
login
|
Name
|
login
|
Text
|
Explicit login command, user and password has to be set. Usually login is automatic.
|
Syntax
|
<caravan>ftpsite(login)</caravan>
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
Extension
|
Name
|
Extension
|
Text
|
It gives the file extension of the current file.If the following values are nonexistent, it means that there are no more matching entries or findnext is yet to be invoked.
|
Syntax
|
<caravan>ftpsite(extension)</caravan>
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
Filename
|
Name
|
Filename
|
Text
|
It gives the current filename
|
Syntax
|
<caravan>ftpsite(filename)</caravan>
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
time
|
Name
|
time
|
Text
|
gives date of the file in integer format
|
Syntax
|
<caravan>time t</caravan> <caravan>t(time)=ftpsite(time)</caravan>
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
size
|
Name
|
size
|
Text
|
gives file size
|
Syntax
|
<caravan>ftpsite(size)</caravan>
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
Findnext
|
Name
|
Findnext
|
Text
|
goes to next file
|
Syntax
|
<caravan>ftpsite(findnext)</caravan>
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
folder
|
Name
|
folder
|
Text
|
gives the current working directory
|
Syntax
|
<caravan>ftpsite(folder)</caravan>
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
path
|
Name
|
path
|
Text
|
gives the current working directory with full path
|
Syntax
|
<caravan>ftpsite(path)</caravan>
|
Back
|