Hi Guys,
I would appreciate some help in my age-long struggle to wsh (ftp upload) a
small file (access .mdb) to our remote web host...
It works great when I do the upload from the local drive.
BUT, when I try to upload the file from across the networked server machine
the script hanges WITHOUT generating an error with the cmd.exe line showing:
ftp> ftp> _
Now, I know from past experience that this could be permissions error. But,
If I check the SECURITY for the parent folder I see:
Adminsistrator
Authenticated
Everyone
G Cuadros
Full Contol = yes/ticked
Modify = yes
Read and execute = yes
etc
etc
INHERITABLE PERMISSIONS =yes = allow inheritable permissions is enabled and
ticked
Thus, what is causing the script to hange and not upload the file when I
attempt this across the network towards our remote web host....??
This has been an ongoing battle for me and I really need somebody
knowledgeable to help me get a handle on this.
I have posed my short, full . VBS code below:
'//----------------------------------------
set fso=createobject("scripting.filesystemobject")
set sll=createobject("wscript.shell")
set f=fso.createTextfile("c:\inetpub\wwwroot\catamaranco\upload\put.txt",
true)
with f
.writeline "open site.maximumasp.com"
.writeline "username"
.writeline "password"
.writeline "put F:\Mydocu~1\MARKETING\imagine\databases\Inquiry.mdb"
end with
sll.run "ftp -s:c:\inetpub\wwwroot\catamaranco\upload\put.txt", 1, true
f.close
That's it - but something is making it unstuck and I am receiving no error -
it just hanges towards the end with the cmd.exe remaining open.
I would appreciate your help in solving this problem.
- Jason