<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Need help in accessing FTp server operating on OpenVMS OS in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/need-help-in-accessing-ftp-server-operating-on-openvms-os/m-p/3919279#M11119</link>
    <description>Hi RadhaKrishnan,&lt;BR /&gt;&lt;BR /&gt;firstly, welcome to to Openvms itrc forum!&lt;BR /&gt;&lt;BR /&gt;If you are sure that MailFolder is a root directory,then you should try&lt;BR /&gt;[MailFolder.subfolder1.sub_subfolder1]desiredfile.txt&lt;BR /&gt;&lt;BR /&gt;If MailFolder is not a root directory, but the default (home) directory for the account, then try&lt;BR /&gt;&lt;BR /&gt;[.MailFolder.subfolder1.sub_subfolder1]desiredfile.txt&lt;BR /&gt;&lt;BR /&gt;If you were doing this interactively, then PWD would show the default directory for this account&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;&lt;BR /&gt;cd [.MailFolder.subfolder1.sub_subfolder1]&lt;BR /&gt;&lt;BR /&gt;would take you to the desired folder&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;BR /&gt;</description>
    <pubDate>Sun, 31 Dec 2006 09:05:57 GMT</pubDate>
    <dc:creator>Duncan Morris</dc:creator>
    <dc:date>2006-12-31T09:05:57Z</dc:date>
    <item>
      <title>Need help in accessing FTp server operating on OpenVMS OS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/need-help-in-accessing-ftp-server-operating-on-openvms-os/m-p/3919278#M11118</link>
      <description>Hi,&lt;BR /&gt;I am developing an application using Visual C++(Visual Studio 2005)&lt;BR /&gt;This application will basically connect to a FTP server which is operation on open VMS OS ,and fetch a files from there to do some business processing.&lt;BR /&gt;&lt;BR /&gt;the problem i am facing unable to traverse through folders to get the file&lt;BR /&gt;&lt;BR /&gt;if the file is readily available in the root directory, i am successfull in getting the file through my application .&lt;BR /&gt;&lt;BR /&gt;if it is kept inside a folder i dont know what delimiter i have to use in the program to distguish between the folder names &lt;BR /&gt;&lt;BR /&gt;if at all the server is running on windows Os &lt;BR /&gt;&lt;BR /&gt;I give file path as follows &lt;BR /&gt;&lt;BR /&gt;MailFolder\\subfolder1\\sub_subfolder1\\desired file.txt&lt;BR /&gt;&lt;BR /&gt;if I dont give this file path to the application, it looks for the file in the root directory that is MainFolder,else it will traverse through the path mentioned supplied and search the mentioned file in that path&lt;BR /&gt;&lt;BR /&gt;This method of mentioning the file path is not working when i am connecting to a FTP server which is running on the vms OS&lt;BR /&gt;&lt;BR /&gt;probably , what i m thinking is i am mentioning a wrong de-limiter between the folder names&lt;BR /&gt;&lt;BR /&gt;if some one know the solution please let me know&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks n regards&lt;BR /&gt;Radhakrishnan</description>
      <pubDate>Sun, 31 Dec 2006 06:15:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/need-help-in-accessing-ftp-server-operating-on-openvms-os/m-p/3919278#M11118</guid>
      <dc:creator>RadhaKrishnan_6</dc:creator>
      <dc:date>2006-12-31T06:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in accessing FTp server operating on OpenVMS OS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/need-help-in-accessing-ftp-server-operating-on-openvms-os/m-p/3919279#M11119</link>
      <description>Hi RadhaKrishnan,&lt;BR /&gt;&lt;BR /&gt;firstly, welcome to to Openvms itrc forum!&lt;BR /&gt;&lt;BR /&gt;If you are sure that MailFolder is a root directory,then you should try&lt;BR /&gt;[MailFolder.subfolder1.sub_subfolder1]desiredfile.txt&lt;BR /&gt;&lt;BR /&gt;If MailFolder is not a root directory, but the default (home) directory for the account, then try&lt;BR /&gt;&lt;BR /&gt;[.MailFolder.subfolder1.sub_subfolder1]desiredfile.txt&lt;BR /&gt;&lt;BR /&gt;If you were doing this interactively, then PWD would show the default directory for this account&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;&lt;BR /&gt;cd [.MailFolder.subfolder1.sub_subfolder1]&lt;BR /&gt;&lt;BR /&gt;would take you to the desired folder&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;BR /&gt;</description>
      <pubDate>Sun, 31 Dec 2006 09:05:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/need-help-in-accessing-ftp-server-operating-on-openvms-os/m-p/3919279#M11119</guid>
      <dc:creator>Duncan Morris</dc:creator>
      <dc:date>2006-12-31T09:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in accessing FTp server operating on OpenVMS OS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/need-help-in-accessing-ftp-server-operating-on-openvms-os/m-p/3919280#M11120</link>
      <description>Anonymous FTP or using a real user name?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I give file path [...]&lt;BR /&gt;&lt;BR /&gt;That's to _your_ application, not to the FTP&lt;BR /&gt;server, right?  (_Two_ backslashes?)&lt;BR /&gt;&lt;BR /&gt;Can I assume that by "root directory" you&lt;BR /&gt;mean the initial default directory for the&lt;BR /&gt;user?  Do you ever need to get a file from&lt;BR /&gt;some other disk/directory, or will the file&lt;BR /&gt;always be under the user's home directory&lt;BR /&gt;(SYS$LOGIN on VMS)?&lt;BR /&gt;&lt;BR /&gt;Which VMS FTP server?  There are several&lt;BR /&gt;different ones available, and they don't all&lt;BR /&gt;behave exactly the same.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] else it will traverse through the&lt;BR /&gt;&amp;gt; path [...]&lt;BR /&gt;&lt;BR /&gt;How, exactly, does your program do this?  You&lt;BR /&gt;could use one CWD command or multiple CWD&lt;BR /&gt;commands.  (If one, you can use either a&lt;BR /&gt;natural VMS format or a UNIX format with all&lt;BR /&gt;the modern VMS FTP servers I've tried.)&lt;BR /&gt;&lt;BR /&gt;Safest:&lt;BR /&gt;CWD MailFolder&lt;BR /&gt;CWD subfolder1&lt;BR /&gt;CWD sub_subfolder1&lt;BR /&gt;RETR desired_file.txt&lt;BR /&gt;&lt;BR /&gt;Simpler (VMS-like):&lt;BR /&gt;CWD [.MailFolder.subfolder1.sub_subfolder1]&lt;BR /&gt;RETR desired_file.txt&lt;BR /&gt;&lt;BR /&gt;Simpler (UNIX-like):&lt;BR /&gt;CWD MailFolder/subfolder1/sub_subfolder1&lt;BR /&gt;RETR desired_file.txt&lt;BR /&gt;(This one may cause complications with some&lt;BR /&gt;VMS FTP servers.)&lt;BR /&gt;&lt;BR /&gt;Are you getting one file from one directory,&lt;BR /&gt;or multiple files from one directory, or&lt;BR /&gt;multiple files from multiple directories?&lt;BR /&gt;&lt;BR /&gt;For example C code which works, try:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://antinode.org/dec/sw/wget.html" target="_blank"&gt;http://antinode.org/dec/sw/wget.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;or, probably:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://curl.haxx.se/" target="_blank"&gt;http://curl.haxx.se/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(but I know less about that program).&lt;BR /&gt;&lt;BR /&gt;Writing a good FTP client is not trivial.  If&lt;BR /&gt;possible, I'd try to use an existing, working&lt;BR /&gt;program/library like wget or curl/libcurl.&lt;BR /&gt;(But I don't use Visual Anything, and I don't&lt;BR /&gt;know how easy that would be.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] the solution [...]&lt;BR /&gt;&lt;BR /&gt;There's almost never "the solution", and&lt;BR /&gt;there's usually not even one best solution.&lt;BR /&gt;solution.</description>
      <pubDate>Sun, 31 Dec 2006 10:45:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/need-help-in-accessing-ftp-server-operating-on-openvms-os/m-p/3919280#M11120</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-12-31T10:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in accessing FTp server operating on OpenVMS OS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/need-help-in-accessing-ftp-server-operating-on-openvms-os/m-p/3919281#M11121</link>
      <description>Hi &lt;BR /&gt;Thanks for every one who has replied to my question&lt;BR /&gt;But i am sorry ,that i am not clear with the explanations&lt;BR /&gt;&lt;BR /&gt;hope i am also not clear the way i explained you the problem, let me explain once again&lt;BR /&gt;&lt;BR /&gt;first of all what i ment by root directory is&lt;BR /&gt;the home folder which is shown to the user when he login to a FTP server, so i dont have any problem in getting the files from this folder&lt;BR /&gt;&lt;BR /&gt;let us assume that there is one more folder named SUB_FOLDER inside the HOME_FOLDER and inside that there is a File named DESIERED_FILE.txt&lt;BR /&gt;&lt;BR /&gt;please help show me the way to retrive this file through an application</description>
      <pubDate>Mon, 01 Jan 2007 23:11:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/need-help-in-accessing-ftp-server-operating-on-openvms-os/m-p/3919281#M11121</guid>
      <dc:creator>RadhaKrishnan_6</dc:creator>
      <dc:date>2007-01-01T23:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in accessing FTp server operating on OpenVMS OS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/need-help-in-accessing-ftp-server-operating-on-openvms-os/m-p/3919282#M11122</link>
      <description>So far, you've gotten two answers.  Where's&lt;BR /&gt;the mystery?&lt;BR /&gt;&lt;BR /&gt;I asked several questions, and got no answers. &lt;BR /&gt;You also haven't shown what you are doing now&lt;BR /&gt;which doesn't work, so it's not easy to say&lt;BR /&gt;what you should change.&lt;BR /&gt;&lt;BR /&gt;I'd probably do something like this:&lt;BR /&gt;&lt;BR /&gt;#include &lt;STDLIB.H&gt;&lt;BR /&gt;&lt;BR /&gt;int status;&lt;BR /&gt;&lt;BR /&gt;status = system( "wget ftp://user:pass@server/SUB_FOLDER/DESIERED_FILE.txt");&lt;BR /&gt;&lt;BR /&gt;but I have wget installed on my systems.&lt;/STDLIB.H&gt;</description>
      <pubDate>Tue, 02 Jan 2007 02:30:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/need-help-in-accessing-ftp-server-operating-on-openvms-os/m-p/3919282#M11122</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-01-02T02:30:26Z</dc:date>
    </item>
  </channel>
</rss>

