Inputs
ClassDef –UID of classdef to create/update. In the example below SPFUploadRequest is used.
Outputs
FileHostsURLs object – always has a local file service URL and maybe a remote file service URL.
Dim lstrURL As UploadService.FileHostsURLs = lobjUploadService.GetInfoForFTPFileUpload(lblSessionId.Text, "SPFUploadRequest")
txtLocalURL.Text = lstrURL.L
txtRemoteURL.Text = lstrURL.R
The web method determines which file service to use based on various rules and requires you to pass in the classdef. Upload the file using the FileUtilities.UploadFile method described above.