Buzzsaw Forum Archive
Welcome to Autodesk’s Buzzsaw Forums. Share your knowledge, ask questions, and explore popular Buzzsaw topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Upload a file

3 REPLIES 3
Reply
Message 1 of 4
GeeHaa
2367 Views, 3 Replies

Upload a file

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
3 REPLIES 3
Message 2 of 4
GeeHaa
in reply to: GeeHaa

By The Way, I'm using VBA
Message 3 of 4
Anonymous
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
Message 4 of 4
GeeHaa
in reply to: GeeHaa

That works.
Thanks!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report