How to use fopen("ftp://....) with the VMS
Posted: Mon Oct 21, 2002 4:17 pm
Hi Folks,
I'm in deed to ftp some file periodically to one of our vms server and now stuck on not knowing how to specify the directory path on the fopen.
I tried
The place I stuck with is at not knowing how to specify the directory name of the vms server. As those who have worked on the VMS server know the dirctory naming comes like DISK$1:[logingname]
Could some one help me on how to do this ?
I tried the following
All of the above failed!
Any help would greatly be appreciated!
Thanx,
Sam
I'm in deed to ftp some file periodically to one of our vms server and now stuck on not knowing how to specify the directory path on the fopen.
I tried
Code: Select all
fopen("ftp://username:password@servernameDIRNAME");Could some one help me on how to do this ?
I tried the following
Code: Select all
fopen("ftp://username:password@servernameDISK\$1:їlogingname]file_name");
fopen("ftp://username:password@servername\$DISK\$1:їloginname]file_name");
fopen("ftp://username:password@servername\\DISK\$1:їloginname]file_name");Any help would greatly be appreciated!
Thanx,
Sam