Re: mount_webdav broken
Re: mount_webdav broken
- Subject: Re: mount_webdav broken
- From: Andrew Pinski <email@hidden>
- Date: Wed, 28 Aug 2002 19:48:30 -0400
On Wednesday, Aug 28, 2002, at 18:39 US/Eastern, Steve Gehrman wrote:
Under Jaguar, mount_webdav still asks me for the user name and
password even though I'm supplying it with a file.
see mount_webdav for more information
Anyone get this working correctly?
How are you executing mount_webdav?
If it is by system, I do not think you can do that.
try this code (hit this was written in Mail):
pid_t newpid=fork();
int status;
switch(newpid)
{
case 0:
execl("/sbin/mount_webdav", "/sbin/mount_webdav", fd_str);
_exit(1);
break;
case -1:
error("fork was bad\n");
break;
}
waitpid(newpid, &status, 0);
if(WIFEXITED(status)==0)
{
error("errro mount_webdav returned %d\n", WEXITSTATUS(status));
}
Thanks,
Andrew Pinski
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.