I need to automatically transfer files from Windows to Unix

I need to automatically transfer files from Windows to Unix

Anonymous
Not applicable
212 Views
0 Replies
Message 1 of 1

I need to automatically transfer files from Windows to Unix

Anonymous
Not applicable
AutoCCAD has a class AcadUtility with a member called PutRemoteFile. I take the example from help and I changed only concrete data:

Sub Example_PutRemoteFile()
Dim DestURL As String, LocalFile As String

DestURL = "ftp://200.3.1.253/" ' or "ftp:drawing:drawing//200.3.1.253/"
'"ftp:drawing:drawing//200.3.1.253/Dest.txt" and many other combinations
LocalFile = "D:\PlotFiles\Dest.txt" 'is valid, file exist...
RetVal = ThisDrawing.Utility.IsURL(DestURL)
MsgBox RetVal 'returns True
' Transfer local file to remote location
ThisDrawing.Utility.PutRemoteFile DestURL, LocalFile
End Sub
The error obtained is: "Inet:CAcInternetSessionFactory::CreateSession() failed"
Does anybody know what's wrong? The function is not well implemented or is something wrong with URL or...?
I made the test from many other computers from company and i get the same result.
0 Likes
213 Views
0 Replies
Replies (0)