- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP from Unix to Windows: The system cannot find t...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2007 06:58 AM
тАО10-31-2007 06:58 AM
FTP from Unix to Windows: The system cannot find the path specified.
Thanks.
$ ftp Server
Connected to server.
220 Server Microsoft FTP Service (Version 5.0).
Name (Server:NAME): login
331 Password required for login.
Password:
230 User login logged in.
Remote system type is Windows_NT.
ftp> asci
200 Type set to A.
ftp> ftp> put /home/path/file.txt
200 PORT command successful.
550 /home/path/file.txt: The system cannot find the path specified.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2007 07:05 AM
тАО10-31-2007 07:05 AM
Re: FTP from Unix to Windows: The system cannot find the path specified.
Use the pwd command to see where you are.
The ftp server likely has your account in chroot jail wheer /home is configured as root.
lcd is used to set the local directory from which to upload
After login try this:
lcd c:\temp (wherever the file is)
put file.txt
ls -la or ls should work in the ftp interface as well.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2007 07:54 AM
тАО10-31-2007 07:54 AM
Re: FTP from Unix to Windows: The system cannot find the path specified.
what a path like "/home/path/file.txt" means,
or is it looking for a path more like
"C:\home\path\file.txt"?
> Use the pwd command to see where you are.
Good idea.
> lcd c:\temp (wherever the file is)
Not such a good idea, when the FTP _client_
is on the UNIX system, and the _server_ is on
Windows. However, an appropriate LCD command
could be useful, for example:
lcd /home/path
put file.txt
as could a slightly more portable PUT, for
example:
put /home/path/file.txt file.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2007 08:20 AM
тАО10-31-2007 08:20 AM
Re: FTP from Unix to Windows: The system cannot find the path specified.
put /home/path/file.txt /home/path/file.txt
Doesn't make much sense to the destination computer since the slashes go the other way and /home (or \home) doesn't exist. You must specify exactly where you want the file to go *AND* the name. ftp will not accept a destination directory, only a filename, with or without a path.
So the error: The system cannot find the path specified.
came from Windows.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2007 08:23 AM
тАО10-31-2007 08:23 AM
Re: FTP from Unix to Windows: The system cannot find the path specified.
In the ftp job you can
lcd /home/path
put file.txt
OR
put /home/path/file.txt file.txt
Either checks out fine unix to windoze. As noted, on the windoze side the admin likely set up a default directory for the unix user to log into.
Now look at the perl versions of ftp to cover your error checking.
Regards,
-dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2007 03:17 PM
тАО10-31-2007 03:17 PM
Re: FTP from Unix to Windows: The system cannot find the path specified.
>
> Doesn't make much sense to the destination
> computer since the slashes go the other way
I wouldn't bet on it. Many non-UNIX FTP
servers accept a UNIX-like path
specification. Even HP's VMS FTP server,
which is pretty lame in many ways, can do it.
For the ultimate in RFC compliance, one
really should use a separate CD command for
every step in the hierarchy, but most servers
don't demand this.
> and /home (or \home) doesn't exist. [...]
Interesting. I have no idea what does or
does not exist on someone else's FTP server.