Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


CreateVirtualFolder syntax

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,1867
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> CreateVirtualFolder syntax
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 CreateVirtualFolder syntax - 1/19/2005 9:32:14 AM   
  payal1711

 

Posts: 1
Score: 0
Joined: 1/19/2005
From:
Status: offline
Hi,

We are using Secure FTP Server 2 as our FTP Server. It has got programming interface. So I want to be able to create a Virtual Folder using vbscript. They have provided COM Interface manual with the product.

I cannot get the syntax correct and they do not provide scripting help in their techical support.

The syntax given in the manual is

HRESULT CreateVirtualFolder(
[in] BSTR bstrNewFolder,
[in] BSTR bstrTarget);

along with Site interface. So it would look like

Site.CreateVirtualFolder("Test","C:\temp\") in vbscript.

This code give me "Unspecified Error" at above line.

I tried assinging values to variables and then using variables in the method, took out quotation marks, took out brackets, etc but this does not work and give me all kinds of different errors.

Has someone worked with Secure FTP programming interface or know how to make the above code correct.

It would be a great help.

Thanks,
Payal
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> CreateVirtualFolder syntax Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts