i'm trying to copy a file to a server, i need no special rights.
Copying via windows goes well, i can select a local file and drag it to the folder on the server. I even can delete it again.
Now i though't that revcopyfile does the same as windows does?
Well i tried revcopyfile, i tried put. but nothing works. i even checked the address with a folder check tool which is available via the examples or resources here and it's correct. it gives //serverblabal/folderblabla/
I open a file and put it into a global:
Code: Select all
global gPathS
on mouseUp
answer file "open file" with type "PDF document|pdf|PDF" or type "JPG document|jpg|JPG"
if it = empty then exit mouseup
put it into gPathS
end mouseUp
Code: Select all
global gPathS
on mouseUp
answer "gPathS = " & gPathS
put url("binfile:" & gPathS) into URL "binfile://serverblabla/folderblabla/" -------don't work
#put url("binfile:" & gPathS) into URL "binfile://serverblabla:8080/folderblabla/"--------don't work
#put gPathS into URL "binfile://serverblabla/folderblabla/"--------don't work
#put gPathS into URL "binfile://serverblabla:8080/folderblabla/"--------don't work
#put gPathS into URL ( "file://serverblabla/folderblabla/")------------i tried this, don't work
#revCopyFile gPathS,URL"binfile://eufrka203p/SampleShippingForms/" -------------don't work
#revCopyFile gPathS,URL"binfile://eufrka203p:8080/SampleShippingForms/"------------don't work
#revCopyFile gPathS,"//eufrka203p/SampleShippingForms/"------------don't work
answer "done"
end mouseUp
i don't get it anymore
Thanks a lot for helping me solve this.