Caravan Business Server>Help>Objects>FTP Object>
Properties
file
|
Name
|
file
|
Text
|
Dowloads the current file
|
Syntax
|
<caravan> <ObjectName>(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. For example: *.html, a*.doc etc. Default filename is *.*. It is just like the wild characters in many Operating Systems.
|
Syntax
|
<caravan> <ObjectName>(filespec)="*.doc" </caravan>
|
Sample
|
<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> <ObjectName>(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
|
<caravan> <ObjectName>(password)=<PassWord> </caravan>
|
Sample
|
<caravan> ftpsite(password)="admin" </caravan>
|
|
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
|
<caravan> <ObjectName>(filename)=<FileName> </caravan>
|
Sample
|
<caravan> ftpsite(filename)="testcaravan.html" </caravan>
|
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
Folder
|
Name
|
Folder
|
Text
|
Ftp remote directory to change to the specified "directoryname".
|
Syntax
|
<caravan> <ObjectName>(folder)=<FolderName> </caravan>
|
Sample
|
<caravan> ftpsite(folder)="testdir" </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> <ObjectName>(login) </caravan>
|
Sample
|
<caravan> ftpsite(user)="guest" ftpsite(password) = "guest" 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> <ObjectName>(extension) </caravan>
|
Sample
|
<caravan> if ftpsite(extension) ;"The extension of the current file is " ;ftpsite(extension) else ;"There is no entries" endif </caravan>
|
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
Filename
|
Name
|
Filename
|
Text
|
It gives the current filename
|
Syntax
|
<caravan> <ObjectName>(filename) </caravan>
|
Sample
|
<caravan> ;" The current file Name in process is " ;ftpsite(filename) </caravan>
|
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
time
|
Name
|
time
|
Text
|
Gives date of the file as time object
|
Syntax
|
<caravan> <TimeObject>(time)=<FTPObject>(time) </caravan>
|
Sample
|
<caravan> time t t(time)=ftpsite(time) </caravan>
|
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
size
|
Name
|
size
|
Text
|
Gives the size of the currently accessing file
|
Syntax
|
<caravan> <ObjectName>(size) </caravan>
|
Sample
|
<caravan> ;"The size of the file " ;ftpsite(filename) ;" is " ;ftpsite(size) </caravan>
|
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
Findnext
|
Name
|
Findnext
|
Text
|
Gets the next file
|
Syntax
|
<caravan> <ObjectName>(findnext) </caravan>
|
Sample
|
<caravan> ;" The current file Name in process is " ;ftpsite(filename) ftpsite(findnext) ;" The current file Name in process is " ;ftpsite(filename) </caravan>
|
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
folder
|
Name
|
folder
|
Text
|
Gives the current working directory
|
Syntax
|
<caravan> <ObjectName>(folder) </caravan>
|
Sample
|
<caravan> ;" The current working directory is : " ;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> <ObjectName>(path) </caravan>
|
Sample
|
<caravan> ;" The current working directory is : " ;ftpsite(path) </caravan>
|
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
Date
|
Name
|
Date
|
Text
|
ftp time access. Gives date and year.
Even though Time property is more accurate, all ftp servers do not support Time.
|
Syntax
|
<caravan> <ObjectName>(Date) </caravan>
|
Sample
|
|
|
Caravan Business Server>Help>Objects>FTP Object>
Properties>
Total
|
Name
|
Total
|
Text
|
Total number of files in the selected folder
|
Syntax
|
<caravan> <ObjectName>(total) </caravan>
|
Sample
|
|
|
Home
Back
|