Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

Gettinf files from a sourced environment.

Hi ..

I am working in a sourced environment. I want to copy certain files from a directory that I source into. I log onto a remote machine using rlogin and then into the code repository using . xyz1.0 for eg. Now in xyz1.0 there are source files and documentation files. I want to FTP these documentation files into local machine. I am using Windows 2000 and doing a remote session to Solaris machine. does anyone know how can i copy these files?

Thanks,
Dev.
0
dkamdar
Asked:
dkamdar
1 Solution
 
tfewsterCommented:
I see a few possibilities:

1) rlogin to Solaris, source the environment to get to the current directory, tar the files up and place the tar file in a fixed place (e.g. tar -cvf /tmp.mydocs.tar *.doc), exit back to Windows, rcp/ftp the tar file over and use WinZip to untar it.

2) rlogin to Solaris, source the environment to get to the current directory, create a link to the current directory  (e.g. ln -s `pwd` /tmp/mylink ), exit back to Windows and rcp/ftp the files individually using the link as the pathname  (e.g. rcp unixhost:/tmp/mylink/file1.doc .)

3) Extract the directory name from xyz1.0 and use that, somehow.

4) Set the Windows box up as an ftp or ssh server so that the files can be pushed from the Solaris box instead of pulled from Windows
0
 
yuzhCommented:
tfewster has given you good suggestion.

    You can use FTP client for Windows (eg, WS FTP, AceFTP):
    http://software.visicommedia.com/en/products/aceftpfreeware/
    http://www.thefreecountry.com/webmaster/freeftpclients.shtml

    But  FTP is not secure, most of the sysadms disable them (including me), you might
endup have to use secure shell/ftp client, here's a free one for Windows:
    http://www.chiark.greenend.org.uk/~sgtatham/putty/
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now