home *** CD-ROM | disk | FTP | other *** search
- REM Uploads Files Dropped on a connected Session
- REM This program Zmupload.dbs created by Delrina Corp., handles files that are drag and
- REM dropped from Explorer or a Folder and sends them using the Zmodem protocol to the remote system.
- REM Author C.L.A. Mandeville
-
- REM Revision: 7.0
- REM Date: 17 Oct 1995 13:06:00
-
- Sub Main
-
- Dim Sess As New Session
- Dim Trans AS transfer
- Dim CNT As Integer
- Dim Drop_File$ As String
- Dim Final_Stat As Integer
-
- Set Trans = Sess.Transfer
- CNT = 0
- Trans.sendProtocol=DC_ZMODEM
-
- Do
- Drop_File$=Trans.GetDropList(CNT)
- If Drop_File$ <> "" then
- CNT = CNT+1
- End if
-
- Loop Until Drop_File$ = ""
-
- Trans.DropSend TRUE
-
- Final_Stat = Trans.finalStatus
-
- if Final_Stat <> 0 then
-
- goto END_SCRPT
-
- end if
-
- Trans.ClearDropList
-
- END_SCRPT:
-
- End Sub
-
-