Autodesk Buzzsaw Developer
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Upload a file
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
1525 Views, 3 Replies
08-18-2008 06:58 AM
Hi I'm trying to upload a file and I'm getting the error message Object does not support this property or method
on this Line. Any help would be much appreciated
flder.AddFile (pfile)
Dim PPsess As PPSession
Dim flder As New PPFOLDER
Dim pfile As New PPFILE
Set PPsess = New PPSession
PPsess.LogIn loginName, password, "https://webdav.buzzsaw.com/Sitename"
Set flder = PPsess.GetResource("/test/Cad/")
pfile.LocalPath = "c:\lisp\IDR.lsp"
pfile.Name = "IDR.lsp"
flder.AddFile (pfile)
PPsess.LogOut
Thanks
on this Line. Any help would be much appreciated
flder.AddFile (pfile)
Dim PPsess As PPSession
Dim flder As New PPFOLDER
Dim pfile As New PPFILE
Set PPsess = New PPSession
PPsess.LogIn loginName, password, "https://webdav.buzzsaw.com/Sitename"
Set flder = PPsess.GetResource("/test/Cad/")
pfile.LocalPath = "c:\lisp\IDR.lsp"
pfile.Name = "IDR.lsp"
flder.AddFile (pfile)
PPsess.LogOut
Thanks
Re: Upload a file
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-18-2008 10:30 AM in reply to:
GeeHaa
By The Way, I'm using VBA
Re: Upload a file
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-25-2008 12:57 AM in reply to:
GeeHaa
Hello geehaa,
You must use "Upload" method to upload a file to Buzzsaw.
Please try the following code.
Dim PPsess As New PPSession
Dim flder As String
Dim pfile As String
PPsess.LogIn loginName, password, "https://webfolders.buzzsaw.com/Sitename"
flder = "/test/Cad/"
pfile = "IDR.lsp"
PPsess.Upload "C:\lisp\" & pfile, flder & pfile, APPLY_TO_RESOURCE_ONLY
PPsess.LogOut
You must use "Upload" method to upload a file to Buzzsaw.
Please try the following code.
Dim PPsess As New PPSession
Dim flder As String
Dim pfile As String
PPsess.LogIn loginName, password, "https://webfolders.buzzsaw.com/Sitename"
flder = "/test/Cad/"
pfile = "IDR.lsp"
PPsess.Upload "C:\lisp\" & pfile, flder & pfile, APPLY_TO_RESOURCE_ONLY
PPsess.LogOut
Re: Upload a file
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-25-2008 04:27 AM in reply to:
GeeHaa
That works.
Thanks!
Thanks!
