Session.MoveFile issues
Ok, so I've figured out a few things, but this is strange.
According to what I have read Move File is pretty easy.
Session.MoveFile(source,target)
Well, I picked transfer.filename for the source. I do an upload (push) then go into an IF , if I have no errors.
In my IF i am trying to do a session.movefile(transfer.filename, target).
My target fails every single time.
I tried creating a string var and giving it a local path.
I tried @"c:\dir\*"
I tried "c:\\dir\\*"
I tried "c:/dir/*"
I tried "dir/*"
I tried "/dir/*"
With and with out the *...you get the idea. Side bit of info,
when ever i tried to plug in the source as in @"C:/dir?*" (or others...I'd always get "Element mv not found". So I figured if the transfer.filename worked I'd run with it.
Ok, back to teh issue at hand, the error I always get for the target is "path not found".
Any ideas?
Thanks
According to what I have read Move File is pretty easy.
Session.MoveFile(source,target)
Well, I picked transfer.filename for the source. I do an upload (push) then go into an IF , if I have no errors.
In my IF i am trying to do a session.movefile(transfer.filename, target).
My target fails every single time.
I tried creating a string var and giving it a local path.
I tried @"c:\dir\*"
I tried "c:\\dir\\*"
I tried "c:/dir/*"
I tried "dir/*"
I tried "/dir/*"
With and with out the *...you get the idea. Side bit of info,
when ever i tried to plug in the source as in @"C:/dir?*" (or others...I'd always get "Element mv not found". So I figured if the transfer.filename worked I'd run with it.
Ok, back to teh issue at hand, the error I always get for the target is "path not found".
Any ideas?
Thanks