Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Sample 7: delete a remote empty directory

&pagelevel(3)&pagelevel

The program sample7 is called in this way:
sample7 dvz3 
Name and transfer admission to the remote system are then queried in a dialog.
The program deletes the empty directory dvz3 on a remote system and outputs it on screen. The directory must be specified as an absolute path name, or as relative to the HOME directory (see "File transfer") of the user or login name specified in the admission profile in the remote system.

The program is structured as follows:

  • The ft_delete() function deletes an empty directory in the remote system.

  • It is also possible to delete a file in the remote system with ft_delete().